SOLVED: Virtualenv RuntimeError: Package ‘sqlite’ must not be downloaded from pypi

Monday, December 19, 2016

While working with Python Virtualenvs / Virtual Environments we ran into a package that simply refused to install into it: sqlite: (venv) [siteowner@server /share/sites/www.sitename.com]$ pip install sqlite Collecting sqlite Using cached sqlite-99.0.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File “”, line 1, in File “/tmp/pip-build-USy81K/sqlite/setup.py”, line 2, in raise… Read more »

SOLVED: FreeBSD + pip + virtualenv = file not found

Friday, August 19, 2016

We love python virtual environments, but under FreeBSD we occasionally see issues where pip is not correctly using the /usr/local/include and /usr/local/lib paths to compile installable modules. The Problem This can produce errors such as the below, which we saw when doing a ‘pip install pycrypto’ operation: src/_fastmath.c:36:11: fatal error: ‘gmp.h’ file not found Even… Read more »

A-Team Systems