Hello,
When using pip to install nrel-pysam, I receive the following:
ERROR: Command errored out with exit status 1: command:'c:\users\georges\appdata\local\programs\python\python38-32\django\scripts\python.exe'
-c 'import sys, setuptools, tokenize; sys.argv[0] =
'"'"'C:\\Users\\Georges\\AppData\\Local\\Temp\\pip-install-ksfma7md\\nrel-pysam\\setup.py'"'"';
__file__='"'"'C:\\Users\\Georges\\AppData\\Local\\Temp\\pip-install-ksfma7md\\nrel-pysam\\setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__,
'"'"'exec'"'"'))' egg_info --egg-base
'C:\Users\Georges\AppData\Local\Temp\pip-pip-egg-info-80g2toql' cwd:C:\Users\Georges\AppData\Local\Temp\pip-install-ksfma7md\nrel-pysam\ Complete output (7lines): Traceback (mostrecent call last): File"<string>", line 1, in <module> File"C:\Users\Georges\AppData\Local\Temp\pip-install-ksfma7md\nrel-pysam\setup.py",
line 24, in <module> defaults_dir =os.environ+"/api/api_autogen/library/defaults/" File"C:\Users\Georges\AppData\Local\Programs\Python\Python38-32\lib\os.py",
line 675, in __getitem__ raiseKeyError(key) from None KeyError:'SAMNTDIR'
ERROR: Command errored out with exit status 1: pythonsetup.py egg_info Check the logs for full command output.
What am I doing wrong?
Thanks,
Georges