Open ManishJu opened 1 year ago
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 /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...
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 pip3 install crepe
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 pip
I have to deliberately include the path to our certificate to avoid these types of errors:
pip install crepe --cert="T:\Path\To\Certificate\OurRootCA.cer"
@yzchen563
Can you access this address? base_url = 'https://github.com/marl/crepe/raw/models/'
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