sintel-dev / Orion

Library for detecting anomalies in signals
https://sintel.dev/Orion/
MIT License
1.05k stars 162 forks source link

No able to install orion in anaconda #208

Closed RaunakKumarVerma closed 3 years ago

RaunakKumarVerma commented 3 years ago

Description

I Tried installing this into my anaconda env for my college project but its not installing. Can you please help me solve the problem?

Describe what you were trying to get done. Tell us what happened, what went wrong, and what you expected to happen.

What I Did



conda create -n orion python=3.7
conda activate orion
pip install orion-ml

but it's still not installing

Paste the command(s) you ran and the output.

(orion) C:\Users\Raunak>pip install orion-ml
Collecting orion-ml
  Downloading orion_ml-0.1.6-py2.py3-none-any.whl (104 kB)
     |████████████████████████████████| 104 kB 504 kB/s
Requirement already satisfied: pymongo<4,>=3.7.2 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from orion-ml) (3.11.3)
Collecting mlprimitives<0.3,>=0.2.2
  Using cached mlprimitives-0.2.5-py2.py3-none-any.whl (180 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Downloading urllib3-1.25.11-py2.py3-none-any.whl (127 kB)
     |████████████████████████████████| 127 kB 1.6 MB/s
Requirement already satisfied: numpy<1.17,>=1.15.4 in c:\users\raunak\appdata\roaming\python\python37\site-packages (from orion-ml) (1.16.6)
Collecting baytune<0.3,>=0.2.3
  Using cached baytune-0.2.5-py2.py3-none-any.whl (28 kB)
Requirement already satisfied: mlblocks<0.4,>=0.3.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from orion-ml) (0.3.4)
Requirement already satisfied: scikit-learn<0.21,>=0.20.1 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from orion-ml) (0.20.4)
Collecting mongoengine<0.17,>=0.16.3
  Using cached mongoengine-0.16.3-py3-none-any.whl
Collecting Keras<2.4,>=2.1.6
  Using cached Keras-2.3.1-py2.py3-none-any.whl (377 kB)
Requirement already satisfied: h5py<2.11.0,>=2.10.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from orion-ml) (2.10.0)
Collecting pyts<0.11,>=0.9
  Downloading pyts-0.10.0-py3-none-any.whl (2.5 MB)
     |████████████████████████████████| 2.5 MB 3.3 MB/s
Requirement already satisfied: s3fs<0.5,>=0.2.2 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from orion-ml) (0.4.2)
Collecting azure-cognitiveservices-anomalydetector<0.4,>=0.3
  Using cached azure_cognitiveservices_anomalydetector-0.3.0-py2.py3-none-any.whl (15 kB)
Collecting tabulate<0.9,>=0.8.3
  Using cached tabulate-0.8.9-py3-none-any.whl (25 kB)
Requirement already satisfied: pandas<0.25,>=0.23.4 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from orion-ml) (0.24.2)
Collecting numba<0.52,>=0.48
  Downloading numba-0.51.2-cp37-cp37m-win_amd64.whl (2.2 MB)
     |████████████████████████████████| 2.2 MB 31 kB/s
Requirement already satisfied: msrest>=0.5.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from azure-cognitiveservices-anomalydetector<0.4,>=0.3->orion-ml) (0.6.21)
Collecting azure-common~=1.1
  Using cached azure_common-1.1.26-py2.py3-none-any.whl (12 kB)
Requirement already satisfied: scipy>=1.0.1 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from baytune<0.3,>=0.2.3->orion-ml) (1.6.1)
Requirement already satisfied: six>=1.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from baytune<0.3,>=0.2.3->orion-ml) (1.15.0)
Requirement already satisfied: keras-preprocessing>=1.0.5 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from Keras<2.4,>=2.1.6->orion-ml) (1.1.2)
Requirement already satisfied: keras-applications>=1.0.6 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from Keras<2.4,>=2.1.6->orion-ml) (1.0.8)
Requirement already satisfied: pyyaml in c:\users\raunak\.conda\envs\orion\lib\site-packages (from Keras<2.4,>=2.1.6->orion-ml) (5.4.1)
Requirement already satisfied: statsmodels<1,>=0.9.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from mlprimitives<0.3,>=0.2.2->orion-ml) (0.12.2)
Requirement already satisfied: xgboost<1,>=0.72.1 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from mlprimitives<0.3,>=0.2.2->orion-ml) (0.90)
Collecting iso639<0.2,>=0.1.4
  Using cached iso639-0.1.4-py3-none-any.whl
