-
-
Notifications
You must be signed in to change notification settings - Fork 774
tb when using Python3 venv #406
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
Comments
Quick fix for now by copying |
Would indeed be nice with a fix. |
+1 here. The thing is, when the virtualenv is activated and you run vim in it, you should already be in the virtualenv and so would one really need to run activate_this? |
+1 |
+1 |
This also seems to be a problem using python 2 if you use Enthought's canopy. Canopy uses a backport of venv: Using enthought's canopy, I get:
|
+1 |
4 similar comments
+1 |
+1 |
+1 |
+1 |
please, fix it :) |
+1 |
I second this issue very much. |
+1 |
1 similar comment
+1 |
+1 Or else python 3 is pretty much broken. |
+1 |
#609 did the trick for me on Neovim, vim +python3 and also preserves python 2 completion. |
Fix `activate_this.py` does not exist, #406
I have also encountered this problem.
and then, reactive the virtual environment. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closed due to inactivity. |
Using python-mode within a python 3 virtualenv has an issue:
% vim
Error detected while processing /Users/speno/.vimrc:
line 224:
Traceback (most recent call last):
File "", line 8, in
IOError: [Errno 2] No such file or directory: '/Users/speno/Documents/venvs/
pika/bin/activate_this.py'
It's true. The virtualenvs created using python3's pyvenv command do not have a bin/activate_this.py file.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: