我安装了python 2.5,fink放在/ sw/bin /中.我使用easy install命令
sudo /sw/bin/easy_install wxPython
Run Code Online (Sandbox Code Playgroud)
尝试安装wxpython并在尝试处理wxPython-src-2.8.9.1.tab.bz2时出现错误,表示没有安装脚本.Easy-install已经适用于其他几个安装,直到这个.现在为什么要破坏它的任何帮助?
编辑:在转储回shell提示符之前发生错误.
阅读http://wxPython.org/download.php
最佳匹配:wxPython src-2.8.9.1正在
下载http://downloads.sourceforge.net/wxpython/wxPython-src-2.8.9.1.tar.bz2
处理wxPython- src- 2.8.9.1.tar.bz2
错误:在/tmp/easy_install-tNg6FG/wxPython-src-2.8.9.1.tar.bz2中找不到设置脚本
在Windows下,似乎easy_install有一个C依赖并不是很容易.
vcvarsall.bat错误我cython在Windows7下安装,用MinGw; 我修改了Windows7 PATH以包含C:\MinGw\bin.在这一点上,我试图easy_install -U cython,并得到......
C:\Users\mike_pennington\Desktop\TestDrive>easy_install -U cython
Searching for cython
Reading http://pypi.python.org/simple/cython/
Reading http://www.cython.org
Reading http://cython.org
Best match: Cython 0.15.1
Downloading http://cython.org/release/Cython-0.15.1.zip
Processing Cython-0.15.1.zip
Running Cython-0.15.1\setup.py -q bdist_egg --dist-dir c:\users\mike_p~1\appdata
\local\temp\easy_install-qr1tet\Cython-0.15.1\egg-dist-tmp-556kzq
Compiling module Cython.Plex.Scanners ...
Compiling module Cython.Compiler.Scanning ...
Compiling module Cython.Compiler.Parsing ...
Compiling module Cython.Compiler.Visitor ...
Compiling module Cython.Compiler.Code ...
Compiling module Cython.Runtime.refnanny ...
warning: no files found matching 'bugs.txt' under directory …Run Code Online (Sandbox Code Playgroud) 一些有用的Python包在pypi上被破坏,唯一可接受的版本是修订控制系统中的特定修订版.可以用setup.py例如表达
requires = 'svn://example.org/useful.package/trunk@1234' ?
我想知道用64位python 2.7 pywin32模块安装virtualenv的正确方法(操作系统是Windows 7 64位).
我在Sourceforge上找到了exe安装程序.
当我运行命令行easy_installer第一一切顺利,但很快我看到奇怪的现象:当pywin32-216.win-AMD64的py2.7安装运行pywin32-216-py2.7-win32.egg和失败,出现错误:
No local packages or download links found for pywin32==216
Best match: None
Run Code Online (Sandbox Code Playgroud)
这是我的完整日志:
(sandbox_virtenv) D:\test\py2exe_test>easy_install http://sourceforge.net/projects/pywin32/files/pywin32/Build216/pywin32-216.win-amd64-py2.7.exe
Downloading http://sourceforge.net/projects/pywin32/files/pywin32/Build216/pywin32-216.win-amd64-py2.7.exe
Processing pywin32-216.win-amd64-py2.7.exe
pywintypes: module references __file__
win32evtlogutil: module references __file__
win32serviceutil: module references __file__
win32timezone: module references __file__
Demos.win32rcparser_demo: module references __file__
Demos.security.sspi.validate_password: module references __file__
isapi.install: module references __file__
isapi.samples.advanced: module references __file__
isapi.samples.test: module references __file__
isapi.test.setup: module references __file__
pywin.framework.scriptutils: module references __file__
pywin.framework.startup: module references __path__
pywin.scintilla.config: module references …Run Code Online (Sandbox Code Playgroud) 我刚刚在Windows 7机器上下载并安装了最新版本的Python.
Python 2.7.3
Run Code Online (Sandbox Code Playgroud)
现在我想安装一个我在网上找到的Twitter库:
但是,当我尝试运行时easy_install tweepy,我收到此错误消息:
'easy_install'未被识别为内部或外部命令,可操作程序或批处理文件.
Python已经被放入我的路径,因为我可以在命令行中调用Python程序.
这是我安装Python的文件夹的屏幕截图.