Requirement already satisfied: setuptools>=41.0.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from mlprimitives<0.3,>=0.2.2->orion-ml) (52.0.0.post20210125)
Requirement already satisfied: scikit-image!=0.14.3,<0.15,>=0.13.1 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from mlprimitives<0.3,>=0.2.2->orion-ml) (0.14.5)
Requirement already satisfied: nltk<4,>=3.3 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from mlprimitives<0.3,>=0.2.2->orion-ml) (3.5)
Collecting docutils<0.16,>=0.10
  Using cached docutils-0.15.2-py3-none-any.whl (547 kB)
Requirement already satisfied: tensorflow<2,>=1.11.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from mlprimitives<0.3,>=0.2.2->orion-ml) (1.15.5)
Collecting lightfm<2,>=1.15
  Using cached lightfm-1.16.tar.gz (310 kB)
Collecting featuretools<0.12,>=0.6.1
  Using cached featuretools-0.11.0-py3-none-any.whl (240 kB)
Requirement already satisfied: networkx<3,>=2.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from mlprimitives<0.3,>=0.2.2->orion-ml) (2.5)
Collecting langdetect<2,>=1.0.7
  Using cached langdetect-1.0.8-py3-none-any.whl
Requirement already satisfied: opencv-python<5,>=3.4.0.12 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from mlprimitives<0.3,>=0.2.2->orion-ml) (4.5.1.48)
Requirement already satisfied: python-louvain<0.14,>=0.10 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from mlprimitives<0.3,>=0.2.2->orion-ml) (0.13)
Requirement already satisfied: click>=7.0.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (7.1.2)
Requirement already satisfied: future>=0.16.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (0.18.2)
Requirement already satisfied: distributed>=1.24.2 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (2021.2.0)
Requirement already satisfied: tqdm>=4.32.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (4.58.0)
Requirement already satisfied: psutil>=5.4.8 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (5.8.0)
Requirement already satisfied: cloudpickle>=0.4.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (1.6.0)
Requirement already satisfied: dask>=1.1.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (2021.2.0)
Requirement already satisfied: smart-open>=1.8.4 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (4.2.0)
Requirement already satisfied: sortedcontainers!=2.0.0,!=2.0.1 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from distributed>=1.24.2->featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (2.3.0)
Requirement already satisfied: tornado>=5 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from distributed>=1.24.2->featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (6.1)
Requirement already satisfied: zict>=0.1.3 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from distributed>=1.24.2->featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (2.0.0)
Requirement already satisfied: tblib>=1.6.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from distributed>=1.24.2->featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (1.7.0)
Requirement already satisfied: msgpack>=0.6.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from distributed>=1.24.2->featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (1.0.2)
Requirement already satisfied: toolz>=0.8.2 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from distributed>=1.24.2->featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (0.11.1)
Requirement already satisfied: requests in c:\users\raunak\.conda\envs\orion\lib\site-packages (from lightfm<2,>=1.15->mlprimitives<0.3,>=0.2.2->orion-ml) (2.25.1)
Requirement already satisfied: isodate>=0.6.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from msrest>=0.5.0->azure-cognitiveservices-anomalydetector<0.4,>=0.3->orion-ml) (0.6.0)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from msrest>=0.5.0->azure-cognitiveservices-anomalydetector<0.4,>=0.3->orion-ml) (2020.12.5)
Requirement already satisfied: requests-oauthlib>=0.5.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from msrest>=0.5.0->azure-cognitiveservices-anomalydetector<0.4,>=0.3->orion-ml) (1.3.0)
Requirement already satisfied: decorator>=4.3.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from networkx<3,>=2.0->mlprimitives<0.3,>=0.2.2->orion-ml) (4.4.2)
Requirement already satisfied: joblib in c:\users\raunak\.conda\envs\orion\lib\site-packages (from nltk<4,>=3.3->mlprimitives<0.3,>=0.2.2->orion-ml) (1.0.1)
Requirement already satisfied: regex in c:\users\raunak\.conda\envs\orion\lib\site-packages (from nltk<4,>=3.3->mlprimitives<0.3,>=0.2.2->orion-ml) (2020.11.13)
Collecting llvmlite<0.35,>=0.34.0.dev0
  Downloading llvmlite-0.34.0-cp37-cp37m-win_amd64.whl (15.9 MB)
     |████████████████████████████████| 15.9 MB 3.2 MB/s
