Getting Python and Fabric Installed on Windowsのガイドを使用してWindows 7にPython Fabricをインストールしようとしています。私はこれまでやったWindows 7でPython Fabricをインストールする際の問題
:Cへ
- インストールPython 2.7:\ Python27
- 追加MinGWをインストールSetupTools
- をインストールされたWindowsシステムのパス
- へのPython、ディレクトリやPython /スクリプト
- MinGW-Directoryをシステムパスに追加しました
- Modified the distutils.cfgはMinGW-Pathと一致するようにしました。
これまでのところうまくいきました。 easy_install Fabric
経由で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
問題を解決するための任意の提案はありますか?
をインストール」virtualenvのとは
4.Activateは、』あなたは、Python拡張パッケージのための非公式のWindowsバイナリからバイナリインストーラを試してみました:[ベースの配布はファブリックが含まれていてもよい](のhttp:// WWW .lfd.uci.edu /〜gohlke/pythonlibs /)。 – jfs
非公式のWindowsバイナリは説明した問題を解決する助け!ありがとうございました! – DIF
[この質問](HTTPで提案されているように、私はPyCryptoと同じ問題を持って、[バイナリインストーラ](http://www.voidspace.org.uk/python/modules.shtml#pycrypto)を使用して、再びそれを解決しました。 //stackoverflow.com/questions/1687283/why-cant-i-just-install-the-pycrypto) - と、今最終的に私は、Pythonファブリックスクリプトを実行することができますよ! – DIF