You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to install package pygrib.
Error contains: eccodes not found which I installed using conda. Microsoft Visual C++ 14.0 or greater is required. which also I have installed.
--proof:
Here is the complete error:
Building wheels for collected packages: pygrib
Building wheel for pygrib (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pygrib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
eccodes not found, build may fail...
running bdist_wheel
running build
running build_py
creating build\lib.win-amd64-cpython-311\pygrib
copying src\pygrib\__init__.py -> build\lib.win-amd64-cpython-311\pygrib
running build_ext
<string>:18: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
C:\Users\Lenovo\AppData\Local\Temp\pip-build-env-mn706q2z\overlay\Lib\site-packages\Cython\Compiler\Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: C:\Users\Lenovo\AppData\Local\Temp\pip-install-oyr7x6e1\pygrib_df6a9faaa73c4c9989f7dd1248ac782d\src\pygrib\_pygrib.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
warning: src\pygrib\_pygrib.pyx:358:12: Unreachable code
Compiling src/pygrib/_pygrib.pyx because it changed.
[1/1] Cythonizing src/pygrib/_pygrib.pyx
building 'pygrib._pygrib' 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/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pygrib
Failed to build pygrib
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pygrib)
The text was updated successfully, but these errors were encountered:
Unable to install package pygrib.
Error contains:
eccodes not found
which I installed using conda.Microsoft Visual C++ 14.0 or greater is required.
which also I have installed.--proof:
Here is the complete error:
The text was updated successfully, but these errors were encountered: