Skip to content
This repository was archived by the owner on May 27, 2020. It is now read-only.
Michael Hirsch, Ph.D edited this page Jul 17, 2019 · 9 revisions

Virtual environments

There is no need to use Python virtual environments for this project.

Version

Since most Python programs require Python 3, use commands like:

python3 myprog.py

python3 -m pip install mypkg

to ensure that Python 3 instead of Python 2 is used. Do not use sudo with pip to avoid making a big mess.

Numpy

Error:

libf77blas.so.3 cannot open shared object file

This means that Numpy was installed (probably via pip) without BLAS development libraries installed first. The easiest way to handle this is to:

  1. pip uninstall numpy
  2. apt install python3-numpy

Clone this wiki locally