iheanyi / bandcamp-dl

Simple python script to download Bandcamp albums
The Unlicense
956 stars 108 forks source link

unable to get local issuer certificate #210

Closed TipperDreaMT closed 3 months ago

TipperDreaMT commented 1 year ago

After running setup.py in powershell using python 3.10. Chardet cannot be found [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)

Installed c:\python310\lib\site-packages\bandcamp_downloader-0.0.15-py3.10.egg Processing dependencies for bandcamp-downloader==0.0.15 Searching for chardet Reading https://pypi.org/simple/chardet/ Download error on https://pypi.org/simple/chardet/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007) -- Some packages may not be found! Couldn't find index page for 'chardet' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.org/simple/ Download error on https://pypi.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007) -- Some packages may not be found! No local packages or working download links found for chardet error: Could not find suitable distribution for Requirement.parse('chardet')

Evolution0 commented 1 year ago

If you installed Python via the Microsoft Store I recommend you remove it and install it the right way.

I've seen this error come up before and its usually caused by a broken Python installation.

TipperDreaMT commented 1 year ago

No, I used the python website, which python version is it confirmed to work with

On Wed, May 31, 2023 at 10:19 PM Anthony Forsberg @.***> wrote:

If you installed Python via the Microsoft Store I recommend you remove it and install it the right way https://www.python.org/downloads/.

I've seen this error come up before and its usually caused by a broken Python installation.

— Reply to this email directly, view it on GitHub https://github.com/iheanyi/bandcamp-dl/issues/210#issuecomment-1571225203, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6AGNANJFXDYSIT6D26RV4TXI732JANCNFSM6AAAAAAYU57NSU . You are receiving this because you authored the thread.Message ID: @.***>

Evolution0 commented 1 year ago

Python 3.4 to the latest.

Are you behind a firewall that would be blocking pypi.org, python.pypi.org, or files.pythonhosted.org?

Try: pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org pip setuptools

Evolution0 commented 3 months ago

Windows/user issue rather than a bandcamp-dl issue, closing.