Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install esgprep with pip #78

Open
sashakames opened this issue Oct 6, 2022 · 2 comments
Open

Can't install esgprep with pip #78

sashakames opened this issue Oct 6, 2022 · 2 comments

Comments

@sashakames
Copy link
Contributor

Any workarounds to install esgprep into a new environment? I get this error using pip:

  ERROR: Command errored out with exit status 1:
   command: /opt/conda/envs/esgprep/bin/python2.7 /opt/conda/envs/esgprep/lib/python2.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-GzxCCx/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=41.2' cython wheel oldest-supported-numpy
       cwd: None
  Complete output (9 lines):
  DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  Collecting setuptools>=41.2
    Downloading setuptools-44.1.1-py2.py3-none-any.whl (583 kB)
  Collecting cython
    Downloading Cython-0.29.32-cp27-cp27mu-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.9 MB)
  Collecting wheel
    Downloading wheel-0.37.1-py2.py3-none-any.whl (35 kB)
  ERROR: Could not find a version that satisfies the requirement oldest-supported-numpy (from versions: none)
  ERROR: No matching distribution found for oldest-supported-numpy
  ----------------------------------------
ERROR: Command errored out with exit status 1: /opt/conda/envs/esgprep/bin/python2.7 /opt/conda/envs/esgprep/lib/python2.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-GzxCCx/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=41.2' cython wheel oldest-supported-numpy Check the logs for full command output.
@tkettenba
Copy link

Are you sure about 'numpy' requirement? Why not just pip install -r requirements.txt?

Just had a look at the 'oldest-supported-numpy' setup.cfg. It works with python>=3.5.

BR,
Thomas

@sashakames
Copy link
Contributor Author

pip install esgprep remains broken. I was able to manually install from source by relaxing the cftime version, setup.py had it pinned which made the release not future proof.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants