Installation trouble of Smuthi Package

753 views
Skip to first unread message

Liberman, Vladimir - 1006 - MITLL

unread,
Oct 24, 2021, 6:28:52 PM10/24/21
to smu...@googlegroups.com

I am using Windows 10

I have created a new Conda environment.

I tried installing Smuthi, but I get an error

python -m pip install smuthi

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)'))': /simple/smuthi/

WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)'))': /simple/smuthi/

WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)'))': /simple/smuthi/

WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)'))': /simple/smuthi/

WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)'))': /simple/smuthi/

Could not fetch URL https://pypi.org/simple/smuthi/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/smuthi/ (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)'))) - skipping

ERROR: Could not find a version that satisfies the requirement smuthi

ERROR: No matching distribution found for smuthi

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(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)'))) - skipping

Vlad Liberman

 

Staff  Member, Active Optical Systems Group
MIT Lincoln Laboratory               E-mail: vl...@ll.mit.edu
Room S3-357                             Phone: 781 981 3706

                                                Cell: 339 368 9811
244 Wood St.                           
Lexington, MA
02421-6426

 

Liberman, Vladimir - 1006 - MITLL

unread,
Oct 24, 2021, 6:50:34 PM10/24/21
to smu...@googlegroups.com

Here is what happens when I tried to download the package from the repository and use the local install command. Another error

(smuthi) C:\smuthi-master>python -m pip install -e .

Obtaining file:///C:/smuthi-master

  Installing build dependencies ... error

  ERROR: Command errored out with exit status 1:

   command: 'C:\Users\VL16177\Anaconda3\envs\smuthi\python.exe' 'C:\Users\VL16177\Anaconda3\envs\smuthi\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\VL16177\AppData\Local\Temp\2\pip-build-env-_lk1q46o\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'numpy>=1.19.3' setuptools wheel

       cwd: None

  Complete output (9 lines):

  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)'))': /simple/numpy/

  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)'))': /simple/numpy/

  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)'))': /simple/numpy/

  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)'))': /simple/numpy/

  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)'))': /simple/numpy/

  Could not fetch URL https://pypi.org/simple/numpy/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/numpy/ (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)'))) - skipping

  ERROR: Could not find a version that satisfies the requirement numpy>=1.19.3

  ERROR: No matching distribution found for numpy>=1.19.3

  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(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)'))) - skipping

  ----------------------------------------

WARNING: Discarding file:///C:/smuthi-master. Command errored out with exit status 1: 'C:\Users\VL16177\Anaconda3\envs\smuthi\python.exe' 'C:\Users\VL16177\Anaconda3\envs\smuthi\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\VL16177\AppData\Local\Temp\2\pip-build-env-_lk1q46o\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'numpy>=1.19.3' setuptools wheel Check the logs for full command output.

ERROR: Command errored out with exit status 1: 'C:\Users\VL16177\Anaconda3\envs\smuthi\python.exe' 'C:\Users\VL16177\Anaconda3\envs\smuthi\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\VL16177\AppData\Local\Temp\2\pip-build-env-_lk1q46o\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'numpy>=1.19.3' setuptools wheel Check the logs for full command output.

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(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)'))) - skipping

 

Vlad Liberman

 

Staff  Member, Active Optical Systems Group
MIT Lincoln Laboratory               E-mail: vl...@ll.mit.edu
Room S3-357                             Phone: 781 981 3706

                                                Cell: 339 368 9811
244 Wood St.                           
Lexington, MA
02421-6426

 

--
Smuthi project repository: https://gitlab.com/AmosEgel/smuthi
Online documentation https://smuthi.readthedocs.io/en/latest/
---
You received this message because you are subscribed to the Google Groups "Smuthi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smuthi+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/smuthi/PH2P110MB08900C109988321A88581B54E1829%40PH2P110MB0890.NAMP110.PROD.OUTLOOK.COM.

Amos Egel

unread,
Oct 25, 2021, 5:01:42 AM10/25/21
to Liberman, Vladimir - 1006 - MITLL, smu...@googlegroups.com
Hey Vlad,
Could you please try to install any other package through pip, e.g. "python -m pip install pyyaml"? I guess that the same will happen.
If yo, maybe this StackOverflow post can help you to sort things out.
Cheers, Amos

Vlad L

unread,
Oct 25, 2021, 8:39:33 AM10/25/21
to Amos Egel, Liberman, Vladimir - 1006 - MITLL, smu...@googlegroups.com
Thanks for the suggestion. I figured it out. The problem was my proxies. Fixed them and was able to download and install and execute the package from the command line with 'python mycode.py'

ONE FOLLOW ON QUESTION: I tried running some examples from Jupyter and they don't seem to run well (as opposed to the command line). Is that a well known problem or is it something on my end as well?

Reply all
Reply to author
Forward
0 new messages