-
Notifications
You must be signed in to change notification settings - Fork 160
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
SSL Error when installing crepe #95
Comments
I also met this error |
I meet the same error. Do you have some ways to solve the problem? @RuinianChen @ManishJu |
@yzchen563 Did you by any chance attempt to install crepe on MacOS? I reinstalled python on my machine and there were no more issues. |
Thanks for your attention! I meet this problem on MACOS actually.
But in my opinion, it's not the OS related problem. If i remembered the analysis in that time rightly, the root issue is the missing pre-trained crepe models, whose URLs are fixed in installed package. These models had been on a github repository, but it wasn't there already.
You can try to validate that by adding a line url printing code in the position just before reporting the network related error.
Am i right?
…---Original---
From: "Jalik ***@***.***>
Date: Thu, Sep 21, 2023 19:00 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [marl/crepe] SSL Error when installing crepe (Issue #95)
@yzchen563 Did you by any chance attempt to install crepe on MacOS? I reinstalled python on my machine and there were no more issues.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@yzchen563 Yes, it's not an issue with the OS, but somehow some ssl certificate configs are kind of weird when installing python on mac. You may have a look at this post. But I also realized that my python installations are all over the place (some in |
It's amazing, I am using miniconda. I will try your solution. Ok or not, i will answer you soon.
…---Original---
From: "Jalik ***@***.***>
Date: Thu, Sep 21, 2023 19:24 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [marl/crepe] SSL Error when installing crepe (Issue #95)
@yzchen563 Yes, it's not an issue with the OS, but somehow some ssl certificate configs are kind of weird when installing python on mac. You may have a look at this post.
But I also realized that my python installations are all over the place (some in /opt/homebrew/bin, others in /Applications/Python 3.x) so I just decided to do a clean installation using homebrew. Everything works fine now, no missing pre-trained models...
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Sorry, my apologies. The command or parameters used to install "crepe" cannot be found in my brew search. Could you please let me know what command or parameters you used to install it?
…---Original---
From: "Jalik ***@***.***>
Date: Thu, Sep 21, 2023 19:24 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [marl/crepe] SSL Error when installing crepe (Issue #95)
@yzchen563 Yes, it's not an issue with the OS, but somehow some ssl certificate configs are kind of weird when installing python on mac. You may have a look at this post.
But I also realized that my python installations are all over the place (some in /opt/homebrew/bin, others in /Applications/Python 3.x) so I just decided to do a clean installation using homebrew. Everything works fine now, no missing pre-trained models...
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I just did a regular |
Still URLRrror:
urllib.error.URLError: <urlopen error [Errno 61] Connection refused>
Downloading weight file model-tiny.h5.bz2 ...
…---Original---
From: "Jalik ***@***.***>
Date: Thu, Sep 21, 2023 19:54 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [marl/crepe] SSL Error when installing crepe (Issue #95)
I just did a regular pip3 install crepe
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Oh dear.. did you attempt to reinstall python on your machine though? If you haven't and are okay with it, then you may try this guide. I used vscode to check for all existing python versions that are installed on my machine, uninstalled most of them and reinstalled using homebrew. I also used venv to create my virtual environment when pip installing crepe. Hopefully that will work 🤞 |
In setup.py file of repository https://github.com/marl/crepe
Can you access this address?
base_url = 'https://github.com/marl/crepe/raw/models/'
…---Original---
From: "Jalik ***@***.***>
Date: Thu, Sep 21, 2023 19:54 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [marl/crepe] SSL Error when installing crepe (Issue #95)
I just did a regular pip3 install crepe
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Not sure if this will be helpful, but my employer uses SSL encryption, and so every time I use |
The URL doesn't seem to be the problem. There's nothing at the base URL, but you should be able to access https://github.com/marl/crepe/raw/models/model-tiny.h5.bz2, https://github.com/marl/crepe/raw/models/model-small.h5.bz2, etc From what I can tell, this looks like a certificate-related issue on MacOS related to how Python is installed |
The text was updated successfully, but these errors were encountered: