Skip to content

Instantly share code, notes, and snippets.

@mgedmin
Created May 27, 2015 11:04
Show Gist options
  • Save mgedmin/6339f8cf91f74e84026c to your computer and use it in GitHub Desktop.
Save mgedmin/6339f8cf91f74e84026c to your computer and use it in GitHub Desktop.
virtualenv 13.0.1 fails with python3.5
mg@platonas: ~ $ virtualenv -p ~/python3.5/bin/python3.5 /tmp/wtf
Running virtualenv with interpreter /home/mg/python3.5/bin/python3.5
Traceback (most recent call last):
File "/home/mg/.venv/lib/python2.7/site-packages/enum/__init__.py", line 371, in __getattr__
return cls._member_map_[name]
KeyError: '_convert'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/mg/.venv/local/lib/python2.7/site-packages/virtualenv.py", line 23, in <module>
import subprocess
File "/home/mg/python3.5/lib/python3.5/subprocess.py", line 364, in <module>
import signal
File "/home/mg/python3.5/lib/python3.5/signal.py", line 8, in <module>
_IntEnum._convert(
File "/home/mg/.venv/lib/python2.7/site-packages/enum/__init__.py", line 373, in __getattr__
raise AttributeError(name)
AttributeError: _convert
[exited with 1]
@mgedmin
Copy link
Author

mgedmin commented May 27, 2015

@srujanaputtreddy
Copy link

pip uninstall enum34 worked for me!

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