Scikitlearn won't download due to a newer version of pip that needs to be downloaded first. My OS is Windows 10.
I've tried to run Windows Command Prompt as an administrator and used -m pip install --upgrade pip
as well as pip easy_install
.
Collecting scikitlearn
Using cached https://files.pythonhosted.org/packages/93/ed/7d44870856661aa0827229a18d08d09f2aac50a7225193a240773bad98a7/scikitlearn-0.1.1.tar.gz
Installing collected packages: scikitlearn
Running setup.py install for scikitlearn: started
Running setup.py install for scikitlearn: finished with status 'error'
Complete output from command C:\Users\jpjac\PycharmProjects\Giraffe\venv\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\jpjac\\AppData\\Local\\Temp\\pycharm-packaging\\scikitlearn\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\jpjac\AppData\Local\Temp\pip-record-7mc0541w\install-record.txt --single-version-externally-managed --compile --install-headers C:\Users\jpjac\PycharmProjects\Giraffe\venv\include\site\python3.7\scikitlearn:
running install
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\jpjac\AppData\Local\Temp\pycharm-packaging\scikitlearn\setup.py", line 47, in <module>
'scikitlearn = scikitlearn.cli:cli',
File "C:\Users\jpjac\AppData\Local\Programs\Python\Python37-32\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\jpjac\AppData\Local\Programs\Python\Python37-32\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\jpjac\AppData\Local\Programs\Python\Python37-32\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\jpjac\AppData\Local\Temp\pycharm-packaging\scikitlearn\setup.py", line 20, in run
raise Exception("You probably meant to install and run scikit-learn")
Exception: You probably meant to install and run scikit-learn
----------------------------------------
Command "C:\Users\jpjac\PycharmProjects\Giraffe\venv\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\jpjac\\AppData\\Local\\Temp\\pycharm-packaging\\scikitlearn\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\jpjac\AppData\Local\Temp\pip-record-7mc0541w\install-record.txt --single-version-externally-managed --compile --install-headers C:\Users\jpjac\PycharmProjects\Giraffe\venv\include\site\python3.7\scikitlearn" failed with error code 1 in C:\Users\jpjac\AppData\Local\Temp\pycharm-packaging\scikitlearn\
Comments
Post a Comment