본문 바로가기

Face recognition

[Error]error: legacy-install-failure (scipy)

https://exerror.com/error-legacy-install-failure/

 

[Solved] error: legacy-install-failure - Exception Error

To Solve error: legacy-install-failure Then, Upgrade your wheel with this Commandline pip install --upgrade wheel Now, Try to Upgrade your set

exerror.com

Solution 1: Upgrade pip, wheel and setuptools

 
  1. First Of all Just Upgrade your pip with this command line python -m pip install –upgrade pip
  2. Then, Upgrade your wheel with this Commandline pip install –upgrade wheel
  3. Now, Try to Upgrade your setuptools with this commandline pip install –upgrade setuptools
  4. Now, Try to install gensim again with this command: pip install gensim OR pip3 install gensim.
  5. Hope Now, Your error must be solved.

 

Solution 2: install gfortran

https://github.com/scipy/scipy/issues/4102

 

Scipy fails to build when installed with pip · Issue #4102 · scipy/scipy

When installing scipy through pip with : pip install scipy Pip fails to build scipy and throws the following error: Cleaning up... Command /Users/administrator/dev/KaggleAux/env/bin/python2.7 -c &q...

github.com

solution 2로 함. --> 그래도 실패