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

ERROR: Could not find a version that satisfies the requirement pyogg>=0.6.14a1 #96

Open
milahu opened this issue Mar 5, 2022 · 2 comments
Assignees

Comments

@milahu
Copy link

milahu commented Mar 5, 2022

stt requires pyogg with

"pyogg >= 0.6.14a1",

but this throws

$ python3.9 -m pip install ./coqui_stt_training-1.2.0-py3-none-any.whl --no-index --no-warn-script-location --prefix=/nix/store/chgg3xq4w35xnbcz0l3ddvvy6x9ig3l0-python3.9-stt-1.2.0 --no-cache
Processing ./coqui_stt_training-1.2.0-py3-none-any.whl
Requirement already satisfied: coqpit in /nix/store/zjqmk1l5j53j315zwibl5ibsib97c4dr-python3.9-coqpit-0.0.14/lib/python3.9/site-packages (from coqui-stt-training==1.2.0) (0.0.14)
ERROR: Could not find a version that satisfies the requirement pyogg>=0.6.14a1 (from coqui-stt-training) (from versions: none)
ERROR: No matching distribution found for pyogg>=0.6.14a1

why?

setup.py says version='0.6.13a1' (13 != 14)

workaround: fix version in setup.py

sed -i "s/version='0.6.13a1'/version='0.6.14a1'/" setup.py
@Zuzu-Typ
Copy link
Collaborator

Zuzu-Typ commented Mar 5, 2022

Hi there milahu,

unfortunately, I was unable to reproduce the problem you ran into. The files downloaded via pip should be taken directly from the PyPI.
If you take a look at the source code (specifically the setup.py file), you may notice it only officially supports Python <= 3.8.

# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',

There is no particular reason why it should not support any more recent Python versions. It's just not been updated in quite a while. I don't think pip actually checks this, but I don't know for certain.
You may also notice that the version number is indeed correct in that particular setup.py file.

version='0.6.14a1',

The reason for this is simple. I used to publish all my libraries manually from my local machine and often forgot to push the version change.
As for why there has not been an update for so long, well I have a lot of stuff on my to-do list already and I only get to work on that when I have free time (which there is also not very much of lately).
I haven't heard from @mattgwwalker, but I'm sure he also has other stuff to do.

Could you please try downloading the source release from PyPI directly and installing it manually via pip?

@Zuzu-Typ Zuzu-Typ self-assigned this Mar 5, 2022
@milahu
Copy link
Author

milahu commented Mar 5, 2022

that was way more attention that this issue deserves ^^
i just wanted to share my workaround, in the rare case that someone else runs into the same error
but yeah, using source from pypi should work

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

No branches or pull requests

2 participants