easy-install

Install paramiko on Windows

风流意气都作罢 提交于 2020-01-09 18:02:54
问题 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

Install paramiko on Windows

六月ゝ 毕业季﹏ 提交于 2020-01-09 18:00:29
问题 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

Install paramiko on Windows

谁都会走 提交于 2020-01-09 17:59:36
问题 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

How does Python keep track of modules installed with eggs?

大憨熊 提交于 2020-01-01 08:17:27
问题 If I have a module, foo , in Lib/site-packages , I can just import foo and it will work. However, when I install stuff from eggs, I get something like blah-4.0.1-py2.7-win32.egg as a folder, with the module contents inside, yet I still only need do import foo , not anything more complicated. How does Python keep track of eggs? It is not just dirname matching as if I drop that folder into a Python installation without going through dist-utils, it does not find the module. To be clearer: I just

'easy_install -U cython' fails complaining about vcvarsall.bat and -mno-cygwin

假装没事ソ 提交于 2019-12-31 22:36:12
问题 Under Windows, it seems that easy_install with a C dependency isn't very easy. Attempt 1 - vcvarsall.bat errors I am installing cython under Windows7, with MinGw ; I modified Windows7's PATH to include C:\MinGw\bin . At this point, I tried to easy_install -U cython , and got... 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

Installing psycopg2 (postgresql) in virtualenv on windows

喜你入骨 提交于 2019-12-29 05:05:29
问题 I installed psycopg2 in virtualenv using easy_install psycopg2 . I did not see any errors and looks like installation went fine.. there is an egg file created in the site-packages dir for psycopg2.. but when I run import psycopg2 in the interpreter, I am getting following error.. any clue? How can I fix it.. any other way to install psycopg2 in virtualenv.. Traceback (most recent call last): File "<stdin>", line 1, in <module> File "build\bdist.win32\egg\psycopg2\__init__.py", line 69, in

How can I install various Python libraries in Jython?

て烟熏妆下的殇ゞ 提交于 2019-12-25 08:25:45
问题 I know that I can install Jython with Java and that I can use Jython where I use Python. The Jython shell is working fine. In Jython, how can I install libraries like lxml , Scrappy and BeautifulSoup that I'd normally install via pip or easy_install 回答1: Some Python modules, like lxml , have required components in C. These won't work in Jython. Most Python packages will work fine, and you can install them using the same tools as you use in CPython. This is described in Appendix A of Jython

I easy_install'ed Mercurial, and now I get “No script named 'hg'”

烂漫一生 提交于 2019-12-24 23:53:41
问题 I installed Mercurial on (32-bit) Ubuntu 9.10, using: sudo easy_install mercurial It installed Mercurial 1.7.5. I have since learned that using this way of installing is denounced by the Mercurial Team, although the reasons why it shouldn't work are not clear. When I ran the command hg it responded: Traceback (most recent call last): File "/usr/local/bin/hg", line 5, in <module> pkg_resources.run_script('mercurial==1.7.5', 'hg') File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line

Why does easy_install work with some Windows binaries?

若如初见. 提交于 2019-12-24 00:16:06
问题 Background Windows does not include a compiler by default, and installing a compiler (and perhaps configuring Python to use it) is a complicated enough task that many developers avoid doing so. To this end, many packages that have binary dependencies are available as a precompiled Windows executable that contains binary files. As an example, there is psycopg. The executable file is an installer. When executed, it provides a graphical interface that locates an installed version of Python via

For real, too many installations of Python on OSX Mountain Lion

吃可爱长大的小学妹 提交于 2019-12-23 19:49:54
问题 I have three different Python 2.7s at: /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 I use a number of packages that come from different sources. I am currently installing packages from port (MacPorts), easy_install , pip (installed by easy_install ), and Mercurial. There are also some that I have to install from image or build from