Hello,
I was able to install the combocurve api package for python on my machine a few months back, but for some reason it’s not working on my coworker’s computer.
We tried running pip install combocurve-api-v1 directly in jupyter lab and also in the anaconda prompt and pip is saying it’s likely an issue with the package. Getting the error below.
Could we get some help with this?
Thanks!
(base) C:>pip install combocurve-api-v1
Collecting combocurve-api-v1
Using cached combocurve_api_v1-0.2.6-py3-none-any.whl.metadata (3.7 kB)
Collecting cffi==1.15.1 (from combocurve-api-v1)
Using cached cffi-1.15.1.tar.gz (508 kB)
Preparing metadata (setup.py) … error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [24 lines of output]
Traceback (most recent call last):
File “”, line 2, in
File “”, line 34, in
File “C:\Users\tgreen\AppData\Local\Temp\pip-install-wgvzmmkb\cffi_8d45b1c759084d1bbfa22bfe4282fc53\setup.py”, line 126, in
if sys.platform == “win32” and uses_msvc():
^^^^^^^^^^^
File “C:\Users\tgreen\AppData\Local\Temp\pip-install-wgvzmmkb\cffi_8d45b1c759084d1bbfa22bfe4282fc53\setup.py”, line 105, in uses_msvc
return config.try_compile(‘#ifndef _MSC_VER\n#error “not MSVC”\n#endif’)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\tgreen\AppData\Local\anaconda3\Lib\site-packages\setuptools_distutils\command\config.py”, line 220, in try_compile
self._compile(body, headers, include_dirs, lang)
File “C:\Users\tgreen\AppData\Local\anaconda3\Lib\site-packages\setuptools_distutils\command\config.py”, line 132, in _compile
self.compiler.compile([src], include_dirs=include_dirs)
File “C:\Users\tgreen\AppData\Local\anaconda3\Lib\site-packages\setuptools_distutils_msvccompiler.py”, line 343, in compile
self.initialize()
File “C:\Users\tgreen\AppData\Local\anaconda3\Lib\site-packages\setuptools_distutils_msvccompiler.py”, line 253, in initialize
vc_env = _get_vc_env(plat_spec)
^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\tgreen\AppData\Local\anaconda3\Lib\site-packages\setuptools\msvc.py”, line 230, in msvc14_get_vc_env
return _msvc14_get_vc_env(plat_spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\tgreen\AppData\Local\anaconda3\Lib\site-packages\setuptools\msvc.py”, line 187, in _msvc14_get_vc_env
raise distutils.errors.DistutilsPlatformError(“Unable to find vcvarsall.bat”)
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.