Windows에서 ActivePython 3.1.2를 사용하여 distribute을 설치하려고합니다. 치즈 가게에 설명Howto는 Python 3 배포판을 설치합니다.
줘 python distribute_setup.py
실행 :
No setuptools distribution found
running install
Traceback (most recent call last):
File "setup.py", line 177, in
scripts = scripts,
File "C:\Dev\Python_x86\3.1\lib\distutils\core.py", line 149, in setup
dist.run_commands()
File "C:\Dev\Python_x86\3.1\lib\distutils\dist.py", line 919, in run_commands
self.run_command(cmd)
File "C:\Dev\Python_x86\3.1\lib\distutils\dist.py", line 938, in run_command
cmd_obj.run()
File "build\src\setuptools\command\install.py", line 73, in run
self.do_egg_install()
File "build\src\setuptools\command\install.py", line 82, in do_egg_install
easy_install = self.distribution.get_command_class('easy_install')
File "build\src\setuptools\dist.py", line 361, in get_command_class
self.cmdclass[command] = cmdclass = ep.load()
File "build\src\pkg_resources.py", line 1953, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "build\src\setuptools\command\easy_install.py", line 16, in
from setuptools.sandbox import run_setup
File "build\src\setuptools\sandbox.py", line 164, in
fromlist=['name']).file)
AttributeError: 'module' object has no attribute 'file'
Something went wrong during the installation.
See the error message above.
아마도 내가 부족 알 수없는 의존성이 있습니까?
소스 tarball을 다운로드하고 python setup.py install
을 실행하면 똑같은 출력이 생성됩니다.
편집 : 설치 프로그램을 실행하기위한 전체 스택 추적을 추가했습니다.
* 같은 오류가 나타날 수도 있지만 전체 스택 추적을 할 수 있습니까? –
예, 이미 시도했지만 동일한 오류가 발생합니다. 도움이 될만한 질문이 있으면 전체 스택 추적을 추가하겠습니다. – csnullptr
스택 추적 해 주셔서 감사합니다 ... 나는 그것을보고 있었고 이미 설치된 가상 머신에 Python3을 설치하려고했습니다. 이것은 python.org에서 깨끗한 Python3 사본입니다. 설치가 정상적으로 진행되었으며, 현재 Active Python과 이미 테스트 된 것의 차이점을 테스트하고 있습니다. –