Enhance SAM with features tailored to your specific needs! We collaborate with companies, universities, and organizations to privately fund new capabilities or analyses. Your investment drives innovation while benefiting the broader energy community. Email us to learn more.

PySAM import failure on mac Pro M2

  • Melika
  • Topic Author
More
23 May 2023 04:46 - 23 May 2023 10:29 #12167 by Melika
PySAM import failure on mac Pro M2 was created by Melika
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:
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 Paul Gilman.

Please Log in or Create an account to join the conversation.

  • Paul Gilman
More
23 May 2023 10:30 - 23 May 2023 10:31 #12168 by Paul Gilman
Replied by Paul Gilman 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.
Last edit: 23 May 2023 10:31 by Paul Gilman.

Please Log in or Create an account to join the conversation.

Moderators: Paul Gilman
Powered by Kunena Forum