1. Doug Hellmann
  2. virtualenvwrapper.tmpenv
  3. Issues
Issue #1 resolved

Install does not make mktmpenv command available

Steve Holden
created an issue

Installed virtualenvwraper.mktmp, but no "mktmpenv" command is available. Running under MacOS X with Python 2.7. Install output follows:

{{{

!shell

(testevb)airhead:packaginator sholden$ pip freeze distribute==0.6.15 eventbrite==0.20-beta gunicorn==0.12.1 shpaml==1.00b virtualenv==1.6 virtualenvwrapper==2.7 wsgiref==0.1.2 xlrd==0.7.1 (testevb)airhead:packaginator sholden$ pip install virtualenvwrapper.tmpenv Downloading/unpacking virtualenvwrapper.tmpenv Downloading virtualenvwrapper.tmpenv-1.0.tar.gz (69Kb): 69Kb downloaded Running setup.py egg_info for package virtualenvwrapper.tmpenv

WARNING: virtualenvwrapper is a namespace package, but its __init__.py does
not declare_namespace(); setuptools 0.7 will REQUIRE this!
(See the setuptools manual under "Namespace Packages" for details.)

Requirement already satisfied (use --upgrade to upgrade): virtualenv in /Users/sholden/.virtualenvs/testevb/lib/python2.7/site-packages (from virtualenvwrapper.tmpenv) Requirement already satisfied (use --upgrade to upgrade): virtualenvwrapper in /Users/sholden/.virtualenvs/testevb/lib/python2.7/site-packages (from virtualenvwrapper.tmpenv) Installing collected packages: virtualenvwrapper.tmpenv Running setup.py install for virtualenvwrapper.tmpenv WARNING: virtualenvwrapper is a namespace package, but its init.py does not declare_namespace(); setuptools 0.7 will REQUIRE this! (See the setuptools manual under "Namespace Packages" for details.)

Skipping installation of /Users/sholden/.virtualenvs/testevb/lib/python2.7/site-packages/virtualenvwrapper/__init__.py (namespace package)
Installing /Users/sholden/.virtualenvs/testevb/lib/python2.7/site-packages/virtualenvwrapper.tmpenv-1.0-py2.7-nspkg.pth

Successfully installed virtualenvwrapper.tmpenv Cleaning up... (testevb)airhead:packaginator sholden$ mktmpenv something -bash: mktmpenv: command not found (testevb)airhead:packaginator sholden$ locate mktmpenv (testevb)airhead:packaginator sholden$ sudo find / -name *mktmpenv* Password: (testevb)airhead:packaginator sholden$ }}}

Did I do something wrong?

Comments (3)

  1. Doug Hellmann repo owner

    I am pretty sure that the only step you missed was restarting your shell (or re-sourcing virtualenvwrapper.sh).

    As with most of the virtualenvwrapper commands, "mktmpenv" is actually a shell function, not a separate script or command line app. They are implemented that way because many of them modify the current shell environment settings, and you can't do that from a child process.

    Let me know if starting a new shell doesn't give you a mktmpenv command.

  2. Log in to comment