pycurl available from the command line but not from editra

Discuss any topics about the editor here

pycurl available from the command line but not from editra

Postby mmuratet » Tue Oct 08, 2013 7:54 pm

I have a simple script that fails in the IDE because pycurl cannot be found:

mport sys
import pycurl

print('Testing %s' % pycurl.version)

>>> python -u pycurl_ver.py
Traceback (most recent call last):
File "pycurl_ver.py", line 2, in <module>
import pycurl
ImportError: No module named pycurl
>>> Exit Code: 1

However, from a bash shell

Michaels-MacBook-Pro:Desktop mmuratet$ python pycurl_ver.py
Testing libcurl/7.30.0 OpenSSL/0.9.7l zlib/1.2.7

What's the difference between python called from the IDE and python called from the shell? I don't see any preference settings or paths to change.

Thanks

Mike
mmuratet
Limited User
 
Posts: 1
Joined: Wed Oct 02, 2013 3:12 pm

Re: pycurl available from the command line but not from edit

Postby cody » Tue Oct 15, 2013 1:30 pm

see reply at duplicate post: viewtopic.php?f=4&t=1201
User avatar
cody
Site Admin
 
Posts: 1315
Joined: Mon Oct 09, 2006 2:49 am
Location: United States


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron