Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $pip3 install pyproj
- Requirement already satisfied: pyproj in /usr/local/lib/python3.7/site-packages (2.4.2.post1)
- ^CERROR: Operation cancelled by user
- zuza@MacBook-Pro-Zuzanna audio % pip3 install matplotlib
- Requirement already satisfied: matplotlib in /usr/local/lib/python3.7/site-packages (3.0.3)
- Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.7/site-packages (from matplotlib) (1.0.1)
- Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.7/site-packages (from matplotlib) (0.10.0)
- Requirement already satisfied: numpy>=1.10.0 in /usr/local/lib/python3.7/site-packages (from matplotlib) (1.15.4)
- Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /usr/local/lib/python3.7/site-packages (from matplotlib) (2.3.1)
- Requirement already satisfied: python-dateutil>=2.1 in /usr/local/lib/python3.7/site-packages (from matplotlib) (2.7.5)
- Requirement already satisfied: setuptools in /usr/local/lib/python3.7/site-packages (from kiwisolver>=1.0.1->matplotlib) (41.6.0)
- Requirement already satisfied: six in /usr/local/lib/python3.7/site-packages (from cycler>=0.10->matplotlib) (1.12.0)
- zuza@MacBook-Pro-Zuzanna audio % pip3 install pygrib
- Collecting pygrib
- Using cached https://files.pythonhosted.org/packages/f8/10/c0d22eafec62fb5413799a7034ac45f26bfa77405c8527c17869e4c3ee4d/pygrib-2.0.4.tar.gz
- Requirement already satisfied: numpy in /usr/local/lib/python3.7/site-packages (from pygrib) (1.15.4)
- Building wheels for collected packages: pygrib
- Building wheel for pygrib (setup.py) ... error
- ERROR: Command errored out with exit status 1:
- command: /usr/local/opt/python/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/1z/tkg3r4bd2qj219mztkrbh_3m0000gn/T/pip-install-h6658mut/pygrib/setup.py'"'"'; __file__='"'"'/private/var/folders/1z/tkg3r4bd2qj219mztkrbh_3m0000gn/T/pip-install-h6658mut/pygrib/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 /private/var/folders/1z/tkg3r4bd2qj219mztkrbh_3m0000gn/T/pip-wheel-8vflncx8 --python-tag cp37
- cwd: /private/var/folders/1z/tkg3r4bd2qj219mztkrbh_3m0000gn/T/pip-install-h6658mut/pygrib/
- Complete output (25 lines):
- /private/var/folders/1z/tkg3r4bd2qj219mztkrbh_3m0000gn/T/pip-install-h6658mut/pygrib/setup.py:41: DeprecationWarning: The SafeConfigParser class has been renamed to ConfigParser in Python 3.2. This alias will be removed in future versions. Use ConfigParser directly instead.
- config = _ConfigParser()
- running bdist_wheel
- running build
- running build_py
- creating build
- creating build/lib.macosx-10.15-x86_64-3.7
- copying ncepgrib2.py -> build/lib.macosx-10.15-x86_64-3.7
- running build_ext
- skipping 'pygrib.c' Cython extension (up-to-date)
- building 'pygrib' extension
- creating build/temp.macosx-10.15-x86_64-3.7
- clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/lib/python3.7/site-packages/numpy/core/include -Ig2clib_src -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c pygrib.c -o build/temp.macosx-10.15-x86_64-3.7/pygrib.o
- In file included from pygrib.c:613:
- In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
- In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
- In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821:
- /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
- #warning "Using deprecated NumPy API, disable it by " \
- ^
- pygrib.c:614:10: fatal error: 'grib_api.h' file not found
- #include "grib_api.h"
- ^~~~~~~~~~~~
- 1 warning and 1 error generated.
- error: command 'clang' failed with exit status 1
- ----------------------------------------
- ERROR: Failed building wheel for pygrib
- Running setup.py clean for pygrib
- Failed to build pygrib
- Installing collected packages: pygrib
- Running setup.py install for pygrib ... error
- ERROR: Command errored out with exit status 1:
- command: /usr/local/opt/python/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/1z/tkg3r4bd2qj219mztkrbh_3m0000gn/T/pip-install-h6658mut/pygrib/setup.py'"'"'; __file__='"'"'/private/var/folders/1z/tkg3r4bd2qj219mztkrbh_3m0000gn/T/pip-install-h6658mut/pygrib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/1z/tkg3r4bd2qj219mztkrbh_3m0000gn/T/pip-record-fk0v5xyb/install-record.txt --single-version-externally-managed --compile
- cwd: /private/var/folders/1z/tkg3r4bd2qj219mztkrbh_3m0000gn/T/pip-install-h6658mut/pygrib/
- Complete output (25 lines):
- /private/var/folders/1z/tkg3r4bd2qj219mztkrbh_3m0000gn/T/pip-install-h6658mut/pygrib/setup.py:41: DeprecationWarning: The SafeConfigParser class has been renamed to ConfigParser in Python 3.2. This alias will be removed in future versions. Use ConfigParser directly instead.
- config = _ConfigParser()
- running install
- running build
- running build_py
- creating build
- creating build/lib.macosx-10.15-x86_64-3.7
- copying ncepgrib2.py -> build/lib.macosx-10.15-x86_64-3.7
- running build_ext
- skipping 'pygrib.c' Cython extension (up-to-date)
- building 'pygrib' extension
- creating build/temp.macosx-10.15-x86_64-3.7
- clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/lib/python3.7/site-packages/numpy/core/include -Ig2clib_src -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c pygrib.c -o build/temp.macosx-10.15-x86_64-3.7/pygrib.o
- In file included from pygrib.c:613:
- In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
- In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
- In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821:
- /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
- #warning "Using deprecated NumPy API, disable it by " \
- ^
- pygrib.c:614:10: fatal error: 'grib_api.h' file not found
- #include "grib_api.h"
- ^~~~~~~~~~~~
- 1 warning and 1 error generated.
- error: command 'clang' failed with exit status 1
- ----------------------------------------
- ERROR: Command errored out with exit status 1: /usr/local/opt/python/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/1z/tkg3r4bd2qj219mztkrbh_3m0000gn/T/pip-install-h6658mut/pygrib/setup.py'"'"'; __file__='"'"'/private/var/folders/1z/tkg3r4bd2qj219mztkrbh_3m0000gn/T/pip-install-h6658mut/pygrib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/1z/tkg3r4bd2qj219mztkrbh_3m0000gn/T/pip-record-fk0v5xyb/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
- zuza@MacBook-Pro-Zuzanna audio %
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement