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

Unable to activate virtualenv #549

Closed
kevbradwick opened this Issue Sep 14, 2017 · 4 comments

Comments

Projects
None yet
2 participants
@kevbradwick

kevbradwick commented Sep 14, 2017

On a Mac, when running pipenv run python, the following error occurs

pipenv run python -V
Warning: There was an unexpected error while activating your virtualenv. Continuing anyway…
Python 3.6.1

It appears to be down to when pipenv is attempting to activate the virtualenv https://github.com/kennethreitz/pipenv/blob/master/pipenv/cli.py#L1549. When printing out the exception message, I get;

[Errno 2] No such file or directory: '"/Users/kevinbradwick/.local/share/virtualenvs/nltk-ZIngsREP/bin/activate_this.py"'

The entire path is quoted in double quotes, which of course, is not part of the path hence it failing to open.

@kennethreitz

This comment has been minimized.

Show comment
Hide comment
@kennethreitz

kennethreitz Sep 14, 2017

Contributor

thanks, will fix asap

Contributor

kennethreitz commented Sep 14, 2017

thanks, will fix asap

@kennethreitz

This comment has been minimized.

Show comment
Hide comment
@kennethreitz

kennethreitz Sep 14, 2017

Contributor

7.0.4 is out, which should fix this.

Contributor

kennethreitz commented Sep 14, 2017

7.0.4 is out, which should fix this.

@kennethreitz

This comment has been minimized.

Show comment
Hide comment
@kennethreitz

kennethreitz Sep 14, 2017

Contributor

sorry about the bug!

Contributor

kennethreitz commented Sep 14, 2017

sorry about the bug!

@kevbradwick

This comment has been minimized.

Show comment
Hide comment
@kevbradwick

kevbradwick Sep 14, 2017

awesome yeah, that's fixed it! thank you for building great tools!

kevbradwick commented Sep 14, 2017

awesome yeah, that's fixed it! thank you for building great tools!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment