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

No way to install stressrnn with the new onnxruntime above 1.6.0 #6

Open
Uzer1 opened this issue Jul 13, 2021 · 2 comments
Open

No way to install stressrnn with the new onnxruntime above 1.6.0 #6

Uzer1 opened this issue Jul 13, 2021 · 2 comments

Comments

@Uzer1
Copy link

Uzer1 commented Jul 13, 2021

Hello.
StressRNN is limited to ONNXRuntime version 1.6 or lower.
It's impossible to install it now. The oldest version available is 1.7.0.
I input this:

pip3 install git+https://github.com/Desklop/StressRNN

And I get this:

C:\Users\PC>pip3 install git+https://github.com/Desklop/StressRNN
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/Desklop/StressRNN
  Cloning https://github.com/Desklop/StressRNN to c:\users\pc\appdata\local\temp
\pip-req-build-1u9fsecf
  Running command git clone -q https://github.com/Desklop/StressRNN 'C:\Users\PC
\AppData\Local\Temp\pip-req-build-1u9fsecf'
Requirement already satisfied: numpy>=1.16.0 in c:\program files\python39\lib\si
te-packages (from stressrnn==0.2.0) (1.21.0)
Collecting h5py<=2.10.0
  Using cached h5py-2.10.0.tar.gz (301 kB)
Requirement already satisfied: pymorphy2[fast]>=0.8 in c:\program files\python39
\lib\site-packages (from stressrnn==0.2.0) (0.9.1)
ERROR: Could not find a version that satisfies the requirement onnxruntime<=1.6
(from stressrnn) (from versions: 1.7.0, 1.8.0, 1.8.1)
ERROR: No matching distribution found for onnxruntime<=1.6

How to use it now that this version 1.6 is no longer available?
I need this to launch Silero text-to-speech.

@Uzer1
Copy link
Author

Uzer1 commented Jul 13, 2021

https://pypi.org/project/onnxruntime/1.6.0/#files
I could install onnxruntime ver. 1.6.0 from a wheel file from this link.

onnxruntime-1.6.0-cp38-cp38-win_amd64.whl (4.2 MB)

This one.

Pip install py -m pip install "C:\Users\PC\Desktop\onnxruntime-1.6.0-cp38-cp38-win_amd64.whl"

It works with Python 3.8 only, it's in the title — CP38.

I am generating that Silero voice now, so it worked. Other modules also were hard to install, however.

@snnn
Copy link

snnn commented Jul 13, 2021

cross ref: microsoft/onnxruntime#8365

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