python - Install pyCurl in ActivePython-2.6? -


I have worked with pyCurl in the past and it is working with the default Python installation of my system. However, I have a project for which the dragon needs to be more portable and I am using ActivePython-2.6.

I have not had any problem installing any other modules yet, but I am getting errors installing pyCurl. Error:

Search for reading perkol http://pypi.python.org/simple/pycurl/ http://pycurl.sourceforge.net/reading Read http: //pycurl.sourceforge . Net / Download / Best Match: Pikrol 7.19.0 Download http://pycurl.sourceforge.net/download/pycurl-7.19.0.tar.gz Processing Piccroll- 7.1 9.0.tar.gz Playing Picture- 7.1 9.0 / setup .py -q bdist_egg --dist-dir /tmp/easy_install-tfVLW6/pycurl-7.19.0/egg-dist-tmp-p1WjAy sh: curl-config: Not Found Traceback (Most Recent Call End): File " /opt/ActivePython-2.6/bin/easy_install ", line 8, & lt; Module & gt; Load_entry_point ('setuptools == 0.6c9', 'console_scripts', 'easy_install') () file "/opt/ActivePython-2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/ Setuptools / command / easy_install.py ", line 1671," /opt/ActivePython-2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install "in the main file. Py ", line 1659," /opt/ActivePython-2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py "in the_ei_usage file, line 1675, In & lt; Lambda & gt; File "/opt/ActivePython-2.6/lib/python2.6/distutils/core.py", line 152, setup (dist.run_commands) file "/opt/ActivePython-2.6/lib/python2.6/distutils/dist" ".py", line 975, run the self.run_command (cmd) file in the run_commands "/opt/ActivePython-2.6/lib/python2.6/distutils/dist.py", line 995, run_command cmd_obj.run () file "/ Opt / ActivePython-2.6 / lib / python2.6 / site-packages / setuptools-0.6c9-py2.6.egg / setuptools / command / easy_install.py ", line 211, run file" /opt/ActivePython-2.6/ Lib / python2.6 / site-packages / setuptools-0.6c9-py2.6.egg / setuptools / command / easy_install.py ", line 446," /opt/ActivePython-2.6/lib/python2.6/ "in the easy_install file Site-packages / setuptools-0.6c9-py2.6.egg / setuptools / command / easy_install.py ", line 476 in install_item file," / opt / Activ EPython-2.6 / lib / python2.6 / site-packages / setuptools- 0.6c9-py2.6.egg / setuptools / command / easy_install.py ", line 655," /opt/ActivePython-2.6/lib/ in the install_eggs file " Python2.6 / site-packages / setuptools-0.6c9-py2.6 .gg / bridge ptools / command / easy_install.py ", line 930, in the build_and_install file" /opt/ActivePython-2.6/lib/python2.6/site -packages / setuptools-0.6c9-py2.6.egg / setuptools / command / easy_install Run_setup file "/opt/ActivePython-2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py", in line 27, in run_setup file, line 919 File "/opt/ActivePython-2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py", line 63, in run file "/opt/ActivePython-2.6 /lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py ", in line 29, in & lt; Lambda & gt; File "setup.py", line 90, & lt; Module & gt; Exception: 'curl-config' was not found - Please install libcurl development files

In my system libcurl is installed, but ActivePython does not seem to like it.

The following dependencies are required to install a pixel:

  apt-cache depends on dragon-pycurl dragon-pycurl depending on: libc6 depends: libcurl3-GNUTLS depends: libgcrypt11 depends: python2.7 depends: Python depends : Suggests Python: libcurl4-GNUTLS-Dev suggests: Python-Pikor-DBG conflict: & lt; Python2.3-pycurl & gt; Conflict: & lt; Python2.3-pycurl: i386 & gt; Conflict: & lt; Python2.4-pycurl & gt; Conflict: & lt; Python2.4-pycurl: i386 & gt; Replaces: & lt; Python2.3-pycurl & gt; Replaces: & lt; Python2.3-pycurl: i386 & gt; Replaces: & lt; Python2.4-pycurl & gt; Replaces: & lt; Python2.4-pycurl: i386 & gt; Conflict: Python: Python: i386  

run this command

  sudo apt-get install libcurl4-gnutls-dev librtmp-dev  

Then using the pycurl

  pip install pycurl  

or

  easy_install using pycurl Can  

Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -