- Posts: 3
PySAM import failure on mac Pro M2
- Taslimi
- Topic Author
Less
More
23 May 2023 04:46 - 23 May 2023 10:29 #12167
by Taslimi
PySAM import failure on mac Pro M2 was created by Taslimi
Hello,
I want to use PySAM in my project, but I cannot import it properly. I have installed python3.10 and PySAM0.21.0. I also made sure of installation by using the command "pip show PySAM", and I got this response:
However, I cannot not use it in my python code, I get the error "No module named 'PySAM'".
Please help me solve this problem.
Thanks
I want to use PySAM in my project, but I cannot import it properly. I have installed python3.10 and PySAM0.21.0. I also made sure of installation by using the command "pip show PySAM", and I got this response:
Code:
Name: pysam
Version: 0.21.0
Summary: pysam - a python module for reading, manipulating and writing genomic data sets.
Home-page: https://github.com/pysam-developers/pysam
Author: Andreas Heger
Author-email: Andreas Heger
License: MIT License
Location: /Users/taslimi/anaconda3/lib/python3.10/site-packages
Requires: cython
Required-by:
However, I cannot not use it in my python code, I get the error "No module named 'PySAM'".
Please help me solve this problem.
Thanks
Last edit: 23 May 2023 10:29 by pgilman.
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5447
23 May 2023 10:30 - 23 May 2023 10:31 #12168
by pgilman
Replied by pgilman on topic PySAM import failure on mac Pro M2
Hi Melika,
Please see the installation instructions in the NREL PySAM documentation:
nrel-pysam.readthedocs.io/en/main/installation.html
There is another Python package called PySAM, so be sure to install the nrel-pysam package.
Best regards,
Paul.
Please see the installation instructions in the NREL PySAM documentation:
nrel-pysam.readthedocs.io/en/main/installation.html
There is another Python package called PySAM, so be sure to install the nrel-pysam package.
Best regards,
Paul.
Last edit: 23 May 2023 10:31 by pgilman.
Please Log in or Create an account to join the conversation.
Moderators: pgilman