easy-install

Problems installing Python Fabric on Windows 7

橙三吉。 提交于 2019-12-21 05:21:35
问题 I'm trying to install Python Fabric on Windows 7 using the guide from Getting Python and Fabric Installed on Windows. What i did so far: Installed Python 2.7 to C:\Python27 Added the Python-Directory and Python/Scripts to the Windows System Paths Installed SetupTools Installed MinGW Added MinGW-Directory to the System Path Modified the distutils.cfg to match the MinGW-Path This seemed to work fine until now. When I try to install Fabric via easy_install Fabric it starts to download the files,

SSL error installing pycurl after SSL is set

吃可爱长大的小学妹 提交于 2019-12-21 03:32:52
问题 Just some information to start: I'm running Mac OS 10.7.5 I have curl 7.21.4 installed (came with dev tools I believe) I have python 2.7.1 I've been trying to get pycurl installed, but every time I try to run it, I get: ImportError: pycurl: libcurl link-time ssl backend (openssl) is different from compile-time ssl backend (none/other) I first installed pycurl using the setup: python setup.py install Which didn't work (since SSL wasn't configured). I have since uninstalled pycurl ( sudo rm -rf

gcc failed with install Python MySQL libraries on Cygwin

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-20 06:39:29
问题 I want to install either oursql or MySQLdb on a Cygwin box. (Pywikibot can work with either.) Unfortunately both easy_install as well as pip fail at installing both. easy_install-2.7 oursql Searching for oursql Reading https://pypi.python.org/simple/oursql/ Reading http://launchpad.net/oursql Best match: oursql 0.9.3.1 Downloading https://pypi.python.org/packages/source/o/oursql/oursql-0.9.3.1.zip#md5=ad599ea2d95fc695df7195e9801b45c2 Processing oursql-0.9.3.1.zip Writing /tmp/easy_install

Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/MacOSX10.6.sdk

自作多情 提交于 2019-12-20 03:51:19
问题 I'm trying to install rpy2 for Python3 with the following command: easy_install-3.2 rpy2 This gives a few warnings and an error: warning: no previously-included files matching '*patch*' found anywhere in distribution warning: no previously-included files matching '*diff*' found anywhere in distribution warning: no previously-included files matching '.hg' found anywhere in distribution no previously-included directories found matching 'dist' gcc-4.2 not found, using clang instead Compiling

easy_install launches as a terminal and closes on its own, how to avoid that

孤人 提交于 2019-12-20 03:09:48
问题 Trying to install various packages on a Windows 7 64 bit and learned that ActivePython helps (as it includes easy_install among others). It surely seems pretty robust. However I'm trying to easy_install a few packages and its failing. The problem is that the easy_install.exe actually launches in a new terminal and closes on its own, even when there is a problem, how do I avoid that ? Anyone faced this issue ? 回答1: Perhaps easy_install is trying to relaunch itself as Administrator in a

installing latest matplotlib version with pypi

社会主义新天地 提交于 2019-12-20 01:38:55
问题 In some way this question was already asked ... so accept my apology ... I am trying to install the latest version of matplotlib from here: http://pypi.python.org/pypi/matplotlib/1.0.1 I know I can download the sorce, untar and compile it, but I was to install it on many machines, and pip should be a bliss. So, I did easy_install pip, and here the output I am getting with with both tools: $ sudo easy_install "matplotlib==1.0.1" install_dir /usr/local/lib/python2.6/dist-packages/ Searching for

pip installing data files to the wrong place

对着背影说爱祢 提交于 2019-12-19 19:53:59
问题 The source for the package is here I'm installing the package from the index via: easy_install hackertray pip install hackertray easy_install installs images/hacker-tray.png to the following folder: /usr/local/lib/python2.7/dist-packages/hackertray-1.8-py2.7.egg/images/ While, pip installs it to: /usr/local/images/ My setup.py is as follows: from setuptools import setup setup(name='hackertray', version='1.8', description='Hacker News app that sits in your System Tray', packages=['hackertray']

How to make easy_install execute custom commands in setup.py?

南楼画角 提交于 2019-12-19 06:30:07
问题 I want my setup.py to do some custom actions besides just installing the Python package (like installing an init.d script, creating directories and files, etc.) I know I can customize the distutils/setuptools classes to do my own actions. The problem I am having is that everything works when I cd to the package directory and do "python setup.py install", but my custom classes don't seem to be executed when I do "easy_install mypackage.tar.gz". Here's my setup.py file (create an empty myfoobar

PIP install “error: package directory 'X' does not exist”

孤者浪人 提交于 2019-12-18 18:54:26
问题 I am trying to install this package via PIP. It gives me the following error: error: package directory 'RTbatch' does not exist I find this weird, because the relevant setup.py does not mention any packages variable, but only py_modules . What's wrong? Can you help me out? Here is the full output of pip install -e RTbatch : Obtaining file:///home/chymera/RTbatch Running setup.py (path:/home/chymera/RTbatch/setup.py) egg_info for package from file:///home/chymera/RTbatch /usr/lib64/python2.7

Unable to use easy_install to install Python modules

旧城冷巷雨未停 提交于 2019-12-18 11:27:05
问题 I am trying to use easy_install to install a module called requests by doing easy_install requests This worked fine a week ago when I was using Python 2.6.5 but today I installed Python 2.7.2 and then tried to import requests in one of my scripts but it failed. I then tried reinstalling requests with easy_install requests but got this error install_dir /usr/local/lib/python2.6/dist-packages/ error: can't create or remove files in install directory The following error occurred while trying to