My environment will not allow me to install datascience as it will no longer work with python 2.7. (worked ok a week ago).
I made the mistake of uninstalling anaconda and re-installing it to sort out an issue with plots. Seems my plan has backfired.
Can anyone out there advise how to access and install a previous version of datascience (scipy?) so I can get my assignment done?
The error message is below.
(env1) C:\Users\WeeP>pip install datascience
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 datascience
Using cached https://files.pythonhosted.org/packages/d0/b4/df6f7fcf6c4ab4858c46e629769729af634e32455f84d8d3fafd8f4c90fa/datascience-0.15.6.tar.gz
ERROR: Command errored out with exit status 1:
command: 'C:\Users\GrantP\anaconda3\envs\env1\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'c:\\users\\grantp\\appdata\\local\\temp\\pip-install-_ir4yh\\datascience\\setup.py'"'"'; __file__='"'"'c:\\users\\grantp\\appdata\\local\\temp\\pip-install-_ir4yh\\datascience\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'c:\users\grantp\appdata\local\temp\pip-install-_ir4yh\datascience\pip-egg-info'
cwd: c:\users\grantp\appdata\local\temp\pip-install-_ir4yh\datascience\
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\users\grantp\appdata\local\temp\pip-install-_ir4yh\datascience\setup.py", line 7, in <module>
raise ValueError('This package requires python >= 3.0')
ValueError: This package requires python >= 3.0
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.