- Posts: 6
Cannot install Nrel-pysam
- CrowdPowered
- Topic Author
Less
More
08 Jun 2020 05:01 #8284
by CrowdPowered
Cannot install Nrel-pysam was created by CrowdPowered
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
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
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5447
08 Jun 2020 10:50 - 08 Jun 2020 10:50 #8286
by pgilman
Replied by pgilman on topic Cannot install Nrel-pysam
Hi Georges,
PySAM requires a 64-bit version of Python 3.7 (or higher).
If you would be interested in contributing a 32-bit build to the PySAM open source project, please let you know and we will provide instructions.
Best regards,
Paul.
PySAM requires a 64-bit version of Python 3.7 (or higher).
If you would be interested in contributing a 32-bit build to the PySAM open source project, please let you know and we will provide instructions.
Best regards,
Paul.
Last edit: 08 Jun 2020 10:50 by pgilman.
Please Log in or Create an account to join the conversation.
- CrowdPowered
- Topic Author
Less
More
- Posts: 6
08 Jun 2020 12:10 #8287
by CrowdPowered
Replied by CrowdPowered on topic Cannot install Nrel-pysam
Dear Paul,
I successfully installed the module with the 64-bit Python app.
I will certainly contribute to the PySAM project in the future if I can.
In the meantime, I am sure I am not proficient enough to write code for the 32-bit build.
Thanks a lot,
Georges
I successfully installed the module with the 64-bit Python app.
I will certainly contribute to the PySAM project in the future if I can.
In the meantime, I am sure I am not proficient enough to write code for the 32-bit build.
Thanks a lot,
Georges
Please Log in or Create an account to join the conversation.
Moderators: pgilman