I’m running Python 2.6.4 on Mac Snow Leopard. I installed pycurl using:
sudo env ARCHFLAGS="-arch x86_64" easy_install setuptools pycurl==7.16.2.1
The installation completes with no issues and says pycurl is installed in subsequent installation attempts. However, when I try to “import pycurl” in a script, I get a message that pycurl isn’t found. I’m not sure what else to do to fix this.
I would suspect you have 2 versions of python on your system. How about removing easy install and reinstalling it.
Remove the current easy install script by typing
which easy_installand thenrm [easy install full path].To install easy install
Then, try your command again: