시스템 수준의 Python 3.3.3 설치가 있고 다중 버전의 일부로/usr/local/python33의 사용자 공간에 설치를 설정하고 싶습니다 virtualenv 유형 설정. 필자는 디렉토리를 만들었고 easy_install과 pip (시스템 레벨 설치에서 easy_install-3.3과 pip-3.3으로 사용)를 사용하여 파이썬 3.3.3의 복사본을 설치하려고 시도했습니다. 기쁨이 없습니다. 두 시도의 로그가 아래에 나와 있습니다. 나는 이것이 간단 할 것으로 생각했지만 내 자신감은 깃발을 꽂는다면.여러 개의 Python 설치 - easy_install과 pip 실패 모두
easy_install을
easy_install-3.3 --install-dir="/usr/local/python33" python==3.3.3
Creating /usr/local/python33/site.py
Searching for python==3.3.3
Reading https://pypi.python.org/simple/python/
Reading http://www.python.org
Reading http://www.python.org/2.3
Reading http://www.python.org/2.4
Reading http://www.python.org/2.4.1
Reading http://www.python.org/2.5
Reading http://www.python.org/download/
Best match: Python 3.3.3
Downloading http://www.python.org/ftp/python/3.3.3/Python-3.3.3.tgz
Processing Python-3.3.3.tgz
Writing /var/folders/l0/14nc8kh968l6kqp86s5ddxph0000gn/T/easy_install-3cjpwy/Python-3.3.3/setup.cfg
Running Python-3.3.3/setup.py -q bdist_egg --dist-dir /var/folders/l0/14nc8kh968l6kqp86s5ddxph0000gn/T/easy_install-3cjpwy/Python-3.3.3/egg-dist-tmp-3me0es
error: Setup script exited with error: Modules/Setup: No such file or directory
PIP
PIP-3.3는 잠재적으로 안전하지 않은 및 확인 불가능한 파일을 설치하는 3.3.3
/usr/지방/python33 파이썬 == --target 설치합니다. 이후 버전의 pip는 기본적으로 안전하지 않은 파일을 허용하지 않습니다.
Downloading from URL http://www.python.org/ftp/python/3.3.3/Python-3.3.3.tgz (from http://www.python.org/download/)
Running setup.py egg_info for package python
running egg_info
creating pip-egg-info/Python.egg-info
writing dependency_links to pip-egg-info/Python.egg-info/dependency_links.txt
writing top-level names to pip-egg-info/Python.egg-info/top_level.txt
writing pip-egg-info/Python.egg-info/PKG-INFO
writing manifest file 'pip-egg-info/Python.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info/Python.egg-info/SOURCES.txt'
writing manifest file 'pip-egg-info/Python.egg-info/SOURCES.txt'
Source in /private/var/folders/l0/14nc8kh968l6kqp86s5ddxph0000gn/T/pip_build_tipton/python has version 3.3.3, which satisfies requirement python==3.3.3
Installing collected packages: python
Running setup.py install for python
Running command /Library/Frameworks/Python.framework/Versions/3.3/bin/python3.3 -c "import setuptools;__file__='/private/var/folders/l0/14nc8kh968l6kqp86s5ddxph0000gn/T/pip_build_tipton/python/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/l0/14nc8kh968l6kqp86s5ddxph0000gn/T/pip-x_pk9r-record/install-record.txt --single-version-externally-managed --home=/var/folders/l0/14nc8kh968l6kqp86s5ddxph0000gn/T/tmpf4gi0e
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: option --single-version-externally-managed not recognized
실제로 사용하는 명령은 무엇입니까? –
실제 명령은 다음 질문에 표시됩니다. easy_install-3.3 --install-dir = "/ usr/local/python33"python == 3.3.3 및 pip-3.3 install --target/usr/local/python33 python == 3.3.3. – user96