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

Possibility to upgrade version of pip? #21

Open
makesbuckets opened this issue Jul 8, 2023 · 0 comments
Open

Possibility to upgrade version of pip? #21

makesbuckets opened this issue Jul 8, 2023 · 0 comments

Comments

@makesbuckets
Copy link

First off... tremendous project here! It's been straightforward to get up and running so far, much appreciated.

I was looking to try and install libs like pandas and psycopg2 and went through the instructions go generating the embedded files. I was successful with the instructions to install a simpler lib like python-dotenv, however I am finding myself stuck with these other libs.

The general error message I see looks like:

ERROR: Could not find a version that satisfies the requirement psycopg2 (from versions: none)
ERROR: No matching distribution found for psycopg2

Somehow this error feels flaky at times. I've never seen go generate ./... succeed when including psycopg2 (and usually that failure is accompanied by this error message a few times). I have seen generate succeed when it was just pandas listed in requirements.txt, even though that same error message would pop up (but re: pandas instead of psycopg2).

The other warning I'll mention as possible context here is I also see the output:

[notice] A new release of pip is available: 23.0 -> 23.1.2
[notice] To update, run: /tmp/python-pip-darwin-amd64-macosx_11_0_x86_64/bin/python3 -m pip install --upgrade pip

And noticed that here seems to be where the version is fixed to 23.0.

I guess a few questions:

  • is it possible that it's just as simple as "use the latest pip and be able to install all these packages"?
  • is there some other underlying reason I can't use the psycopg2 lib?
  • is there a way quiet down the "No matching distribution..." error logs when they are non-fatal?
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

1 participant