Skip to content

Instantly share code, notes, and snippets.

@dhutty
Created October 27, 2016 18:46
Show Gist options
  • Save dhutty/19acd6b6634058325c7982421c5488a3 to your computer and use it in GitHub Desktop.
Save dhutty/19acd6b6634058325c7982421c5488a3 to your computer and use it in GitHub Desktop.
virtualenv -p python3.4 venv3
Running virtualenv with interpreter /bin/python3.4
Using base prefix '/usr'
New python executable in venv3/bin/python3.4
Also creating executable in venv3/bin/python
Failed to import the site module
Traceback (most recent call last):
File "/home/admin/venv3/lib64/python3.4/site.py", line 67, in <module>
import os
File "/home/admin/venv3/lib64/python3.4/os.py", line 616, in <module>
from _collections_abc import MutableMapping
ImportError: No module named '_collections_abc'
ERROR: The executable venv3/bin/python3.4 is not functioning
ERROR: It thinks sys.prefix is '/home/admin' (should be '/home/admin/venv3')
ERROR: virtualenv is not compatible with this system or executable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment