Articles of 易于安装

PIL安装失败:stdarg.h

可能重复: 使用更新的Python 2.6.2在Snow Leopard上安装Python Imaging Library(PIL) Runing MAC 10.7.2在尝试安装PIL时,在解决了许多gcc问题之后,安装程序退出: /Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h:4:25:error:stdarg.h:No such file or directory 我正在使用这一行进行安装: env ARCHFLAGS="-arch i386 -arch x86_64" easy_install PIL 全部输出: 警告:“不是有效的软件包名称; 请在setup.py中使用only.-separated软件包名称—在/ System / Library / Frameworks中使用框架从/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h :4,from /Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:85,from _imaging.c:75:/Developer/SDKs/MacOSX10.6.sdk/usr/include /stdarg.h:4:25:错误:stdarg.h:没有这样的文件或目录_imaging.c:3017:警告:从不兼容指针types初始化_imaging.c:3077:警告:从不兼容指针types初始化/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:85 /Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:4 ,来自_imaging.c:75:/Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h:4:25:error:stdarg.h:No such file or directory _imaging.c:3017:warning:从不兼容指针types初始化_imaging.c:3077:警告:从中初始化 兼容的指针typeslipo:无法弄清楚架构types:/var/folders/2l/nrkm12097b58kk8n9hrbtz840000gn/T//cckCPEox.out错误:安装脚本退出,出现错误:命令'gcc-4.2'失败,退出状态为1

在Windows 7上安装Scrapy-Python和Easy_install

我试图在Windows 7上安装Scrapy。我正在按照以下说明操作: http://doc.scrapy.org/en/0.24/intro/install.html#intro-install 我已经下载并安装了python-2.7.5.msi以下的教程https://adesquared.wordpress.com/2013/07/07/setting-up-python-and-easy_install-on-windows-7/ ,并设置了上述的环境variables,但是当我尝试在我的命令提示符下运行python时,出现以下错误: Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\>python 'python' is not recognized as an internal or external command, operable program or batch file. C:\> python ez_setup.py install 'python' is not recognized as an internal or external command, operable program or batch file. C:\> 你能帮我解决这个问题吗?

easy_install.exe权限在Windows 8上被拒绝

以pipe理员身份运行命令提示符我尝试运行: easy_install -U setuptools 它返回以下内容: Searching for setuptools Reading https://pypi.python.org/simple/setuptools/ Reading http://peak.telecommunity.com/snapshots/ Reading https://pypi.python.org/pypi/setuptools Best match: setuptools 0.8 Processing setuptools-0.8-py2.7.egg setuptools 0.8 is already the active version in easy-install.pth Installing easy_install-script.py script to C:\Python27\Scripts Installing easy_install.exe script to C:\Python27\Scripts error: C:\Python27\Scripts\easy_install.exe: Permission denied 我花了几个小时在互联网上搜寻可能的解决scheme。 我试着搞乱UAC设置,并将它们设置为从不通知。 但是,我仍然得到这个权限被拒绝的错误。

为什么在Windows Vista 64中使用easy_install和Python 2.7安装Pylons 1.0的最后一行会出现错误?

我尝试在Windows Vista 64中使用easy_install命令安装Pylons 1.0 ,但遇到了错误: raise ValueError(str(list(result.keys()))) ValueError: [u'path'] 这里是从命令提示符http://pastie.org/1190341到整个安装过程的链接 为什么我得到这个错误? 我如何解决它? 即使我得到这个错误,塔主机工作吗?

python setuptools:ImportError:无法导入名称库

我有一个Windows 7 64位的机器,并希望安装python包pipe理器。 我已经尝试使用easy_install和运行python setup.py安装在mgrs目录中。 Easy_install给我下面的错误。 C:\Users\farrell>easy_install mgrs Searching for mgrs Reading https://pypi.python.org/simple/mgrs/ Best match: mgrs 1.1.0 Downloading https://pypi.python.org/packages/source/m/mgrs/mgrs-1.1.0.tar.gz#md5 =96e0c00f16d86a3f8b84c2c46cb68b8e Processing mgrs-1.1.0.tar.gz Writing c:\users\farrell\appdata\local\temp\easy_install-lzqjsi\mgrs-1.1.0\setup .cfg Running mgrs-1.1.0\setup.py -q bdist_egg –dist-dir c:\users\farrell\appdata\loc al\temp\easy_install-lzqjsi\mgrs-1.1.0\egg-dist-tmp-sxkdib Traceback (most recent call last): File "C:\Python27\Anaconda\Scripts\easy_install-script.py", line 9, in <module > load_entry_point('setuptools==5.4.1', 'console_scripts', 'easy_install')() File "build\bdist.win-amd64\egg\setuptools\command\easy_install.py", line 2147 , in main File […]