LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-27-2017, 04:05 PM   #1
pointer2null
Member
 
Registered: Mar 2012
Location: Bristol, UK
Distribution: CentOS, Debian
Posts: 32

Rep: Reputation: Disabled
Cygwin & pycurl


(I've read the is there a cygwin forum and was told it's here in general!)

Has anyone managed to install pycurl in Cygwin?

I've tried but it seems to be unable to find libcurl. I've tried setting the --curl-dir which didn't work.

Please don't post the first answer you find on Google (or the 20th) as I've already tried them all.

I've tried with easy-install and pip install but the result is the same

Code:
$ easy_install pycurl --curl-dir=/usr/lib
Searching for pycurl
Reading https://pypi.python.org/simple/pycurl/
Downloading https://pypi.python.org/packages/12/3f/557356b60d8e59a1cce62ffc07ecc03e4f8a202c86adae34d895826281fb/pycurl-7.43.0.tar.gz#md5=c94bdba01da6004fa38325e9bd6b9760
Best match: pycurl 7.43.0
Processing pycurl-7.43.0.tar.gz
Writing C:\cygwin64\tmp\easy_install-kzovsfy_\pycurl-7.43.0\setup.cfg
Running pycurl-7.43.0\setup.py -q bdist_egg --dist-dir C:\cygwin64\tmp\easy_install-kzovsfy_\pycurl-7.43.0\egg-dist-tmp-tv159b0l
Please specify --curl-dir=/path/to/built/libcurl
error: Setup script exited with 10
Code:
Gary@Gary-Laptop ~
$ pip install pycurl
Collecting pycurl
  Using cached pycurl-7.43.0.tar.gz
    Complete output from command python setup.py egg_info:
    Please specify --curl-dir=/path/to/built/libcurl

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 10 in C:\cygwin64\tmp\pip-build-bcfkeo3h\pycurl\

Gary@Gary-Laptop ~
$ pip install pycurl --curl-dir=/usr/lib

Usage:
  pip install [options] <requirement specifier> [package-index-options] ...
  pip install [options] -r <requirements file> [package-index-options] ...
  pip install [options] [-e] <vcs project url> ...
  pip install [options] [-e] <local project path> ...
  pip install [options] <archive url/path> ...

no such option: --curl-dir
 
Old 04-27-2017, 05:17 PM   #2
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
Did you verify you've installed cygwin curl by using the cygwin setup program?
 
Old 04-28-2017, 02:09 AM   #3
pointer2null
Member
 
Registered: Mar 2012
Location: Bristol, UK
Distribution: CentOS, Debian
Posts: 32

Original Poster
Rep: Reputation: Disabled
Yes - tried all the obvious.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH to work without a password between CentOS & Cygwin timmywo Linux - Server 9 08-08-2010 03:26 AM
cygwin & rs232/com port & getty access tomjermy Linux - Software 0 07-09-2004 08:08 AM
Cygwin & X Bladez Linux - Newbie 1 02-05-2004 07:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration