You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use py27-virtualenv in a [email protected] image, generating a virtualenv has the following errors:
IOError: [Errno 2] No such file or directory: '/opt/local/bin/i86/python2.7'
IOError: [Errno 2] No such file or directory: '/opt/local/bin/amd64/python2.7'
After creating symlinks from i86 and amd64 in /opt/local/bin to itself it works.
[root@graphite /opt]# virtualenv --system-site-packages graphite
New python executable in /opt/graphite/bin/python2.7
Traceback (most recent call last):
File "/opt/local/bin/virtualenv-2.7", line 11, in <module>
load_entry_point('virtualenv==15.1.0', 'console_scripts', 'virtualenv')()
File "/opt/local/lib/python2.7/site-packages/virtualenv.py", line 713, in main
symlink=options.symlink)
File "/opt/local/lib/python2.7/site-packages/virtualenv.py", line 925, in create_environment
site_packages=site_packages, clear=clear, symlink=symlink))
File "/opt/local/lib/python2.7/site-packages/virtualenv.py", line 1245, in install_python
shutil.copyfile(executable32, py_executable32)
File "/opt/local/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/opt/local/bin/i86/python2.7'
[root@graphite /opt]# cd /opt/local/bin
[root@graphite /opt/local/bin]# ln -s . i86
[root@graphite /opt/local/bin]# cd -
/opt
[root@graphite /opt]# virtualenv --system-site-packages graphite
New python executable in /opt/graphite/bin/python2.7
Traceback (most recent call last):
File "/opt/local/bin/virtualenv-2.7", line 11, in <module>
load_entry_point('virtualenv==15.1.0', 'console_scripts', 'virtualenv')()
File "/opt/local/lib/python2.7/site-packages/virtualenv.py", line 713, in main
symlink=options.symlink)
File "/opt/local/lib/python2.7/site-packages/virtualenv.py", line 925, in create_environment
site_packages=site_packages, clear=clear, symlink=symlink))
File "/opt/local/lib/python2.7/site-packages/virtualenv.py", line 1246, in install_python
shutil.copyfile(executable64, py_executable64)
File "/opt/local/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/opt/local/bin/amd64/python2.7'
[root@graphite /opt]# cd -
/opt/local/bin
[root@graphite /opt/local/bin]# ln -s . amd64
[root@graphite /opt/local/bin]# cd -
/opt
[root@graphite /opt]# virtualenv --system-site-packages graphite
New python executable in /opt/graphite/bin/python2.7
Also creating executable in /opt/graphite/bin/python
Installing setuptools, pip, wheel...done.
The text was updated successfully, but these errors were encountered:
Sorry about that, I've fixed this in 2016Q4, however you'll need to remove the package and re-install it, as it's still the same release version as trunk so we can't bump the revision.
Trying to use py27-virtualenv in a [email protected] image, generating a virtualenv has the following errors:
IOError: [Errno 2] No such file or directory: '/opt/local/bin/i86/python2.7'
IOError: [Errno 2] No such file or directory: '/opt/local/bin/amd64/python2.7'
After creating symlinks from
i86
andamd64
in/opt/local/bin
to itself it works.The text was updated successfully, but these errors were encountered: