我已经从Linux Mint的源代码编译了Python 3.4,但由于某种原因它没有复制pip到它的最终编译文件夹(之后make install).
有任何想法吗?
简而言之,我的问题是,当我尝试使用virtualenvwrapper中的mkvirtualenv创建virtualenv时,我收到以下错误:
$ mkvirtualenv test
New python executable in test/bin/python
ERROR: The executable test/bin/python could not be run: [Errno 13] Permission denied
Run Code Online (Sandbox Code Playgroud)
但是,当我查看二进制文件的权限时,据我所知,一切都应该没问题......
$ ll ~/.virtualenvs/test/bin
total 2604
drwxr-xr-x 1 (username) staff 5 Feb 7 19:10 ./
drwxr-xr-x 1 (username) staff 5 Feb 7 18:51 ../
-rwxr-xr-x 1 (username) staff 2655776 Feb 7 19:10 python*
lrwxrwxrwx 1 (username) staff 6 Feb 7 19:10 python2 -> python*
lrwxrwxrwx 1 (username) staff 6 Feb 7 19:10 python2.7 -> python*
Run Code Online (Sandbox Code Playgroud)
当我尝试以root身份运行时,我收到类似的错误:
$ sudo .virtualenvs/test/bin/python …Run Code Online (Sandbox Code Playgroud) permissions virtualenv virtualenvwrapper python-2.7 ubuntu-12.10
compilation ×1
permissions ×1
pip ×1
python ×1
python-2.7 ×1
python-3.4 ×1
ubuntu-12.10 ×1
virtualenv ×1