Proj version 0.0.0 is installed, but cartopy requires at least version 8.0.0.
Description
The shell command pip install cartopy led to several errors, again related to proj, this time on Windows 10.
I'd already filed another issue, which happened on Lubuntu due to some other reasons.
This time on Windows 10, I tried to install all the necessary dependencies respecting the official cartopy docs, with as always proj being the most complicated one:
- I went to osgeo4w - download repo,
- downloaded the
osgeo4w-setup-x86_64-v1.exe, - followed the proj - install instructions (see attached screenshot as installation proof),
- and tested it in the osgeo4w - Shell (see attached screenshot).
Yet, the cartopy is warning me consistently that Proj version 0.0.0 is installed, but cartopy requires at least version 8.0.0.
More details in the entire error traceback below.
Code to reproduce
pip install cartopy
Traceback
From pip install cartopy 2> error_log_install_cartopy.txt I obtained:
Click to open the entire error traceback of all cartopy versions which were tried to be installed
ERROR: Command errored out with exit status 1: command: 'c:\users\username\downloads\downloads\scripts\python.exe' 'c:\users\username\downloads\downloads\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' get_requires_for_build_wheel 'C:\Users\ANDREA~1.LUC\AppData\Local\Temp\tmp7qt5lxne' cwd: C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_a598a32b6d204733ba38a1f1a86c0187 Complete output (5 lines): setup.py:117: UserWarning: Unable to determine GEOS version. Ensure you have 3.7.2 or later installed, or installation may fail. warnings.warn( setup.py:166: UserWarning: Unable to determine Proj version. Ensure you have 8.0.0 or later installed, or installation may fail. warnings.warn( Proj version 0.0.0 is installed, but cartopy requires at least version 8.0.0.
WARNING: Discarding https://files.pythonhosted.org/packages/fc/59/aa52698e3838f4cd0e7eaa75bd86837e9e0b05041dbdaee3cda2fffced06/Cartopy-0.20.1.tar.gz#sha256=91f87b130e2574547a20cd634498df97d797abd12dcfd0235bc0cdbcec8b05e3 (from https://pypi.org/simple/cartopy/) (requires-python:>=3.7). Command errored out with exit status 1: 'c:\users\username\downloads\downloads\scripts\python.exe' 'c:\users\username\downloads\downloads\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' get_requires_for_build_wheel 'C:\Users\ANDREA~1.LUC\AppData\Local\Temp\tmp7qt5lxne' Check the logs for full command output. ERROR: Command errored out with exit status 1: command: 'c:\users\username\downloads\downloads\scripts\python.exe' 'c:\users\username\downloads\downloads\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' get_requires_for_build_wheel 'C:\Users\ANDREA~1.LUC\AppData\Local\Temp\tmpc_y0tmfu' cwd: C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_b9cbc5987bc54ece8f14b58d20de0b1b Complete output (5 lines): setup.py:117: UserWarning: Unable to determine GEOS version. Ensure you have 3.7.2 or later installed, or installation may fail. warnings.warn( setup.py:166: UserWarning: Unable to determine Proj version. Ensure you have 8.0.0 or later installed, or installation may fail. warnings.warn( Proj version 0.0.0 is installed, but cartopy requires at least version 8.0.0.
WARNING: Discarding https://files.pythonhosted.org/packages/0f/c0/58453b036e79046d211f083880d58dcce787e7e07647ac25dc46c6555099/Cartopy-0.20.0.tar.gz#sha256=eae58aff26806e63cf115b2bce9477cedc4aa9f578c5e477b2c25cfa404f2b7a (from https://pypi.org/simple/cartopy/) (requires-python:>=3.7). Command errored out with exit status 1: 'c:\users\username\downloads\downloads\scripts\python.exe' 'c:\users\username\downloads\downloads\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' get_requires_for_build_wheel 'C:\Users\ANDREA~1.LUC\AppData\Local\Temp\tmpc_y0tmfu' Check the logs for full command output. ERROR: Command errored out with exit status 1: command: 'c:\users\username\downloads\downloads\scripts\python.exe' 'c:\users\username\downloads\downloads\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' get_requires_for_build_wheel 'C:\Users\ANDREA~1.LUC\AppData\Local\Temp\tmpsp9j6hz1' cwd: C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_78e8d5070c6f41359d1237e687a1c840 Complete output (5 lines): setup.py:117: UserWarning: Unable to determine GEOS version. Ensure you have 3.3.3 or later installed, or installation may fail. warnings.warn( setup.py:166: UserWarning: Unable to determine Proj version. Ensure you have 4.9.0 or later installed, or installation may fail. warnings.warn( Proj version 0.0.0 is installed, but cartopy requires at least version 4.9.0.
WARNING: Discarding https://files.pythonhosted.org/packages/ed/ca/524ce33692df3faeaa56852fb6a33b0b410be94cc288417565b96fef3f64/Cartopy-0.19.0.post1.tar.gz#sha256=4b8b4773a98ed7009fe17d9b6ec87ac3ac62b7d14634d7768c190eadc647d576 (from https://pypi.org/simple/cartopy/) (requires-python:>=3.5). Command errored out with exit status 1: 'c:\users\username\downloads\downloads\scripts\python.exe' 'c:\users\username\downloads\downloads\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' get_requires_for_build_wheel 'C:\Users\ANDREA~1.LUC\AppData\Local\Temp\tmpsp9j6hz1' Check the logs for full command output.
ERROR: Command errored out with exit status 1:
command: 'c:\users\username\downloads\downloads\scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_a0db49f279b944f08bb5d58bb1f26718\setup.py'"'"'; file='"'"'C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_a0db49f279b944f08bb5d58bb1f26718\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\username\AppData\Local\Temp\pip-pip-egg-info-5e4tuc35'
cwd: C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_a0db49f279b944f08bb5d58bb1f26718
Complete output (5 lines):
C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_a0db49f279b944f08bb5d58bb1f26718\setup.py:104: UserWarning: Unable to determine GEOS version. Ensure you have 3.3.3 or later installed, or installation may fail.
warnings.warn(
C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_a0db49f279b944f08bb5d58bb1f26718\setup.py:157: UserWarning: Unable to determine Proj version. Ensure you have 4.9.0 or later installed, or installation may fail.
warnings.warn(
Proj version 0.0.0 is installed, but cartopy requires at least version 4.9.0.
WARNING: Discarding https://files.pythonhosted.org/packages/46/c1/04e50c9986842f00f7db0e7a65caa896840050d7328f74e5b7437aa01179/Cartopy-0.18.0.tar.gz#sha256=7ffa317e8f8011e0d965a3ef1179e57a049f77019867ed677d49dcc5c0744434 (from https://pypi.org/simple/cartopy/) (requires-python:>=2.7, !=3.0., !=3.1., !=3.2., !=3.3., !=3.4.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Command errored out with exit status 1: command: 'c:\users\username\downloads\downloads\scripts\python.exe' 'c:\users\username\downloads\downloads\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' get_requires_for_build_wheel 'C:\Users\ANDREA~1.LUC\AppData\Local\Temp\tmpogianq23' cwd: C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_c86afd5465694e50b31e94b87892dcd1 Complete output (5 lines): setup.py:168: UserWarning: Unable to determine GEOS version. Ensure you have 3.3.3 or later installed, or installation may fail. warnings.warn( setup.py:224: UserWarning: Unable to determine Proj version. Ensure you have 4.9.0 or later installed, or installation may fail. warnings.warn( Proj version 0.0.0 is installed, but cartopy requires at least version 4.9.0.
WARNING: Discarding https://files.pythonhosted.org/packages/e5/92/fe8838fa8158931906dfc4f16c5c1436b3dd2daf83592645b179581403ad/Cartopy-0.17.0.tar.gz#sha256=424bd9e9ddef6e48cbdee694ce589ec431be8591f15b6cb93cb2b333a29b2c61 (from https://pypi.org/simple/cartopy/). Command errored out with exit status 1: 'c:\users\username\downloads\downloads\scripts\python.exe' 'c:\users\username\downloads\downloads\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' get_requires_for_build_wheel 'C:\Users\ANDREA~1.LUC\AppData\Local\Temp\tmpogianq23' Check the logs for full command output.
ERROR: Command errored out with exit status 1:
command: 'c:\users\username\downloads\downloads\scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_560f3acbabd042eeac0b0a20d4539712\setup.py'"'"'; file='"'"'C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_560f3acbabd042eeac0b0a20d4539712\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\username\AppData\Local\Temp\pip-pip-egg-info-w2qdbvc8'
cwd: C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_560f3acbabd042eeac0b0a20d4539712
Complete output (5 lines):
C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_560f3acbabd042eeac0b0a20d4539712\setup.py:175: UserWarning: Unable to determine GEOS version. Ensure you have 3.3.3 or later installed, or installation may fail.
warnings.warn(
C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_560f3acbabd042eeac0b0a20d4539712\setup.py:231: UserWarning: Unable to determine Proj4 version. Ensure you have 4.9.0 or later installed, or installation may fail.
warnings.warn(
Proj4 version 0.0.0 is installed, but cartopy requires at least version 4.9.0.
WARNING: Discarding https://files.pythonhosted.org/packages/f5/7a/4a16db7c81f11b3c5889c5b913d9a5724c704a6947c5a87ec59c4a8985ac/Cartopy-0.16.0.tar.gz#sha256=f23dffa101f43dd91e866a49ebb5f5048be2a24ab8a921a5c07edabde746d9a4 (from https://pypi.org/simple/cartopy/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1:
command: 'c:\users\username\downloads\downloads\scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_37bf54e617cb404fba9f21cd998d9264\setup.py'"'"'; file='"'"'C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_37bf54e617cb404fba9f21cd998d9264\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\username\AppData\Local\Temp\pip-pip-egg-info-s96lip7j'
cwd: C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_37bf54e617cb404fba9f21cd998d9264
Complete output (5 lines):
C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_37bf54e617cb404fba9f21cd998d9264\setup.py:184: UserWarning: Unable to determine GEOS version. Ensure you have 3.3.3 or later installed, or installation may fail.
warnings.warn(
C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_37bf54e617cb404fba9f21cd998d9264\setup.py:240: UserWarning: Unable to determine Proj4 version. Ensure you have 4.9.0 or later installed, or installation may fail.
warnings.warn(
Proj4 version 0.0.0 is installed, but cartopy requires at least version 4.9.0.
WARNING: Discarding https://files.pythonhosted.org/packages/ee/6c/992e03af5a93c1b81d644a3fa0b0c43c4f8ccc9bc69837de46490f8dc3da/Cartopy-0.15.1.tar.gz#sha256=bb8a084055c38bc895b2fe094262753813e6fc7221ef2c1fc87ec1ff302f3c09 (from https://pypi.org/simple/cartopy/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1:
command: 'c:\users\username\downloads\downloads\scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_21acaeedf29b45c7b2d2a8d6724a9957\setup.py'"'"'; file='"'"'C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_21acaeedf29b45c7b2d2a8d6724a9957\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\username\AppData\Local\Temp\pip-pip-egg-info-smnqtpte'
cwd: C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_21acaeedf29b45c7b2d2a8d6724a9957
Complete output (5 lines):
C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_21acaeedf29b45c7b2d2a8d6724a9957\setup.py:171: UserWarning: Unable to determine GEOS version. Ensure you have 3.3.3 or later installed, or installation may fail.
warnings.warn(
C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_21acaeedf29b45c7b2d2a8d6724a9957\setup.py:227: UserWarning: Unable to determine Proj4 version. Ensure you have 4.9.0 or later installed, or installation may fail.
warnings.warn(
Proj4 version 0.0.0 is installed, but cartopy requires at least version 4.9.0.
WARNING: Discarding https://files.pythonhosted.org/packages/00/30/be768605774919e7571b72520b332f61fd307490923283292836872cb7a1/Cartopy-0.14.2.tar.gz#sha256=a7059587b91989ac42649f3d02aefbb4d3fd53ebb10ada34c007235820a000e7 (from https://pypi.org/simple/cartopy/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1:
command: 'c:\users\username\downloads\downloads\scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_30856b4d6bac4cbda0cc76d7bff593a7\setup.py'"'"'; file='"'"'C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_30856b4d6bac4cbda0cc76d7bff593a7\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\username\AppData\Local\Temp\pip-pip-egg-info-l1a5yr06'
cwd: C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_30856b4d6bac4cbda0cc76d7bff593a7
Complete output (5 lines):
C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_30856b4d6bac4cbda0cc76d7bff593a7\setup.py:171: UserWarning: Unable to determine GEOS version. Ensure you have 3.3.3 or later installed, or installation may fail.
warnings.warn(
C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_30856b4d6bac4cbda0cc76d7bff593a7\setup.py:227: UserWarning: Unable to determine Proj4 version. Ensure you have 4.9.0 or later installed, or installation may fail.
warnings.warn(
Proj4 version 0.0.0 is installed, but cartopy requires at least version 4.9.0.
WARNING: Discarding https://files.pythonhosted.org/packages/ec/31/22528383a32ae03e31cee883173db7a5bcaa9452b0eeb94d6fd2cfa0fbde/Cartopy-0.14.0.tar.gz#sha256=2a3d26cb9c3af237209f9b3a3b0f50920dad9ab5ac4def0c468004c02f725df8 (from https://pypi.org/simple/cartopy/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1:
command: 'c:\users\username\downloads\downloads\scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_3c697d5bd85b4d9db7eb35ee2daa208e\setup.py'"'"'; file='"'"'C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_3c697d5bd85b4d9db7eb35ee2daa208e\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\username\AppData\Local\Temp\pip-pip-egg-info-fz3utcws'
cwd: C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_3c697d5bd85b4d9db7eb35ee2daa208e
Complete output (5 lines):
C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_3c697d5bd85b4d9db7eb35ee2daa208e\setup.py:165: UserWarning: Unable to determine GEOS version. Ensure you have 3.3.3 or later installed, or installation may fail.
warnings.warn(
C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_3c697d5bd85b4d9db7eb35ee2daa208e\setup.py:221: UserWarning: Unable to determine Proj4 version. Ensure you have 4.8.0 or later installed, or installation may fail.
warnings.warn(
Proj4 version 0.0.0 is installed, but cartopy requires at least version 4.8.0.
WARNING: Discarding https://files.pythonhosted.org/packages/57/42/ceb8bc7120998fcbeab9563f947ec3f334a0585afda6273a60e94e8d0792/Cartopy-0.13.1.tar.gz#sha256=779a75cd4a5553489cd71e4506685247d6ac94017a7979a50d09306b43e8d7ff (from https://pypi.org/simple/cartopy/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1:
command: 'c:\users\username\downloads\downloads\scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_d1242ae373b44ed482409b7c66d9d9f7\setup.py'"'"'; file='"'"'C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_d1242ae373b44ed482409b7c66d9d9f7\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\username\AppData\Local\Temp\pip-pip-egg-info-319n0zh4'
cwd: C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_d1242ae373b44ed482409b7c66d9d9f7
Complete output (5 lines):
C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_d1242ae373b44ed482409b7c66d9d9f7\setup.py:162: UserWarning: Unable to determine GEOS version. Ensure you have 3.3.3 or later installed, or installation may fail.
warnings.warn(
C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_d1242ae373b44ed482409b7c66d9d9f7\setup.py:218: UserWarning: Unable to determine Proj4 version. Ensure you have 4.8.0 or later installed, or installation may fail.
warnings.warn(
Proj4 version 0.0.0 is installed, but cartopy requires at least version 4.8.0.
WARNING: Discarding https://files.pythonhosted.org/packages/32/81/8da9f2307971b5ae0c2e32763267814a91dcb3f0762432befcf37df7d16d/Cartopy-0.13.0.tar.gz#sha256=e8301460c5b5f9e57fa8de91772cfdf0360a04bbcd77ab102c3e678ad81a5474 (from https://pypi.org/simple/cartopy/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1:
command: 'c:\users\username\downloads\downloads\scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_baaa12d3ade84827811abb344e43726d\setup.py'"'"'; file='"'"'C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_baaa12d3ade84827811abb344e43726d\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\username\AppData\Local\Temp\pip-pip-egg-info-zkx2d3me'
cwd: C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_baaa12d3ade84827811abb344e43726d
Complete output (5 lines):
C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_baaa12d3ade84827811abb344e43726d\setup.py:162: UserWarning: Unable to determine GEOS version. Ensure you have 3.3.3 or later installed, or installation may fail.
warnings.warn(
C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_baaa12d3ade84827811abb344e43726d\setup.py:218: UserWarning: Unable to determine Proj4 version. Ensure you have 4.8.0 or later installed, or installation may fail.
warnings.warn(
Proj4 version 0.0.0 is installed, but cartopy requires at least version 4.8.0.
WARNING: Discarding https://files.pythonhosted.org/packages/9a/b1/9723f24ddc542b14c86e233a93fdc2c1cf424c57b526160eeb45f454edc4/Cartopy-0.12.0.5.tar.gz#sha256=2c19a14f788fda4b6648995de3b38e02fc4fe46ee0156d01ddacfb32594a980c (from https://pypi.org/simple/cartopy/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1:
command: 'c:\users\username\downloads\downloads\scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_1bc8568cf0a64bfb87b44de539f4e284\setup.py'"'"'; file='"'"'C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_1bc8568cf0a64bfb87b44de539f4e284\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\username\AppData\Local\Temp\pip-pip-egg-info-kq08sej0'
cwd: C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_1bc8568cf0a64bfb87b44de539f4e284
Complete output (5 lines):
C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_1bc8568cf0a64bfb87b44de539f4e284\setup.py:162: UserWarning: Unable to determine GEOS version. Ensure you have 3.3.3 or later installed, or installation may fail.
warnings.warn(
C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_1bc8568cf0a64bfb87b44de539f4e284\setup.py:218: UserWarning: Unable to determine Proj4 version. Ensure you have 4.8.0 or later installed, or installation may fail.
warnings.warn(
Proj4 version 0.0.0 is installed, but cartopy requires at least version 4.8.0.
WARNING: Discarding https://files.pythonhosted.org/packages/6c/fa/e4c45bd9c78e43f78d30b8d5e6fb884c045b017af51499f0b919ed8ce72c/Cartopy-0.12.0.4.tar.gz#sha256=f2796874bd1d8abf6b65324acd38f15f731a4ad1b0e9a806bf14036c946c4c87 (from https://pypi.org/simple/cartopy/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1:
command: 'c:\users\username\downloads\downloads\scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_50f23f596e5c44b4a5140a3b37082cb5\setup.py'"'"'; file='"'"'C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_50f23f596e5c44b4a5140a3b37082cb5\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\username\AppData\Local\Temp\pip-pip-egg-info-2vjvo4b_'
cwd: C:\Users\username\AppData\Local\Temp\pip-install-el6irvid\cartopy_50f23f596e5c44b4a5140a3b37082cb5
Complete output (7 lines):
running egg_info
creating C:\Users\username\AppData\Local\Temp\pip-pip-egg-info-2vjvo4b_\Cartopy.egg-info
writing C:\Users\username\AppData\Local\Temp\pip-pip-egg-info-2vjvo4b_\Cartopy.egg-info\PKG-INFO
writing dependency_links to C:\Users\username\AppData\Local\Temp\pip-pip-egg-info-2vjvo4b_\Cartopy.egg-info\dependency_links.txt
writing top-level names to C:\Users\username\AppData\Local\Temp\pip-pip-egg-info-2vjvo4b_\Cartopy.egg-info\top_level.txt
writing manifest file 'C:\Users\username\AppData\Local\Temp\pip-pip-egg-info-2vjvo4b_\Cartopy.egg-info\SOURCES.txt'
error: package directory 'lib\cartopy\crs' does not exist
WARNING: Discarding https://files.pythonhosted.org/packages/1b/8e/ee4545577e897d0e45ee136513a28688abcb0dc4f26f9132177ec627c7ce/cartopy-0.11.0.tar.gz#sha256=85eb55d6ce16be5f7e745fcc2870b3fa7450db3a77899daade8b18711532be45 (from https://pypi.org/simple/cartopy/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Could not find a version that satisfies the requirement cartopy (from versions: 0.11.0, 0.12.0.4, 0.12.0.5, 0.13.0, 0.13.1, 0.14.0, 0.14.2, 0.15.1, 0.16.0, 0.17.0, 0.18.0b1, 0.18.0b2, 0.18.0rc1, 0.18.0, 0.19.0rc1, 0.19.0.post1, 0.20.0, 0.20.1) ERROR: No matching distribution found for cartopy
Full environment definition
Operating system
Windows 10
Cartopy versions failed to install
$ pip install cartopy 2> error_log_install_cartopy.txt
Collecting cartopy
Using cached Cartopy-0.20.1.tar.gz (10.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
Using cached Cartopy-0.20.0.tar.gz (10.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
Using cached Cartopy-0.19.0.post1.tar.gz (12.1 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
Using cached Cartopy-0.18.0.tar.gz (14.4 MB)
Preparing metadata (setup.py) ... error
Using cached Cartopy-0.17.0.tar.gz (8.9 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
Using cached Cartopy-0.16.0.tar.gz (8.8 MB)
Preparing metadata (setup.py) ... error
Using cached Cartopy-0.15.1.tar.gz (8.2 MB)
Preparing metadata (setup.py) ... error
Using cached Cartopy-0.14.2.tar.gz (8.4 MB)
Preparing metadata (setup.py) ... error
Using cached Cartopy-0.14.0.tar.gz (8.4 MB)
Preparing metadata (setup.py) ... error
Using cached Cartopy-0.13.1.tar.gz (7.7 MB)
Preparing metadata (setup.py) ... error
Using cached Cartopy-0.13.0.tar.gz (7.7 MB)
Preparing metadata (setup.py) ... error
Using cached Cartopy-0.12.0.5.tar.gz (7.7 MB)
Preparing metadata (setup.py) ... error
Using cached Cartopy-0.12.0.4.tar.gz (7.7 MB)
Preparing metadata (setup.py) ... error
Using cached cartopy-0.11.0.tar.gz (7.7 MB)
Preparing metadata (setup.py) ... error
pip list
Package Version
--------------------- ------------
arrow 1.2.1
astroid 2.9.0
bandit 1.7.1
beautifulsoup4 4.10.0
branca 0.4.2
bs4 0.0.1
certifi 2021.10.8
charset-normalizer 2.0.9
click 8.0.3
colorama 0.4.4
cycler 0.11.0
Cython 0.29.25
dnspython 2.1.0
docopt 0.6.2
docutils 0.18.1
fett 0.3.2
flake8 4.0.1
Flask 2.0.2
folium 0.12.1.post1
fonttools 4.28.4
geojson 2.5.0
geojsoncontour 0.4.0
geos 0.2.3
gitdb 4.0.9
GitPython 3.1.24
idna 3.3
isort 5.10.1
itsdangerous 2.0.1
Jinja2 3.0.3
kiwisolver 1.3.2
lazy-object-proxy 1.7.0
lxml 4.7.1
MarkupSafe 2.0.1
matplotlib 3.5.1
mccabe 0.6.1
networkx 2.6.3
numpy 1.21.4
packaging 21.3
pandas 1.3.5
pbr 5.8.0
Pillow 8.4.0
pip 21.3.1
platformdirs 2.4.0
plotly 5.4.0
proj 0.2.0
py4j 0.10.9.2
pycodestyle 2.8.0
pyflakes 2.4.0
pykdtree 1.3.4
pylint 2.12.2
pymongo 3.12.3
pyparsing 3.0.6
pyproj 3.3.0
pyshp 2.1.3
pyspark 3.2.0
python-dateutil 2.8.2
python-jsonrpc-server 0.3.4
pytz 2021.3
PyYAML 5.4.1
requests 2.26.0
salem 0.3.7
scipy 1.7.3
Send2Trash 1.8.0
setuptools 49.2.1
Shapely 1.8.0
six 1.16.0
smmap 5.0.0
snooty-lextudio 1.11.5
soupsieve 2.3.1
stevedore 3.5.0
tenacity 8.0.1
toml 0.10.2
tqdm 4.62.3
typing_extensions 4.0.1
urllib3 1.26.7
watchdog 1.0.2
Werkzeug 2.0.2
wheel 0.37.0
wrapt 1.13.3
xarray 0.20.2