How to use the NumPy installed by Pacman in virtualenv?
<p>My system is Archlinux.
My project will use NumPy, and my project is in a virtual environment created by virtualenv.</p>

<p>As it is difficult to install NumPy by pip, I install it by Pacman:</p>

<p><code>sudo pacman -S python-scikit-learn</code></p>

<p>But how can I use it in virtualenv?</p>

<p>You can create the virtualenv with the <code>--system-site-packages</code> switch to use system-wide packages in addition to the ones installed in the stdlib.</p>

python linux virtualenv pacman archlinux-arm