ERROR: Could not find a version that satisfies the requirement Colors-and-Styles (from versions: none)

Question:
I made a PyPI library and I’m getting an error while trying to install it:

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

I’m guessing I have to wait a while or something, since I just uploaded the package.

Repl link:
https://replit.com/@QwertyQwerty54/Colors-and-Styles

1 Like

Yeah, I had this when I first uploaded my first package, you just have to wait for replit to see that it’s there I think.

2 Likes

Idea for a temporary fix:
Run poetry add Colors-and-Styles in the Shell
This will run it through poetry rather than pip and might work?

It likely will take a minute to be fully published, it’s the same with NPM for example, it might appear on NPM in a couple of minutes, but you’ll still need to wait a little while before the package is actually fully installable and usable.

Doesn’t poetry use pip? So it won’t change anything…?

1 Like

Backend wise yes, so it would not change anything

Replit has a pypi package prxy, so it takes from 1h-1d to update.

My recommended solution is to install it from your git repo so you don’t have to wait for updates to reach replit. (If you have a git repo)

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.