paopre / Spontini

A text-combined-with-graphic music editor for creating professional scores with LilyPond
GNU General Public License v3.0
76 stars 7 forks source link

Installation not completed #10

Closed aelehandaro closed 2 years ago

aelehandaro commented 2 years ago

I run the SpontiniServer.py and wait. Then I get the following,

2021-10-26 16:23:37 [I] Virtual environment missing. Creating a new one... 2021-10-26 16:24:15 [S] Venv Created 2021-10-26 16:24:15 [I] 2021-10-26 16:24:15 [I] *** Upgrading pip *** 2021-10-26 16:24:25 [I] 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("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping 2021-10-26 16:24:25 [I] Requirement already up-to-date: pip in c:\users\aelej\desktop\spontini-1.0\lib\python\spontinivenv\lib\site-packages (19.2.3) 2021-10-26 16:24:26 [I] 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("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping 2021-10-26 16:24:26 [I] WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 2021-10-26 16:24:26 [I] WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/ 2021-10-26 16:24:26 [I] WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/ 2021-10-26 16:24:26 [I] WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/ 2021-10-26 16:24:26 [I] WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/ 2021-10-26 16:24:26 [I] WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/ 2021-10-26 16:24:26 [I] WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 2021-10-26 16:24:26 [I] 2021-10-26 16:24:26 [I] *** Checking required modules *** 2021-10-26 16:24:30 [I] Collecting wheel==0.36.1 2021-10-26 16:24:39 [I] Could not fetch URL https://pypi.org/simple/wheel/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/wheel/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping 2021-10-26 16:24:39 [I] 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("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping 2021-10-26 16:24:39 [E] WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 2021-10-26 16:24:39 [E] WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/wheel/ 2021-10-26 16:24:39 [E] WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/wheel/ 2021-10-26 16:24:39 [E] WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/wheel/ 2021-10-26 16:24:39 [E] WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/wheel/ 2021-10-26 16:24:39 [E] WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/wheel/ 2021-10-26 16:24:39 [E] ERROR: Could not find a version that satisfies the requirement wheel==0.36.1 (from versions: none) 2021-10-26 16:24:39 [E] ERROR: No matching distribution found for wheel==0.36.1 2021-10-26 16:24:39 [E] WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 2021-10-26 16:24:39 [E] 2021-10-26 16:24:39 [C] Installation not completed

It says is using pip 21.0.1 from \Anaconda3\lib\site-packages\pip (python 3.7)

paopre commented 2 years ago

You have to use an official python install, not Anaconda. Please let me know if this fixes the issue.

paopre commented 2 years ago

Doesn't happen with a proper (official) installation of Python 3

aelehandaro commented 2 years ago

I figured. Though I do have an "official" python 3 installation installed in my computer. What do I have to do so that the Spontini installer uses this instead of the Anaconda version?

paopre commented 2 years ago

I figured. Though I do have an "official" python 3 installation installed in my computer. What do I have to do so that the Spontini installer uses this instead of the Anaconda version?

You can call it through its path: path/to/official/python/executable/python3 SpontiniServer.py

If you want to call it directly, without the path, it depends on the operating system you are using. On Ubuntu, for example, here's a how to:

https://stackoverflow.com/questions/24664435/use-the-default-python-rather-than-the-anaconda-installation-when-called-from-th

On Windows or Mac do Google "call default python instead of Anaconda Windows(mac)", there are many guides