6
pycurl python2.6 पर ठीक स्थापित करता है, लेकिन मैं निम्नलिखित त्रुटि मिलती है जब मैं easy_install के माध्यम से 2.7 पर में स्थापित करने के लिए आवारासमस्याएं python2.7.0 पर PyCurl स्थापित करने +
$ sudo easy_install pycurl
install_dir /usr/local/lib/python2.7/dist-packages/
Searching for pycurl
Reading http://pypi.python.org/simple/pycurl/
Reading http://pycurl.sourceforge.net/
Reading http://pycurl.sourceforge.net/download/
Best match: pycurl 7.19.0
Downloading http://pycurl.sourceforge.net/download/pycurl-7.19.0.tar.gz
Processing pycurl-7.19.0.tar.gz
Running pycurl-7.19.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-PFzxzf/pycurl-7.19.0/egg-dist-tmp-oAFjdV
Using curl-config (libcurl 7.21.0)
src/pycurl.c:42: fatal error: Python.h: No such file or directory
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1
पर कोशिश 2.7 pycurl के साथ संगत नहीं है?
ध्यान दें कि यदि 2.7 अपने डिफ़ॉल्ट अजगर नहीं है, आप क्या करना चाहते हैं "उपयुक्त sudo- मिल स्थापित python2.7-देव" के बजाय। –
प्वाइंट, मैं इसे अपडेट कर दूंगा। – user225312