Advertisement
Guest User

Untitled

a guest
Jan 18th, 2020
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.48 KB | None | 0 0
  1. $pip3 install pyproj
  2. Requirement already satisfied: pyproj in /usr/local/lib/python3.7/site-packages (2.4.2.post1)
  3. ^CERROR: Operation cancelled by user
  4. zuza@MacBook-Pro-Zuzanna audio % pip3 install matplotlib
  5. Requirement already satisfied: matplotlib in /usr/local/lib/python3.7/site-packages (3.0.3)
  6. Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.7/site-packages (from matplotlib) (1.0.1)
  7. Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.7/site-packages (from matplotlib) (0.10.0)
  8. Requirement already satisfied: numpy>=1.10.0 in /usr/local/lib/python3.7/site-packages (from matplotlib) (1.15.4)
  9. 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)
  10. Requirement already satisfied: python-dateutil>=2.1 in /usr/local/lib/python3.7/site-packages (from matplotlib) (2.7.5)
  11. Requirement already satisfied: setuptools in /usr/local/lib/python3.7/site-packages (from kiwisolver>=1.0.1->matplotlib) (41.6.0)
  12. Requirement already satisfied: six in /usr/local/lib/python3.7/site-packages (from cycler>=0.10->matplotlib) (1.12.0)
  13. zuza@MacBook-Pro-Zuzanna audio % pip3 install pygrib
  14. Collecting pygrib
  15. Using cached https://files.pythonhosted.org/packages/f8/10/c0d22eafec62fb5413799a7034ac45f26bfa77405c8527c17869e4c3ee4d/pygrib-2.0.4.tar.gz
  16. Requirement already satisfied: numpy in /usr/local/lib/python3.7/site-packages (from pygrib) (1.15.4)
  17. Building wheels for collected packages: pygrib
  18. Building wheel for pygrib (setup.py) ... error
  19.  
  20. ERROR: Command errored out with exit status 1:
  21. 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
  22. cwd: /private/var/folders/1z/tkg3r4bd2qj219mztkrbh_3m0000gn/T/pip-install-h6658mut/pygrib/
  23. Complete output (25 lines):
  24. /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.
  25. config = _ConfigParser()
  26. running bdist_wheel
  27. running build
  28. running build_py
  29. creating build
  30. creating build/lib.macosx-10.15-x86_64-3.7
  31. copying ncepgrib2.py -> build/lib.macosx-10.15-x86_64-3.7
  32. running build_ext
  33. skipping 'pygrib.c' Cython extension (up-to-date)
  34. building 'pygrib' extension
  35. creating build/temp.macosx-10.15-x86_64-3.7
  36. 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
  37. In file included from pygrib.c:613:
  38. In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
  39. In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
  40. In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821:
  41. /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]
  42. #warning "Using deprecated NumPy API, disable it by " \
  43. ^
  44. pygrib.c:614:10: fatal error: 'grib_api.h' file not found
  45. #include "grib_api.h"
  46. ^~~~~~~~~~~~
  47. 1 warning and 1 error generated.
  48. error: command 'clang' failed with exit status 1
  49. ----------------------------------------
  50. ERROR: Failed building wheel for pygrib
  51. Running setup.py clean for pygrib
  52. Failed to build pygrib
  53. Installing collected packages: pygrib
  54. Running setup.py install for pygrib ... error
  55. ERROR: Command errored out with exit status 1:
  56. 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
  57. cwd: /private/var/folders/1z/tkg3r4bd2qj219mztkrbh_3m0000gn/T/pip-install-h6658mut/pygrib/
  58. Complete output (25 lines):
  59. /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.
  60. config = _ConfigParser()
  61. running install
  62. running build
  63. running build_py
  64. creating build
  65. creating build/lib.macosx-10.15-x86_64-3.7
  66. copying ncepgrib2.py -> build/lib.macosx-10.15-x86_64-3.7
  67. running build_ext
  68. skipping 'pygrib.c' Cython extension (up-to-date)
  69. building 'pygrib' extension
  70. creating build/temp.macosx-10.15-x86_64-3.7
  71. 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
  72. In file included from pygrib.c:613:
  73. In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
  74. In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
  75. In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821:
  76. /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]
  77. #warning "Using deprecated NumPy API, disable it by " \
  78. ^
  79. pygrib.c:614:10: fatal error: 'grib_api.h' file not found
  80. #include "grib_api.h"
  81. ^~~~~~~~~~~~
  82. 1 warning and 1 error generated.
  83. error: command 'clang' failed with exit status 1
  84. ----------------------------------------
  85. 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.
  86. zuza@MacBook-Pro-Zuzanna audio %
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement