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

pip install error #687

Closed
sureshphdau opened this issue Apr 18, 2024 · 4 comments
Closed

pip install error #687

sureshphdau opened this issue Apr 18, 2024 · 4 comments

Comments

@sureshphdau
Copy link

I am unable to install mikeio in recently installed Anaconda application.
Throwing the following error. Any suggestions please.

pip install mikeio
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)'))': /simple/mikeio/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)'))': /simple/mikeio/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)'))': /simple/mikeio/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)'))': /simple/mikeio/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)'))': /simple/mikeio/
Could not fetch URL https://pypi.org/simple/mikeio/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/mikeio/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)'))) - skipping
ERROR: Could not find a version that satisfies the requirement mikeio (from versions: none)
ERROR: No matching distribution found for mikeio
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)'))) - skipping

@bhlevca
Copy link

bhlevca commented Apr 18, 2024 via email

@sureshphdau
Copy link
Author

I did not try with conda, I tried the following command in python command prompt.

pip install mikeio

It results the above error.

@bhlevca
Copy link

bhlevca commented Apr 18, 2024

I did not try with conda, I tried the following command in the Python command prompt.

You mentioned Anaconda as you can see in the quoted line above. It means that you have Conda installed. You are not giving enough information about your environment. Therefore, the answer refers to the information you have provided.

Until you provide enough information about your Python environment, we can only guess.
In terms of Python, you need to have a Python environment from https://Python.org and it is better to create a separate virtual environment for your application using python -m venv venv and use it after activating it with venv\Scripts\activate

I tried your command in Windows Powershell and it works just fine. You need to fix your Python environment first.

@ecomodeller
Copy link
Member

This problem is not related to MIKEIO, i.e. it is not something we can fix.

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

3 participants