I know this is a really old post, so you've probably solved your problem by now, but I found this question while trying to solve my own issue and thought I would share what I learned.
While trying to "pip install Sphinx" on three machines, I was getting a hang during MarkupSafe installation on two of them: Building wheels for collected packages: MarkupSafe Running setup.py bdist_wheel for MarkupSafe ... - I tried a number of approaches such as reinstalling pip, installing MarkupSafe independently, installing from the Sphinx wheel, and on and on... Eventually, I noticed that the two machines failing installation had old versions of Xcode installed. I upgraded Xcode on both and the installations went off without a hitch from there. So Markus' comment is at least partially right. The problem is with the compiler... though you don't necessarily need to switch to gcc. Cheers. On Monday, November 25, 2013 at 11:02:56 PM UTC-8, Arnav Roy wrote: > > Hi Kurtis, > > My umask is already set to 022. > Using sudo doesn't solve the problem. > > > On Mon, Nov 25, 2013 at 5:36 PM, Kurtis Rader <[email protected] > <javascript:>> wrote: > >> What is your "umask" value? Try >> >> umask 022; sudo pip install markupsafe >> >> first. >> >> >> On Sun, Nov 24, 2013 at 7:59 PM, Arnav Roy <[email protected] >> <javascript:>> wrote: >> >>> Hi, >>> >>> I am trying to install jinja2 using pip but the installation gets stuck >>> indefinitely while installing markupsafe, here's the terminal output: >>> >>> ------------- >>> pip install jinja2 >>> Requirement already satisfied (use --upgrade to upgrade): jinja2 in >>> ./flask_venv/lib/python2.7/site-packages >>> Downloading/unpacking markupsafe (from jinja2) >>> Downloading MarkupSafe-0.18.tar.gz >>> Running setup.py egg_info for package markupsafe >>> >>> Installing collected packages: markupsafe >>> Running setup.py install for markupsafe >>> >>> building 'markupsafe._speedups' extension >>> cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 >>> -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd >>> -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes >>> -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes >>> -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe >>> -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 >>> >>> -c markupsafe/_speedups.c -o >>> build/temp.macosx-10.9-intel-2.7/markupsafe/_speedups.o >>> clang: warning: argument unused during compilation: '-mno-fused-madd' >>> ------------- >>> >>> And here's my system info: >>> - Python 2.7.5 >>> - Xcode 4.1 >>> - Mac OS X 10.9 >>> >>> Any clues? >>> >>> Thanks in advance! >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "pocoo-libs" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected] <javascript:>. >>> >>> To post to this group, send email to [email protected] >>> <javascript:>. >>> Visit this group at http://groups.google.com/group/pocoo-libs. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> >> >> -- >> Kurtis Rader >> Caretaker of the exceptional canines Junior and Hank >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "pocoo-libs" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/pocoo-libs/igtNCLikxh8/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/pocoo-libs. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- You received this message because you are subscribed to the Google Groups "pocoo-libs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/pocoo-libs. For more options, visit https://groups.google.com/d/optout.
