NREL / ReEDS-2.0

https://nrel.github.io/ReEDS-2.0/
GNU General Public License v3.0
125 stars 19 forks source link

Issues with installation #13

Closed glarange closed 3 years ago

glarange commented 3 years ago

Getting the following error below when attempting pip install gdxpds. Can you please advise? Must say I installed Anaconda Python 3.8. Could that be the problem? Thanks.

C:\Users\student\Documents\ReEDS_OpenAccess-master>pip install gdxpds
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
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/gdxpds/
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/gdxpds/
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/gdxpds/
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/gdxpds/
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/gdxpds/
Could not fetch URL https://pypi.org/simple/gdxpds/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/gdxpds/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement gdxpds (from versions: none)
ERROR: No matching distribution found for gdxpds
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
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
glarange commented 3 years ago

Update: Using python 3.7 solved above. But now get below. For some reason, numpy works in IPython, Spyder etc. but not at the CLI. Workarounds this appreciated! I'm trying reinstalling numpy without much success yet.

C:\Users\student\Documents\ReEDS_OpenAccess-master>python runbatch.py
Traceback (most recent call last):
  File "runbatch.py", line 9, in <module>
    import pandas as pd
  File "C:\ProgramData\Anaconda3\lib\site-packages\pandas\__init__.py", line 19, in <module>
    "Missing required dependencies {0}".format(missing_dependencies))
ImportError: Missing required dependencies ['numpy']
glarange commented 3 years ago

Installed Py 3.65 and did pip install gdxpds within the base directory and it ran. Closing.