Installing pyfm in virtual envornment
<p>I am not able to install the <a href="https://github.com/coreylynch/pyFM" rel="nofollow"><code>pyFM</code> module</a> in my virtualenv, only globally.</p>

<p>When I try to install it I get <code>ImportError: No module named Cython.Distutils</code>. However, when I try to <code>pip install cython</code>, I get <code>unable to execute gcc-4.2: No such file or directory</code>.</p>

<p>I've even tried to <code>ln -s /usr/bin/gcc gcc-4.2</code> but it doesn't work.</p>

<p>When linking gcc, you are linking it to the current folder, not <code>/usr/bin</code>. Try</p>

<p><code>ln -s /usr/bin/gcc-4.2 /usr/bin/gcc</code></p>

<p>to link into /usr/bin so your OS finds it. You can also do <code>brew install gcc</code> if you use homebrew to get the latest version.</p>

python virtualenv