Na primeira vez que deu error o instalador reclamava que faltava o tornado, nose e numpy, depois que instalei os tres e executei o comando para instalar o scikit-learn apresentou a mensagem de erro "Cannot uninstall 'numpy'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall." A linha de execução completa esta abaixo.
Mac-mini-2018:Modulo 01 kleperporto$ sudo pip install scikit-learn 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. The directory '/Users/kleperporto/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/Users/kleperporto/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Collecting scikit-learn Downloading https://files.pythonhosted.org/packages/07/42/a01e4b3eb29cb48f759ea706f65515beb9a149ac248eaa4055a8f6dc989f/scikit_learn-0.20.3-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (8.5MB) 100% |████████████████████████████████| 8.5MB 4.2MB/s Collecting numpy>=1.8.2 (from scikit-learn) Downloading https://files.pythonhosted.org/packages/bc/90/3e71b5392bd81d8559917ee38857bb2e4b92c88e87211a68e339127b86f5/numpy-1.16.2-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (13.9MB) 100% |████████████████████████████████| 13.9MB 2.7MB/s Collecting scipy>=0.13.3 (from scikit-learn) Downloading https://files.pythonhosted.org/packages/85/70/9f8f1e9ed9fd33b96bb27fb080171fb571f7d33fecbd857e9f504e6dcc9a/scipy-1.2.1-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (27.4MB) 100% |████████████████████████████████| 27.4MB 1.5MB/s Installing collected packages: numpy, scipy, scikit-learn Found existing installation: numpy 1.8.0rc1 Cannot uninstall 'numpy'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. Mac-mini-2018:Modulo 01 kleperporto$