Talk:Python/Virtual environment

From ArchWiki
Jump to navigation Jump to search

running 'pip install' from virtualenv will not work if base-devel is not present

When running below procedure:

pacman python-virtualenv
cd /home
mkdir myvenv
virtualenv --always-copy myvenv
cd myvenv
source bin/activate
pip install numpy

I was getting following error:

RuntimeError: Broken toolchain: cannot link a simple C program

It seems gcc was missing from the system. After installing base-devel all works fine.

Gregosky (talk) 00:39, 15 May 2015 (UTC)