Requirement already satisfied: python-dateutil>=2.5.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from pandas<0.25,>=0.23.4->orion-ml) (2.8.1)
Requirement already satisfied: pytz>=2011k in c:\users\raunak\.conda\envs\orion\lib\site-packages (from pandas<0.25,>=0.23.4->orion-ml) (2021.1)
Requirement already satisfied: chardet<5,>=3.0.2 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from requests->lightfm<2,>=1.15->mlprimitives<0.3,>=0.2.2->orion-ml) (4.0.0)
Requirement already satisfied: idna<3,>=2.5 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from requests->lightfm<2,>=1.15->mlprimitives<0.3,>=0.2.2->orion-ml) (2.10)
Requirement already satisfied: oauthlib>=3.0.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from requests-oauthlib>=0.5.0->msrest>=0.5.0->azure-cognitiveservices-anomalydetector<0.4,>=0.3->orion-ml) (3.1.0)
Requirement already satisfied: fsspec>=0.6.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from s3fs<0.5,>=0.2.2->orion-ml) (0.8.7)
Requirement already satisfied: botocore>=1.12.91 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from s3fs<0.5,>=0.2.2->orion-ml) (1.20.19)
Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from botocore>=1.12.91->s3fs<0.5,>=0.2.2->orion-ml) (0.10.0)
Requirement already satisfied: importlib-metadata in c:\users\raunak\.conda\envs\orion\lib\site-packages (from fsspec>=0.6.0->s3fs<0.5,>=0.2.2->orion-ml) (3.7.0)
Requirement already satisfied: PyWavelets>=0.4.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from scikit-image!=0.14.3,<0.15,>=0.13.1->mlprimitives<0.3,>=0.2.2->orion-ml) (1.1.1)
Requirement already satisfied: pillow>=4.3.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from scikit-image!=0.14.3,<0.15,>=0.13.1->mlprimitives<0.3,>=0.2.2->orion-ml) (8.1.1)
Requirement already satisfied: patsy>=0.5 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from statsmodels<1,>=0.9.0->mlprimitives<0.3,>=0.2.2->orion-ml) (0.5.1)
Requirement already satisfied: termcolor>=1.1.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (1.1.0)
Requirement already satisfied: tensorboard<1.16.0,>=1.15.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (1.15.0)
Requirement already satisfied: grpcio>=1.8.6 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (1.36.0)
Requirement already satisfied: protobuf>=3.6.1 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (3.15.3)
Requirement already satisfied: astor>=0.6.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (0.8.1)
Requirement already satisfied: google-pasta>=0.1.6 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (0.2.0)
Requirement already satisfied: opt-einsum>=2.3.2 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (3.3.0)
Requirement already satisfied: tensorflow-estimator==1.15.1 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (1.15.1)
Requirement already satisfied: absl-py>=0.7.0 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (0.11.0)
Requirement already satisfied: wheel>=0.26 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (0.36.2)
Requirement already satisfied: wrapt>=1.11.1 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (1.12.1)
Requirement already satisfied: gast==0.2.2 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (0.2.2)
Requirement already satisfied: werkzeug>=0.11.15 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from tensorboard<1.16.0,>=1.15.0->tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (1.0.1)
Requirement already satisfied: markdown>=2.6.8 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from tensorboard<1.16.0,>=1.15.0->tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (3.3.4)
Requirement already satisfied: heapdict in c:\users\raunak\.conda\envs\orion\lib\site-packages (from zict>=0.1.3->distributed>=1.24.2->featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (1.0.1)
Requirement already satisfied: zipp>=0.5 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from importlib-metadata->fsspec>=0.6.0->s3fs<0.5,>=0.2.2->orion-ml) (3.4.0)
Requirement already satisfied: typing-extensions>=3.6.4 in c:\users\raunak\.conda\envs\orion\lib\site-packages (from importlib-metadata->fsspec>=0.6.0->s3fs<0.5,>=0.2.2->orion-ml) (3.7.4.3)
Building wheels for collected packages: lightfm
  Building wheel for lightfm (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\Raunak\.conda\envs\orion\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Raunak\\AppData\\Local\\Temp\\pip-install-e3lz6zyw\\lightfm_5c6cd8f2a4d942a6a1cb347ed2c4d43e\\setup.py'"'"'; __file__='"'"'C:\\Users\\Raunak\\AppData\\Local\\Temp\\pip-install-e3lz6zyw\\lightfm_5c6cd8f2a4d942a6a1cb347ed2c4d43e\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Raunak\AppData\Local\Temp\pip-wheel-blbompr7'
       cwd: C:\Users\Raunak\AppData\Local\Temp\pip-install-e3lz6zyw\lightfm_5c6cd8f2a4d942a6a1cb347ed2c4d43e\
  Complete output (23 lines):
  Compiling without OpenMP support.
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.7
  creating build\lib.win-amd64-3.7\lightfm
  copying lightfm\cross_validation.py -> build\lib.win-amd64-3.7\lightfm
  copying lightfm\data.py -> build\lib.win-amd64-3.7\lightfm
  copying lightfm\evaluation.py -> build\lib.win-amd64-3.7\lightfm
  copying lightfm\lightfm.py -> build\lib.win-amd64-3.7\lightfm
  copying lightfm\_lightfm_fast.py -> build\lib.win-amd64-3.7\lightfm
  copying lightfm\__init__.py -> build\lib.win-amd64-3.7\lightfm
  creating build\lib.win-amd64-3.7\lightfm\datasets
  copying lightfm\datasets\movielens.py -> build\lib.win-amd64-3.7\lightfm\datasets
  copying lightfm\datasets\stackexchange.py -> build\lib.win-amd64-3.7\lightfm\datasets
  copying lightfm\datasets\_common.py -> build\lib.win-amd64-3.7\lightfm\datasets
  copying lightfm\datasets\__init__.py -> build\lib.win-amd64-3.7\lightfm\datasets
  copying lightfm\_lightfm_fast_no_openmp.c -> build\lib.win-amd64-3.7\lightfm
  copying lightfm\_lightfm_fast_openmp.c -> build\lib.win-amd64-3.7\lightfm
  running build_ext
  building 'lightfm._lightfm_fast_no_openmp' extension
  error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
  ----------------------------------------
  ERROR: Failed building wheel for lightfm
  Running setup.py clean for lightfm
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\Raunak\.conda\envs\orion\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Raunak\\AppData\\Local\\Temp\\pip-install-e3lz6zyw\\lightfm_5c6cd8f2a4d942a6a1cb347ed2c4d43e\\setup.py'"'"'; __file__='"'"'C:\\Users\\Raunak\\AppData\\Local\\Temp\\pip-install-e3lz6zyw\\lightfm_5c6cd8f2a4d942a6a1cb347ed2c4d43e\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
       cwd: C:\Users\Raunak\AppData\Local\Temp\pip-install-e3lz6zyw\lightfm_5c6cd8f2a4d942a6a1cb347ed2c4d43e
  Complete output (3 lines):
  Compiling without OpenMP support.
  running clean
  error: [WinError 2] The system cannot find the file specified
  ----------------------------------------
  ERROR: Failed cleaning build dir for lightfm
Failed to build lightfm
Installing collected packages: urllib3, llvmlite, lightfm, langdetect, Keras, iso639, featuretools, docutils, azure-common, tabulate, pyts, numba, mongoengine, mlprimitives, baytune, azure-cognitiveservices-anomalydetector, orion-ml
  Attempting uninstall: urllib3
    Found existing installation: urllib3 1.26.3
    Uninstalling urllib3-1.26.3:
      Successfully uninstalled urllib3-1.26.3
    Running setup.py install for lightfm ... error
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\Raunak\.conda\envs\orion\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Raunak\\AppData\\Local\\Temp\\pip-install-e3lz6zyw\\lightfm_5c6cd8f2a4d942a6a1cb347ed2c4d43e\\setup.py'"'"'; __file__='"'"'C:\\Users\\Raunak\\AppData\\Local\\Temp\\pip-install-e3lz6zyw\\lightfm_5c6cd8f2a4d942a6a1cb347ed2c4d43e\\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\Raunak\AppData\Local\Temp\pip-record-bmfttnvn\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Raunak\.conda\envs\orion\Include\lightfm'
         cwd: C:\Users\Raunak\AppData\Local\Temp\pip-install-e3lz6zyw\lightfm_5c6cd8f2a4d942a6a1cb347ed2c4d43e\
    Complete output (7 lines):
    Compiling without OpenMP support.
    running install
    running build
    running build_py
    running build_ext
    building 'lightfm._lightfm_fast_no_openmp' extension
    error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\Raunak\.conda\envs\orion\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Raunak\\AppData\\Local\\Temp\\pip-install-e3lz6zyw\\lightfm_5c6cd8f2a4d942a6a1cb347ed2c4d43e\\setup.py'"'"'; __file__='"'"'C:\\Users\\Raunak\\AppData\\Local\\Temp\\pip-install-e3lz6zyw\\lightfm_5c6cd8f2a4d942a6a1cb347ed2c4d43e\\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\Raunak\AppData\Local\Temp\pip-record-bmfttnvn\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Raunak\.conda\envs\orion\Include\lightfm' Check the logs for full command output.
dyuliu commented 3 years ago

Hey,

Can you try to install python 3.6 with anaconda?

Use the following command: conda create -n orion python=3.6

RaunakKumarVerma commented 3 years ago

Hi @dyuliu, Thanks for the reply. I tried the command you mentioned and I was able to create an environment but I am still not able to install Orion using the command "pip install orion-ml".

This is the output I am getting:

... (orion) C:\Users\Raunak>pip install orion-ml Collecting orion-ml Using cached orion_ml-0.1.6-py2.py3-none-any.whl (104 kB) Collecting mlprimitives<0.3,>=0.2.2 Using cached mlprimitives-0.2.5-py2.py3-none-any.whl (180 kB) Requirement already satisfied: h5py<2.11.0,>=2.10.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from orion-ml) (2.10.0) Requirement already satisfied: s3fs<0.5,>=0.2.2 in c:\users\raunak.conda\envs\orion\lib\site-packages (from orion-ml) (0.4.2) Requirement already satisfied: pymongo<4,>=3.7.2 in c:\users\raunak.conda\envs\orion\lib\site-packages (from orion-ml) (3.11.3) Collecting scikit-learn<0.21,>=0.20.1 Using cached scikit_learn-0.20.4-cp36-cp36m-win_amd64.whl (4.8 MB) Collecting numba<0.52,>=0.48 Using cached numba-0.51.2-cp36-cp36m-win_amd64.whl (2.2 MB) Collecting baytune<0.3,>=0.2.3 Using cached baytune-0.2.5-py2.py3-none-any.whl (28 kB) Collecting pandas<0.25,>=0.23.4 Using cached pandas-0.24.2-cp36-cp36m-win_amd64.whl (8.8 MB) Collecting mongoengine<0.17,>=0.16.3 Using cached mongoengine-0.16.3-py3-none-any.whl Collecting Keras<2.4,>=2.1.6 Using cached Keras-2.3.1-py2.py3-none-any.whl (377 kB) Collecting pyts<0.11,>=0.9 Using cached pyts-0.10.0-py3-none-any.whl (2.5 MB) Collecting azure-cognitiveservices-anomalydetector<0.4,>=0.3 Using cached azure_cognitiveservices_anomalydetector-0.3.0-py2.py3-none-any.whl (15 kB) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\users\raunak.conda\envs\orion\lib\site-packages (from orion-ml) (1.25.11) Collecting tabulate<0.9,>=0.8.3 Using cached tabulate-0.8.9-py3-none-any.whl (25 kB) Requirement already satisfied: mlblocks<0.4,>=0.3.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from orion-ml) (0.3.4) Requirement already satisfied: numpy<1.17,>=1.15.4 in c:\users\raunak.conda\envs\orion\lib\site-packages (from orion-ml) (1.16.6) Requirement already satisfied: msrest>=0.5.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from azure-cognitiveservices-anomalydetector<0.4,>=0.3->orion-ml) (0.6.21) Collecting azure-common~=1.1 Using cached azure_common-1.1.26-py2.py3-none-any.whl (12 kB) Requirement already satisfied: six>=1.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from baytune<0.3,>=0.2.3->orion-ml) (1.15.0) Requirement already satisfied: scipy>=1.0.1 in c:\users\raunak.conda\envs\orion\lib\site-packages (from baytune<0.3,>=0.2.3->orion-ml) (1.5.4) Requirement already satisfied: pyyaml in c:\users\raunak.conda\envs\orion\lib\site-packages (from Keras<2.4,>=2.1.6->orion-ml) (5.4.1) Requirement already satisfied: keras-preprocessing>=1.0.5 in c:\users\raunak.conda\envs\orion\lib\site-packages (from Keras<2.4,>=2.1.6->orion-ml) (1.1.2) Requirement already satisfied: keras-applications>=1.0.6 in c:\users\raunak.conda\envs\orion\lib\site-packages (from Keras<2.4,>=2.1.6->orion-ml) (1.0.8) Collecting lightfm<2,>=1.15 Using cached lightfm-1.16.tar.gz (310 kB) Requirement already satisfied: python-louvain<0.14,>=0.10 in c:\users\raunak.conda\envs\orion\lib\site-packages (from mlprimitives<0.3,>=0.2.2->orion-ml) (0.13) Requirement already satisfied: statsmodels<1,>=0.9.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from mlprimitives<0.3,>=0.2.2->orion-ml) (0.12.2) Collecting featuretools<0.12,>=0.6.1 Using cached featuretools-0.11.0-py3-none-any.whl (240 kB) Requirement already satisfied: nltk<4,>=3.3 in c:\users\raunak.conda\envs\orion\lib\site-packages (from mlprimitives<0.3,>=0.2.2->orion-ml) (3.5) Requirement already satisfied: networkx<3,>=2.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from mlprimitives<0.3,>=0.2.2->orion-ml) (2.5) Collecting langdetect<2,>=1.0.7 Using cached langdetect-1.0.8-py3-none-any.whl Requirement already satisfied: scikit-image!=0.14.3,<0.15,>=0.13.1 in c:\users\raunak.conda\envs\orion\lib\site-packages (from mlprimitives<0.3,>=0.2.2->orion-ml) (0.14.5) Collecting iso639<0.2,>=0.1.4 Using cached iso639-0.1.4-py3-none-any.whl Requirement already satisfied: opencv-python<5,>=3.4.0.12 in c:\users\raunak.conda\envs\orion\lib\site-packages (from mlprimitives<0.3,>=0.2.2->orion-ml) (4.5.1.48) Requirement already satisfied: setuptools>=41.0.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from mlprimitives<0.3,>=0.2.2->orion-ml) (52.0.0.post20210125) Requirement already satisfied: tensorflow<2,>=1.11.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from mlprimitives<0.3,>=0.2.2->orion-ml) (1.15.5) Collecting docutils<0.16,>=0.10 Using cached docutils-0.15.2-py3-none-any.whl (547 kB) Requirement already satisfied: xgboost<1,>=0.72.1 in c:\users\raunak.conda\envs\orion\lib\site-packages (from mlprimitives<0.3,>=0.2.2->orion-ml) (0.90) Requirement already satisfied: click>=7.0.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (7.1.2) Requirement already satisfied: future>=0.16.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (0.18.2) Requirement already satisfied: dask>=1.1.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (2021.3.0) Requirement already satisfied: distributed>=1.24.2 in c:\users\raunak.conda\envs\orion\lib\site-packages (from featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (2021.3.0) Requirement already satisfied: cloudpickle>=0.4.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (1.6.0) Requirement already satisfied: psutil>=5.4.8 in c:\users\raunak.conda\envs\orion\lib\site-packages (from featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (5.8.0) Requirement already satisfied: tqdm>=4.32.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (4.59.0) Requirement already satisfied: smart-open>=1.8.4 in c:\users\raunak.conda\envs\orion\lib\site-packages (from featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (4.2.0) Requirement already satisfied: tornado>=5 in c:\users\raunak.conda\envs\orion\lib\site-packages (from distributed>=1.24.2->featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (6.1) Requirement already satisfied: tblib>=1.6.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from distributed>=1.24.2->featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (1.7.0) Requirement already satisfied: toolz>=0.8.2 in c:\users\raunak.conda\envs\orion\lib\site-packages (from distributed>=1.24.2->featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (0.11.1) Requirement already satisfied: zict>=0.1.3 in c:\users\raunak.conda\envs\orion\lib\site-packages (from distributed>=1.24.2->featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (2.0.0) Requirement already satisfied: sortedcontainers!=2.0.0,!=2.0.1 in c:\users\raunak.conda\envs\orion\lib\site-packages (from distributed>=1.24.2->featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (2.3.0) Requirement already satisfied: contextvars in c:\users\raunak.conda\envs\orion\lib\site-packages (from distributed>=1.24.2->featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (2.4) Requirement already satisfied: msgpack>=0.6.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from distributed>=1.24.2->featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (1.0.2) Requirement already satisfied: requests in c:\users\raunak.conda\envs\orion\lib\site-packages (from lightfm<2,>=1.15->mlprimitives<0.3,>=0.2.2->orion-ml) (2.25.1) Requirement already satisfied: requests-oauthlib>=0.5.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from msrest>=0.5.0->azure-cognitiveservices-anomalydetector<0.4,>=0.3->orion-ml) (1.3.0) Requirement already satisfied: isodate>=0.6.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from msrest>=0.5.0->azure-cognitiveservices-anomalydetector<0.4,>=0.3->orion-ml) (0.6.0) Requirement already satisfied: certifi>=2017.4.17 in c:\users\raunak.conda\envs\orion\lib\site-packages (from msrest>=0.5.0->azure-cognitiveservices-anomalydetector<0.4,>=0.3->orion-ml) (2020.6.20) Requirement already satisfied: decorator>=4.3.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from networkx<3,>=2.0->mlprimitives<0.3,>=0.2.2->orion-ml) (4.4.2) Requirement already satisfied: joblib in c:\users\raunak.conda\envs\orion\lib\site-packages (from nltk<4,>=3.3->mlprimitives<0.3,>=0.2.2->orion-ml) (1.0.1) Requirement already satisfied: regex in c:\users\raunak.conda\envs\orion\lib\site-packages (from nltk<4,>=3.3->mlprimitives<0.3,>=0.2.2->orion-ml) (2020.11.13) Requirement already satisfied: llvmlite<0.35,>=0.34.0.dev0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from numba<0.52,>=0.48->orion-ml) (0.34.0) Requirement already satisfied: pytz>=2011k in c:\users\raunak.conda\envs\orion\lib\site-packages (from pandas<0.25,>=0.23.4->orion-ml) (2021.1) Requirement already satisfied: python-dateutil>=2.5.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from pandas<0.25,>=0.23.4->orion-ml) (2.8.1) Requirement already satisfied: idna<3,>=2.5 in c:\users\raunak.conda\envs\orion\lib\site-packages (from requests->lightfm<2,>=1.15->mlprimitives<0.3,>=0.2.2->orion-ml) (2.10) Requirement already satisfied: chardet<5,>=3.0.2 in c:\users\raunak.conda\envs\orion\lib\site-packages (from requests->lightfm<2,>=1.15->mlprimitives<0.3,>=0.2.2->orion-ml) (4.0.0) Requirement already satisfied: oauthlib>=3.0.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from requests-oauthlib>=0.5.0->msrest>=0.5.0->azure-cognitiveservices-anomalydetector<0.4,>=0.3->orion-ml) (3.1.0) Requirement already satisfied: botocore>=1.12.91 in c:\users\raunak.conda\envs\orion\lib\site-packages (from s3fs<0.5,>=0.2.2->orion-ml) (1.20.24) Requirement already satisfied: fsspec>=0.6.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from s3fs<0.5,>=0.2.2->orion-ml) (0.8.7) Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in c:\users\raunak.conda\envs\orion\lib\site-packages (from botocore>=1.12.91->s3fs<0.5,>=0.2.2->orion-ml) (0.10.0) Requirement already satisfied: importlib-metadata in c:\users\raunak.conda\envs\orion\lib\site-packages (from fsspec>=0.6.0->s3fs<0.5,>=0.2.2->orion-ml) (3.7.2) Requirement already satisfied: pillow>=4.3.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from scikit-image!=0.14.3,<0.15,>=0.13.1->mlprimitives<0.3,>=0.2.2->orion-ml) (8.1.2) Requirement already satisfied: PyWavelets>=0.4.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from scikit-image!=0.14.3,<0.15,>=0.13.1->mlprimitives<0.3,>=0.2.2->orion-ml) (1.1.1) Requirement already satisfied: patsy>=0.5 in c:\users\raunak.conda\envs\orion\lib\site-packages (from statsmodels<1,>=0.9.0->mlprimitives<0.3,>=0.2.2->orion-ml) (0.5.1) Requirement already satisfied: grpcio>=1.8.6 in c:\users\raunak.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (1.36.1) Requirement already satisfied: protobuf>=3.6.1 in c:\users\raunak.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (3.15.5) Requirement already satisfied: gast==0.2.2 in c:\users\raunak.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (0.2.2) Requirement already satisfied: absl-py>=0.7.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (0.12.0) Requirement already satisfied: opt-einsum>=2.3.2 in c:\users\raunak.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (3.3.0) Requirement already satisfied: tensorflow-estimator==1.15.1 in c:\users\raunak.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (1.15.1) Requirement already satisfied: tensorboard<1.16.0,>=1.15.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (1.15.0) Requirement already satisfied: wrapt>=1.11.1 in c:\users\raunak.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (1.12.1) Requirement already satisfied: google-pasta>=0.1.6 in c:\users\raunak.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (0.2.0) Requirement already satisfied: astor>=0.6.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (0.8.1) Requirement already satisfied: wheel>=0.26 in c:\users\raunak.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (0.36.2) Requirement already satisfied: termcolor>=1.1.0 in c:\users\raunak.conda\envs\orion\lib\site-packages (from tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (1.1.0) Requirement already satisfied: markdown>=2.6.8 in c:\users\raunak.conda\envs\orion\lib\site-packages (from tensorboard<1.16.0,>=1.15.0->tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (3.3.4) Requirement already satisfied: werkzeug>=0.11.15 in c:\users\raunak.conda\envs\orion\lib\site-packages (from tensorboard<1.16.0,>=1.15.0->tensorflow<2,>=1.11.0->mlprimitives<0.3,>=0.2.2->orion-ml) (1.0.1) Requirement already satisfied: heapdict in c:\users\raunak.conda\envs\orion\lib\site-packages (from zict>=0.1.3->distributed>=1.24.2->featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (1.0.1) Requirement already satisfied: immutables>=0.9 in c:\users\raunak.conda\envs\orion\lib\site-packages (from contextvars->distributed>=1.24.2->featuretools<0.12,>=0.6.1->mlprimitives<0.3,>=0.2.2->orion-ml) (0.15) Requirement already satisfied: zipp>=0.5 in c:\users\raunak.conda\envs\orion\lib\site-packages (from importlib-metadata->fsspec>=0.6.0->s3fs<0.5,>=0.2.2->orion-ml) (3.4.1) Requirement already satisfied: typing-extensions>=3.6.4 in c:\users\raunak.conda\envs\orion\lib\site-packages (from importlib-metadata->fsspec>=0.6.0->s3fs<0.5,>=0.2.2->orion-ml) (3.7.4.3) Building wheels for collected packages: lightfm Building wheel for lightfm (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\Raunak.conda\envs\orion\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Raunak\AppData\Local\Temp\pip-install-49458u5f\lightfm_bc304f9ab92d46e68a66c4363716dffd\setup.py'"'"'; file='"'"'C:\Users\Raunak\AppData\Local\Temp\pip-install-49458u5f\lightfm_bc304f9ab92d46e68a66c4363716dffd\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Raunak\AppData\Local\Temp\pip-wheel-fb60cv0s' cwd: C:\Users\Raunak\AppData\Local\Temp\pip-install-49458u5f\lightfm_bc304f9ab92d46e68a66c4363716dffd\ Complete output (23 lines): Compiling without OpenMP support. running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-3.6 creating build\lib.win-amd64-3.6\lightfm copying lightfm\cross_validation.py -> build\lib.win-amd64-3.6\lightfm copying lightfm\data.py -> build\lib.win-amd64-3.6\lightfm copying lightfm\evaluation.py -> build\lib.win-amd64-3.6\lightfm copying lightfm\lightfm.py -> build\lib.win-amd64-3.6\lightfm copying lightfm_lightfm_fast.py -> build\lib.win-amd64-3.6\lightfm copying lightfm__init.py -> build\lib.win-amd64-3.6\lightfm creating build\lib.win-amd64-3.6\lightfm\datasets copying lightfm\datasets\movielens.py -> build\lib.win-amd64-3.6\lightfm\datasets copying lightfm\datasets\stackexchange.py -> build\lib.win-amd64-3.6\lightfm\datasets copying lightfm\datasets_common.py -> build\lib.win-amd64-3.6\lightfm\datasets copying lightfm\datasets\init__.py -> build\lib.win-amd64-3.6\lightfm\datasets copying lightfm_lightfm_fast_no_openmp.c -> build\lib.win-amd64-3.6\lightfm copying lightfm_lightfm_fast_openmp.c -> build\lib.win-amd64-3.6\lightfm running build_ext building 'lightfm._lightfm_fast_no_openmp' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

ERROR: Failed building wheel for lightfm Running setup.py clean for lightfm ERROR: Command errored out with exit status 1: command: 'C:\Users\Raunak.conda\envs\orion\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Raunak\AppData\Local\Temp\pip-install-49458u5f\lightfm_bc304f9ab92d46e68a66c4363716dffd\setup.py'"'"'; file='"'"'C:\Users\Raunak\AppData\Local\Temp\pip-install-49458u5f\lightfm_bc304f9ab92d46e68a66c4363716dffd\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' clean --all cwd: C:\Users\Raunak\AppData\Local\Temp\pip-install-49458u5f\lightfm_bc304f9ab92d46e68a66c4363716dffd Complete output (3 lines): Compiling without OpenMP support. running clean error: [WinError 2] The system cannot find the file specified

ERROR: Failed cleaning build dir for lightfm Failed to build lightfm Installing collected packages: scikit-learn, pandas, lightfm, langdetect, Keras, iso639, featuretools, docutils, azure-common, tabulate, pyts, numba, mongoengine, mlprimitives, baytune, azure-cognitiveservices-anomalydetector, orion-ml Attempting uninstall: scikit-learn Found existing installation: scikit-learn 0.23.2 Uninstalling scikit-learn-0.23.2: Successfully uninstalled scikit-learn-0.23.2 ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'C:\Users\Raunak\AppData\Local\Temp\pip-uninstall-iparmn1y\_check_build.cp36-win_amd64.pyd' Consider using the --user option or check the permissions.

dyuliu commented 3 years ago

Hi @RaunakKumarVerma , from the error log it turns out that the reason is on the Microsoft visual c++ version.

I am wondering maybe some of the dependencies of orion require you to have mv c++ version >=14.0. I hope this post may help you to resolve the problem. https://stackoverflow.com/questions/44951456/pip-error-microsoft-visual-c-14-0-is-required

RaunakKumarVerma commented 3 years ago

hi @dyuliu, Thank you so much for your help. It is now installed successfully.