EconForge / dolo.py

Economic modelling in python
BSD 2-Clause "Simplified" License
98 stars 72 forks source link

Error in installation instructions #163

Closed sbenthall closed 5 years ago

sbenthall commented 5 years ago

Working from the installation instructions here:

https://dolo.readthedocs.io/en/latest/installation.html

There appears to be an error in the instructions. Pip gives the following error:

pip install dolo
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting dolo
  Using cached https://files.pythonhosted.org/packages/58/60/a652c83762946ac066d14a5b20dbc05c3f9e066a5219f67028868a38702b/dolo-0.4.9.9.tar.gz
Collecting dolang (from dolo)
  ERROR: Could not find a version that satisfies the requirement dolang (from dolo) (from versions: none)
ERROR: No matching distribution found for dolang (from dolo)

The same error occurs when installing from the github repository:

$ `pip install git+git://github.com/econforge/dolo.git`
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  Running command git clone -q git://github.com/econforge/dolo.git /tmp/pip-req-build-Y4z7yN
  ERROR: Could not find a version that satisfies the requirement dolang (from dolo==0.4.9.9) (from versions: none)
ERROR: No matching distribution found for dolang (from dolo==0.4.9.9)
Collecting: command not found
albop commented 5 years ago

Problem is your version of Python. We don't support python <3.6. Can you try with a more recent distribution ?

sbenthall commented 5 years ago

$ pip3 install dolo works.

Thank you.