Note that there are some explanatory texts on larger screens.

plurals
  1. POCython Error Installing Reddit on a Mac OS X 10.8
    text
    copied!<p>I'm working through the issues trying to install Reddit on a Mac OS X.</p> <p>I realize this is most easily done through a VirtualBox install on Ubuntu. Indeed, I have that running already. However, I want to run the PyCharm Python IDE locally and have these talk to the Virtual Box Ubuntu servers running everything that's not Python code for the web server itself.</p> <p>So please don't suggest that I not do what I'm attempting. I already understand this is a non-trivial task for someone with my level of python experience.</p> <p>Here's my current blocker during the install:</p> <pre><code>python setup.py build </code></pre> <p>in the <code>/reddit/r2</code> directory, I get the following errors:</p> <pre><code>(dev)HS:r2 inflector$ python setup.py build running build running build_py running build_ext building 'lib.python2.7.site-packages.Cython.Runtime.refnanny' extension /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -g -O2 -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c ./lib/python2.7/site-packages/Cython/Runtime/refnanny.c -o build/temp.macosx-10.6-intel-2.7/./lib/python2.7/site-packages/Cython/Runtime/refnanny.o clang: error: no such file or directory: './lib/python2.7/site-packages/Cython/Runtime/refnanny.c' clang: error: no input files error: command '/usr/bin/clang' failed with exit status 1 </code></pre> <p>Note that I am running a virtualenv and have installed all the python modules required already. I have also done a full manual install of Cython which already compiled refnanny successfully once.</p> <pre><code>pip freeze </code></pre> <p>shows</p> <pre><code>Cython==0.19.1 </code></pre> <p>The last bit of the clang parameters the -o option seems odd and may be the problem. It reads: </p> <p><code>-o build/temp.macosx-10.6-intel-2.7/./lib/python2.7/site-packages/Cython/Runtime/refnanny.o</code></p> <p>Note the <code>/./</code> just after <code>intel-2.7</code> and before <code>/lib/</code>. This doesn't seem correct but seems like an artifact of the virtualenv setup.</p> <p>Any ideas what is wrong and how I can get setup.py to run without causing this error?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload