manbytesgnu_site

Source files for manbytesgnu.org
git clone git://holbrook.no/manbytesgnu_site.git
Log | Files | Refs

20211017_python_virtualenv.rst (924B)


      1 Virtualenv with different pythons
      2 #################################
      3 
      4 :date: 2021-10-17 15:45
      5 :category: Code
      6 :author: Louis Holbrook
      7 :tags: docker,networking,iptables,iproute
      8 :slug: python-virtualenv-interpreter
      9 :summary: Using a different python interpreter with virtualenv and pip install
     10 :lang: en
     11 :status: draft
     12 
     13 
     14 ..
     15         (.venv) cic-ussd $ export CPPFLAGS="-I/home/lash/src/ext/python/Python-3.8.6/Include -I/home/lash/src/ext/python/Python-3.8.6"
     16         (.venv) cic-ussd $ export CFLAGS="-I/home/lash/src/ext/python/Python-3.8.6/Include -I/home/lash/src/ext/python/Python-3.8.6"
     17         (.venv) cic-ussd $ pip download --global-option=build_ext --global-option "-I/home/lash/src/ext/Python-3.8.6/Include" --index-url https://pypi.org/simple --extra-index-url http://localhost/python --no-binary :all: -d deps/ -r requirements.txt 
     18         bcrypt uses cffi, fails with missing header files Python.h and pyconfig.h
     19