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

Unable to install latest 0.9.0 version through pip #170

Closed
aidanberry12 opened this issue Oct 12, 2022 · 7 comments
Closed

Unable to install latest 0.9.0 version through pip #170

aidanberry12 opened this issue Oct 12, 2022 · 7 comments

Comments

@aidanberry12
Copy link

aidanberry12 commented Oct 12, 2022

Using the latest version of pip 22.2.2 I am unable to install the most recent zEpid 0.9.0 release on python 3.7.0

pip install -Iv zepid==0.9.0

ERROR: Could not find a version that satisfies the requirement zepid==0.9.0 (from versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.5, 0.1.6, 0.2.0, 0.2.1, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.5.0, 0.5.1, 0.5.2, 0.6.0, 0.6.1, 0.7.0, 0.7.1, 0.7.2, 0.8.0, 0.8.1, 0.8.2) ERROR: No matching distribution found for zepid==0.9.0

@aidanberry12 aidanberry12 changed the title Unable to install latest 0.0.0 version through pip Unable to install latest 0.9.0 version through pip Oct 12, 2022
@pzivich
Copy link
Owner

pzivich commented Oct 12, 2022

What happens if you run pip install zepid? 0.9.0 is the latest available version, so pip should install that version by default.

It's been awhile since I've had to do much with pip, what's the -Iv flag for? If you have a previous install of zepid in your 3.7.0, you might need to uninstall first before you can use the version specific flag (I think)

@aidanberry12
Copy link
Author

When running pip install zepid it installs version 0.8.2 by default even after uninstalling previously installed versions of zEpid. The -Iv flag on the pip install is just for verbose install. I get the same error without these flags.

@pzivich
Copy link
Owner

pzivich commented Oct 13, 2022

So zepid==0.9.0 should be available to 3.7.0 (version of a package not available for a Python verion is how I've had that error comes up before in other contexts). I can try testing on one of my machines (I probably can't get to this week since I need to get 3.7.0 with that version of pip together). What OS is this happening on?

While I try to figure out the source of the issue, a simple solution to get 0.9.0 on your machine is to locally install. The way to do that is

  • Clone the GitHub repo to your machine.
  • Open command prompt (windows) or terminal (mac/linux)
  • Navigate to the folder, like cd file/path/to/zEpid
  • Run python -m pip install .

That last command should have pip call the setup.py file in the zEpid folder and install zepid manually. To make sure the correct version was installed, you can run

import zepid
print(zepid.__version__)

which should print 0.9.0 if everything was successful

I would also uninstall the current version of zepid on your machine before doing the local install approach (I don't think it will cause any issues but just to avoid any potential version conflicts).

@aidanberry12
Copy link
Author

The manual install outlined above works, but I would like to be able to install through pip normally for reproducibility and dependency management. The OS for this error is Red Hat Enterprise License (RHEL) 7.9. Thanks!

@pzivich
Copy link
Owner

pzivich commented Oct 13, 2022

absolutely, I just wanted to give you a quick fix while I try to figure out what's going wrong with the pip install

@pzivich pzivich mentioned this issue Oct 23, 2022
5 tasks
@pzivich
Copy link
Owner

pzivich commented Oct 23, 2022

Hi @aidanberry12 I put out v0.9.1, which only had some very minor changes. Can you see if that version is available for you?

I was able to successfully install v0.9.1 on Python 3.7.0 on a few different OS (but not RHEL as I don't have any machines running that currently)

@aidanberry12
Copy link
Author

Hi Paul. I have verified the latest 0.9.1 version installs on linux and windows, but the RHEL install still doesn't work and it can only find up to 0.8..2. This could definitely be an issue with our enterprise firewall since the successful installs were on my personal computer. Thanks for checking back in on this!

@pzivich pzivich closed this as completed May 8, 2023
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