Issue #115 resolved

Virtualenvwrapper 2.10 missing on pypi

created an issue

hello hello, just writing in to report that when I installed virtualenvwrapper on pip it didn't appear to have a file in its site-packages directory, causing all of the hooks to fail.



jorelli@Warwick-2[0] ~: sudo pip install -q virtualenvwrapper jorelli@Warwick-2[0] ~: python -c 'import virtualenvwrapper' Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named virtualenvwrapper jorelli@Warwick-2[0] ~: sudo touch /Library/Python/2.6/site-packages/virtualenvwrapper/ jorelli@Warwick-2[0] ~: python -c 'import virtualenvwrapper' jorelli@Warwick-2[0] ~:


Comments (5)

  1. Doug Hellmann repo owner

    virtualenvwrapper is a namespace package, so it doesn't need an Did you get an error from the hook loader or one of the wrapper shell commands?

  2. jordanorelli reporter

    The shell command hit a Python error of "no module virtualenvwrapper.hook_loader", but when I added a blank in the virtualenvwrapper directory it started to work. It got caught in /usr/local/bin/ on line 223, inside of virtualenvwrapper_initialize when attempting to execute virtualenvwrapper_run_hook "initialize". I also tried importing the module directly and I saw the same error, immediately after installing it via pip to my system-wide environment.

  3. Doug Hellmann repo owner

    What version of python and what version of virtualenvwrapper? What OS? Were there any other versions of virtualenvwrapper installed previously? Do you have VIRTUALENVWRAPPER_PYTHON set or are you using the default?

  4. jordanorelli reporter

    2.6.4 and 2.10, respectively, on OS X 10.6.8. It's highly possible that I did install it before, because I know when I was starting Python I tried it and didn't really "get it" so I uninstalled it. I did not have VIRTUALENVWRAPPER_PYTHON set; I was using the default. It's working fine now. I installed it on a few Linux machines and didn't ever see this problem again, so it seems to be specific to people with crufty Macs ^_^

  5. Log in to comment