easy-install

Mechanize not being installed by easy_install?

妖精的绣舞 提交于 2020-01-24 12:47:44
问题 I am in the process of migrating from an old Win2K machine to a new and much more powerful Vista 64 bit PC. Most of the migration has gone fairly smoothly - but I did find that I needed to reinstall ALL of my Python related tools. I've downloaded the mechanize-0.1.11.tar.gz file and ran easy_install to install it. This produced C:\Python25\Lib\site-packages\mechanize-0.1.11-py2.5.egg. I then ran a python script to test it, and it worked fine under the interpreter. But, when I ran py2exe to

How to install pywin32 in virtualenv with python 2.7 64 bit?

隐身守侯 提交于 2020-01-22 17:53:28
问题 I wonder right way to install on virtualenv with 64 bit python 2.7 pywin32 module (Operating system is Windows 7 64 bit). I've found exe installer on Sourceforge. When i run easy_installer on command line first everything goes fine but soon i see strange behavior: while pywin32-216.win-amd64-py2.7 installs it runs pywin32-216-py2.7-win32.egg and it fails with error: No local packages or download links found for pywin32==216 Best match: None And here is my full log: (sandbox_virtenv) D:\test

Offline installation of dependant python modules without PIP

北慕城南 提交于 2020-01-13 18:22:08
问题 Edit: This is not a duplicate of Python offline package installation as the answer require 'pip' to be present. My premise is when 'pip' is not available. My python script depends on this Github library. I need to create a self-sufficient tarball that includes this dependency and I can extract and run on my Production server, that does not have access to internet or pip . However I have Python 2.6.6/Python 2.7 I have created a virtualenv on my local machine (which has internet) and installed

Offline installation of dependant python modules without PIP

不打扰是莪最后的温柔 提交于 2020-01-13 18:21:16
问题 Edit: This is not a duplicate of Python offline package installation as the answer require 'pip' to be present. My premise is when 'pip' is not available. My python script depends on this Github library. I need to create a self-sufficient tarball that includes this dependency and I can extract and run on my Production server, that does not have access to internet or pip . However I have Python 2.6.6/Python 2.7 I have created a virtualenv on my local machine (which has internet) and installed

easy_install fails on error “Couldn't find setup script” after binary upload?

╄→尐↘猪︶ㄣ 提交于 2020-01-13 08:11:11
问题 After uploading a binary distribution of my Python C extension with python setup.py bdist upload , easy_install [my-package-name] fails on "error: Couldn't find a setup script in /tmp/easy_install/package-name-etc-etc". What am I doing wrong? 回答1: This may not be related to your specific problem, but I am providing this information in case it is helpful to others. I hit exactly this error when running easy_install xyz . The problem turned out to be that I had a subdirectory named xyz in the

easy_install fails on error “Couldn't find setup script” after binary upload?

断了今生、忘了曾经 提交于 2020-01-13 08:10:09
问题 After uploading a binary distribution of my Python C extension with python setup.py bdist upload , easy_install [my-package-name] fails on "error: Couldn't find a setup script in /tmp/easy_install/package-name-etc-etc". What am I doing wrong? 回答1: This may not be related to your specific problem, but I am providing this information in case it is helpful to others. I hit exactly this error when running easy_install xyz . The problem turned out to be that I had a subdirectory named xyz in the

Python ImportError: no module named os

那年仲夏 提交于 2020-01-11 09:39:26
问题 Trying to upgrade matplotlib as in this post, I ran export PYTHONHOME=/usr/lib/python2.7/ sudo easy_install -U distribute sudo pip install --upgrade matplotlib Now whenever I try to run python I get ImportError: no module named os . What happened? Please help me. I'm on OS X 10.9.5. 回答1: The issue was changing PYTHONHOME , which could not find any modules because I have python running out of a user directory /Users/alavin89/Library/Python/2.7/lib/python/site-packages . Check the python path

Issue with easy_install-2.7

蓝咒 提交于 2020-01-11 04:41:13
问题 After installing easy_install and trying to use it to then install a python package it fails. [root@server]# easy_install-2.7 pip Searching for pip Reading http://pypi.python.org/simple/pip/ Download error on http://pypi.python.org/simple/pip/: unknown url type: https -- Some packages may not be found! I seem to get a redirect curl -IL http://pypi.python.org/simple/pip/ HTTP/1.1 301 Moved Permanently Retry-After: 0 Location: https://pypi.python.org/simple/pip/ Content-Length: 0 Accept-Ranges:

Python install uninstall easy_install

人走茶凉 提交于 2020-01-10 01:49:33
问题 I have two versions of python on my mac: One preinstalled by Apple in /usr/bin One from python.org in /Library/Frameworks/Python.framework/Versions/2.6 easy_install always installs to /usr/bin for some ununderstanable reason So I explicitly now install easy_install in: sh setuptools-0.6c11-py2.6.egg --install-dir=/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages Now I want to easy_install pip AND ....: Searching for pip Best match: pip 0.8 Processing pip-0.8-py2.6

Install paramiko on Windows

大憨熊 提交于 2020-01-09 18:05:00
问题 OK. I read installing paramiko on Windows. All mentioned methods simply do not work. Authors have different environments with different components/libraries installed. Or may be they don't test their solutions before posting an answer :) I removed all python versions and libs from my machine (Windows 8 x64) and tried to install python and paramiko from scratch. Method number 1 (FAILED) Install python-2.7.3.amd64.msi Install pycrypto-2.6.win-amd64-py2.7.exe Download https://github.com/paramiko