pip-inspect.txt
Your name
Tuomas Koskela
Your affiliation
UCL
What happened? What did you expect to happen?
I am using Ubuntu-24.04 with python 3.12.3 and pip 24.0. I tried to pip install geoschem-gcpy in a venv virtual environment with
python3 -m venv python_envs/geoschem
source python_envs/geoschem/bin/activate
pip install geoschem-gcpy
Pip install fails with an error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
Traceback (most recent call last):
File "/home/tkoskela/python_envs/geoschem/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/home/tkoskela/python_envs/geoschem/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/tkoskela/python_envs/geoschem/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-1dnuhtgm/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-1dnuhtgm/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-1dnuhtgm/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
File "<string>", line 35, in <module>
ImportError: cannot import name 'convert_path' from 'setuptools' (/tmp/pip-build-env-1dnuhtgm/overlay/lib/python3.12/site-packages/setuptools/__init__.py)
[end of output]
I've tried to fix the version of geoschem-gcpy that I'm installing, that leads to a different error
pip install geoschem-gcpy==1.7.1
Collecting geoschem-gcpy==1.7.1
Using cached geoschem_gcpy-1.7.1-py3-none-any.whl.metadata (1.7 kB)
Collecting cartopy==0.24.0 (from geoschem-gcpy==1.7.1)
Using cached Cartopy-0.24.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.9 kB)
Collecting cf_xarray==0.10.0 (from geoschem-gcpy==1.7.1)
Using cached cf_xarray-0.10.0-py3-none-any.whl.metadata (16 kB)
Collecting dask==2025.3.0 (from geoschem-gcpy==1.7.1)
Using cached dask-2025.3.0-py3-none-any.whl.metadata (3.8 kB)
INFO: pip is looking at multiple versions of geoschem-gcpy to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement esmf==8.8.1 (from geoschem-gcpy) (from versions: none)
ERROR: No matching distribution found for esmf==8.8.1
$ pip install geoschem-gcpy==1.6.2
Collecting geoschem-gcpy==1.6.2
Using cached geoschem_gcpy-1.6.2-py3-none-any.whl.metadata (1.7 kB)
Collecting cartopy==0.23.0 (from geoschem-gcpy==1.6.2)
Using cached Cartopy-0.23.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (8.0 kB)
Collecting cf_xarray==0.9.1 (from geoschem-gcpy==1.6.2)
Using cached cf_xarray-0.9.1-py3-none-any.whl.metadata (16 kB)
Collecting dask==2025.3.0 (from geoschem-gcpy==1.6.2)
Using cached dask-2025.3.0-py3-none-any.whl.metadata (3.8 kB)
INFO: pip is looking at multiple versions of geoschem-gcpy to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement esmf==8.6.1 (from geoschem-gcpy) (from versions: none)
ERROR: No matching distribution found for esmf==8.6.1
What are the steps to reproduce the bug?
python3 -m venv python_envs/geoschem
source python_envs/geoschem/bin/activate
pip install geoschem-gcpy
Please attach any relevant configuration and log files.
No response
What GCPy version were you using?
Default from pypi, 1.7.1, 1.6.2
What environment were you running GCPy on?
Personal computer
What python environment were you using?
I start from a clean python3 venv. See the attached file pip-inspect.txt for details
Will you be addressing this bug yourself?
Yes
Additional information
No response
pip-inspect.txt
Your name
Tuomas Koskela
Your affiliation
UCL
What happened? What did you expect to happen?
I am using Ubuntu-24.04 with python 3.12.3 and pip 24.0. I tried to
pip install geoschem-gcpyin avenvvirtual environment withPip install fails with an error
I've tried to fix the version of
geoschem-gcpythat I'm installing, that leads to a different errorWhat are the steps to reproduce the bug?
Please attach any relevant configuration and log files.
No response
What GCPy version were you using?
Default from pypi, 1.7.1, 1.6.2
What environment were you running GCPy on?
Personal computer
What python environment were you using?
I start from a clean python3 venv. See the attached file pip-inspect.txt for details
Will you be addressing this bug yourself?
Yes
Additional information
No response