Closed sureshphdau closed 2 months ago
Mikeio is installed with pip, it is not supported with conda anymore.
Bogdan
On Thu, Apr 18, 2024, 10:43 Suresh @.***> wrote:
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
— Reply to this email directly, view it on GitHub https://github.com/DHI/mikeio/issues/687, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABMRXU5KSW2VTRGAAJU6T3Y57LZBAVCNFSM6AAAAABGNNRXHSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TAOBXHA3TIOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I did not try with conda, I tried the following command in python command prompt.
pip install mikeio
It results the above error.
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.
This problem is not related to MIKEIO, i.e. it is not something we can fix.
I am unable to install mikeio in recently installed Anaconda application. Throwing the following error. Any suggestions please.