Lion and pycurl

Just for future memory: When upgrading to Lion (the following works for 10.7.2 and 10.7.3)  make sure: 1) Re-install Dev tools. Note that you will need to install the command line tools going to XCode > Preferences > Download. 2) Make sure you have a latest version of Python (you can download  dmg form python.org) 3) If you are running 10.3.2 :Fix the compiler! Make sure you are linking to the proper gcc. A quick and dirty fix below: sudo ln -s /usr/bin/llvm-gcc-4.2 /usr/bin/gcc-4.2 (See this post) The previous step isn't necessary anymore if using Xcode 4.2  and Lion 10.7.3 you need to MANUALLY install the command line tools. In order to do that open Xcode, go to preferences and Download (see pic before) and click install on Command line tools (see pic below) xtools 4) Running the following (note I made sure to use the easy_install version /usr/bin): sudo env ARCHFLAGS="-arch x86_64" /usr/bin/easy_install setuptools pycurl==7.19.0

Leave a Reply

Latest from Flickr

			<p><a href=\"http://www.flickr.com/people/carlotorniai/\">carlotorniai</a> posted a photo:</p>	<p><a href=\"http://www.flickr.com/photos/carlotorniai/7628216988/\" title=\"\"><img src=\"http://farm9.staticflickr.com/8025/7628216988_e1485e60b8_m.jpg\" width=\"240\" height=\"180\" alt=\"\" /></a></p> 			<p><a href=\"http://www.flickr.com/people/carlotorniai/\">carlotorniai</a> posted a photo:</p>	<p><a href=\"http://www.flickr.com/photos/carlotorniai/7628216560/\" title=\"\"><img src=\"http://farm8.staticflickr.com/7133/7628216560_30e3514748_m.jpg\" width=\"240\" height=\"179\" alt=\"\" /></a></p> 			<p><a href=\"http://www.flickr.com/people/carlotorniai/\">carlotorniai</a> posted a photo:</p>	<p><a href=\"http://www.flickr.com/photos/carlotorniai/7628215950/\" title=\"\"><img src=\"http://farm8.staticflickr.com/7248/7628215950_c67ea3da9a_m.jpg\" width=\"240\" height=\"179\" alt=\"\" /></a></p> 			<p><a href=\"http://www.flickr.com/people/carlotorniai/\">carlotorniai</a> posted a photo:</p>	<p><a href=\"http://www.flickr.com/photos/carlotorniai/7628215288/\" title=\"\"><img src=\"http://farm9.staticflickr.com/8281/7628215288_976b113c6d_m.jpg\" width=\"240\" height=\"179\" alt=\"\" /></a></p> 			<p><a href=\"http://www.flickr.com/people/carlotorniai/\">carlotorniai</a> posted a video:</p>	<p><a href=\"http://www.flickr.com/photos/carlotorniai/7628214924/\" title=\"\"><img src=\"http://farm8.staticflickr.com/7133/7628214924_b522e0af16_m.jpg\" width=\"240\" height=\"135\" alt=\"\" /></a></p> 			<p><a href=\"http://www.flickr.com/people/carlotorniai/\">carlotorniai</a> posted a video:</p>	<p><a href=\"http://www.flickr.com/photos/carlotorniai/7628198058/\" title=\"\"><img src=\"http://farm9.staticflickr.com/8142/7628198058_3f81bba63c_m.jpg\" width=\"240\" height=\"135\" alt=\"\" /></a></p>