Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install/activation fails if virtualenvwrapper is installed globally #45

Open
thomasf opened this issue Dec 10, 2013 · 6 comments
Open
Labels

Comments

@thomasf
Copy link

thomasf commented Dec 10, 2013

this happens:

Requirement already satisfied (use --upgrade to upgrade): virtualenv in /usr/local/lib/python2.7/dist-packages (from virtualenvwrapper==4.1.1)
Requirement already satisfied (use --upgrade to upgrade): virtualenv-clone in /usr/local/lib/python2.7/dist-packages (from virtualenvwrapper==4.1.1)
Requirement already satisfied (use --upgrade to upgrade): stevedore in /usr/local/lib/python2.7/dist-packages (from virtualenvwrapper==4.1.1)
Requirement already satisfied (use --upgrade to upgrade): distribute in /home/thomasf/.venvburrito/lib/python/distribute-0.6.49-py2.7.egg (from stevedore->virtualenvwrapper==4.1.1)

Which makes this not happen:
. $HOME/.venvburrito/bin/virtualenvwrapper.sh

@glyphobet
Copy link
Collaborator

From the readme:

This simple script is meant for people who do not have virtualenv installed.

@thomasf
Copy link
Author

thomasf commented Dec 10, 2013

I know. Someone else installed it on a shared system and a few strange things started to happen.. Could I submit a patch that ignores system wide installed packages to make this more predictable?

@thomasf thomasf closed this as completed Dec 10, 2013
@thomasf thomasf reopened this Dec 10, 2013
@thomasf
Copy link
Author

thomasf commented Dec 10, 2013

Because sometimes a global install on a shared isnt as up to date as a homedir install

@glyphobet
Copy link
Collaborator

I'm not even sure how you would accomplish ignoring systemwide packages when virtualenv-burrito is being installed, but if you have an idea, then sure, let's see a patch.

@mscook
Copy link

mscook commented Jan 7, 2014

With a system wide install of virtualenvwrapper.sh, ~/.venvburrito/bin/virtualenvwrapper.sh is not present and sourcing post install fails. A symbolic link to the global install fixes this.

@lukecampbell
Copy link

I worked around this by just making a symlink to the virtualenvwrapper.sh

cd .virtualenvburrito/bin/
ln -s `which virtualenvwrapper.sh`

Edit: Sorry didn't read the last sentence of the comment above this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants