Set the global version to 3.6.5 python --version should output 3.6.5
To list the available versions pyenv versions To install a version pyenv install 3.6.5 To set the global version pyenv global 3.6.5
I've added at the beginning of the bin/activate script pyenv global 3.6.5 and in the deactivate function pyenv global system
Environment created with python -m venv env_name To activate the environment: source /path/to/venv/bin/activate To deactivate environment: deactivate
Once the right version of python is set and the environment is activated we can install packages with: pip install pkg_name
To install all the packages pip install -r requirements.txt
Based on this answer
Install the module in editable state: cd src pip install -e .
ftp data
Username: jblasco
Password: @jYhr=M4rF
ftp data
pip install jupyterlab
pip install netcdf4
pip install matplotlib
Instructions on Github I had to fix the include paths: geos_include_dirs=[os.path.join(GEOS_dir,'include'),'/home/woowapdabug/projects/thesis/python/lib/python3.6/site-packages/numpy/core/include']