-
- Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
I'm having trouble getting virtualenv to work with python 3.4a1. It's entirely possible this has something to do with my setup, although I don't think I have anything unusual installed. It does work with 2.6-3.3.
hubert:tmp$ uname -a
Darwin hubert.local 12.4.0 Darwin Kernel Version 12.4.0: Wed May 1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64
hubert:~$ virtualenv --version
1.10.1
hubert:tmp$ which python3.4
/usr/local/bin/python3.4
hubert:tmp$ python3.4 --version
Python 3.4.0a1
hubert:tmp$ virtualenv --python=/usr/local/bin/python3.4 testenv34
Running virtualenv with interpreter /usr/local/bin/python3.4
Using base prefix '/Library/Frameworks/Python.framework/Versions/3.4'
New python executable in testenv34/bin/python3.4
Also creating executable in testenv34/bin/python
Failed to import the site module
Traceback (most recent call last):
File "/private/tmp/testenv34/bin/../lib/python3.4/site.py", line 703, in
main()
File "/private/tmp/testenv34/bin/../lib/python3.4/site.py", line 670, in main
virtual_install_main_packages()
File "/private/tmp/testenv34/bin/../lib/python3.4/site.py", line 553, in virtual_install_main_packages
f = open(os.path.join(os.path.dirname(file), 'orig-prefix.txt'))
File "/private/tmp/testenv34/bin/../lib/python3.4/locale.py", line 17, in
import re
File "/private/tmp/testenv34/bin/../lib/python3.4/re.py", line 124, in
import functools
File "/private/tmp/testenv34/bin/../lib/python3.4/functools.py", line 21, in
from collections import namedtuple
File "/private/tmp/testenv34/bin/../lib/python3.4/collections/init.py", line 8, in
all += collections.abc.all
AttributeError: 'module' object has no attribute 'abc'
ERROR: The executable testenv34/bin/python3.4 is not functioning
ERROR: It thinks sys.prefix is '/private/tmp' (should be '/private/tmp/testenv34')
ERROR: virtualenv is not compatible with this system or executable