Я пытаюсь установить Python Fabric на Windows 7 с помощью руководства от Getting Python and Fabric Installed on Windows.Проблемы с установкой Python Fabric на Windows 7
Что я сделал до сих пор:
- Установленная Python 2.7 в C: \ python27
- Добавлен в Python-каталогов и Python/Scripts к Windows, System Paths
- Установленные SetupTools
- Installed MinGW
- Добавлен MinGW-Directory на системный путь
- Modified the distutils.cfg в соответствии с MinGW-Path
Это, казалось, работало нормально до сих пор. Когда я пытаюсь установить Fabric через easy_install Fabric
, он начинает загружать файлы, но затем я получаю chmod error
.
Using c:\python27\lib\site-packages\fabric-1.3.4-py2.7.egg
Processing dependencies for fabric
Searching for pycrypto>=2.1,!=2.4
Reading http://pypi.python.org/simple/pycrypto/
Reading http://pycrypto.sourceforge.net
Reading http://www.amk.ca/python/code/crypto
Reading http://www.pycrypto.org/
Best match: pycrypto 2.5
Downloading http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.5.tar.gz
Processing pycrypto-2.5.tar.gz
Running pycrypto-2.5\setup.py -q bdist_egg --dist-dir c:\users\birgit\appdata\local\temp\easy_install-nzrlow\pycrypto-2.5\egg-dist-tmp-_pwkm4
The command "chmod" is spelled wrong or could not be found.
Traceback (most recent call last):
File "C:\Python27\Scripts\easy_install-script.py", line 8, in <module> load_entry_point('setuptools==0.6c12dev-r88846', 'console_scripts', 'easy_install')()
File "C:\Python27\lib\site-packages\setuptools-0.6c12dev_r88846-py2.7.egg\setuptools\command\easy_install.py", line 1712, in main
... lots and lots of lines... (if they are relevant, I'll post them)
File "C:\Python27\lib\distutils\dist.py", line 972, in run_command cmd_obj.run()
File "setup.py", line 269, in run
RuntimeError: chmod error
Любые предложения по решению проблемы?
вы пробовали бинарный инсталлятор с неофициального Windows, наборов для пакетов Python Extension: [распределение Base может содержать ткань] (HTTP: // WWW .lfd.uci.edu/~ gohlke/pythonlibs /). – jfs
Неофициальные Windows Binaries помогли решить описанную Проблему! Спасибо! – DIF
У меня такая же проблема с PyCrypto, и я решил ее снова, используя [двоичный установщик] (http://www.voidspace.org.uk/python/modules.shtml#pycrypto), как было предложено в [этом вопросе] (http: //stackoverflow.com/questions/1687283/why-cant-i-just-install-the-pycrypto) - и теперь, наконец, я могу запустить скрипты Python Fabric! – DIF