在Tools文件夹中:

在scripts文件夹中:

当我使用命令时:
easy_install spotter
安装spotter包,我收到以下错误信息
Searching for spotter
Reading http://pypi.python.org/simple/spotter/
Download error on http://pypi.python.org/simple/spotter/: [Errno 11001] getaddrinfo failed -- Some packages may not be found!
Reading http://pypi.python.org/simple/spotter/
Download error on http://pypi.python.org/simple/spotter/: [Errno 11001] getaddrinfo failed -- Some packages may not be found!
Couldn't find index page for 'spotter' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error on http://pypi.python.org/simple/: [Errno 11001] getaddrinfo failed -- Some packages may not be found!
No local …Run Code Online (Sandbox Code Playgroud) 好.我在Windows上阅读了安装paramiko的内容.
所有提到的方法根本不起作用.
作者有不同的环境,安装了不同的组件/库.或者可能是他们在发布答案之前没有测试他们的解决方案:)
我从我的机器(Windows 8 x64)中删除了所有python版本和库,并尝试从头开始安装python和paramiko.
方法编号1(FAILED)
结果:
Traceback (most recent call last): File "<pyshell#0>", line 1, in
<module>
import paramiko File "C:\Python27\lib\site-packages\paramiko\__init__.py", line 65, in
<module>
from transport import SecurityOptions, Transport File "C:\Python27\lib\site-packages\paramiko\transport.py", line 45, in
<module>
from paramiko.ecdsakey import ECDSAKey File "C:\Python27\lib\site-packages\paramiko\ecdsakey.py", line 24, in
<module>
from ecdsa import SigningKey, VerifyingKey, der, curves ImportError: No module named ecdsa
Run Code Online (Sandbox Code Playgroud)
方法2(FAILED)
我按照在线说明如何pip在macOS 上安装(例如this,this和this).
我似乎都很简单,但它对我不起作用.
我的python --version是2.7.10.
当我跑步时,sudo easy_install pip我得到:
$ sudo easy_install pip
Password:
Searching for pip
Reading http://pypi.python.org/simple/pip/
Couldn't find index page for 'pip' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for pip
error: Could not find suitable distribution for Requirement.parse('pip')
Run Code Online (Sandbox Code Playgroud)
知道如何解决或解决这个问题吗?
我通过pythonbrew安装python 2.7.3安装pip时遇到麻烦:
pythonbrew update --master
pythonbrew install 2.7.3 --force
Run Code Online (Sandbox Code Playgroud)
当尝试从pip.openplans.org获取pip时,这在最后阶段失败了:
Installed /Users/andrei/.pythonbrew/pythons/Python-2.7.3/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg
Processing dependencies for distribute==0.6.28
Finished processing dependencies for distribute==0.6.28
After install bootstrap.
Don't have permissions to write /Users/andrei/.pythonbrew/pythons/Python-2.7.3/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info, skipping
Creating /Users/andrei/.pythonbrew/pythons/Python-2.7.3/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info
Creating /Users/andrei/.pythonbrew/pythons/Python-2.7.3/lib/python2.7/site-packages/setuptools.pth
Searching for pip
Reading http://pypi.python.org/simple/pip/
Reading http://pip.openplans.org
Download error on http://pip.openplans.org: [Errno 8] nodename nor servname provided, or not known -- Some packages may not be found!
Reading http://pip.openplans.org
Download error on http://pip.openplans.org: [Errno 8] nodename nor servname provided, or not known -- Some packages …Run Code Online (Sandbox Code Playgroud) 我们的网络安装不是最好的,所以我需要告诉通过ssl进行通信的应用程序忽略证书.不得不用NPM等做同样的事情所以现在当我跑...
$ easy_install pip
...
Download error on https://pypi.python.org/simple/pip/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590) -- Some packages may not be found!
Run Code Online (Sandbox Code Playgroud)
那么我该如何关闭此验证呢?
PS我知道这是一个安全载体,但幽默我.