0
\$\begingroup\$

I am trying to install the module PySpice on my Mac with M2 Pro chip and MacOS Sonoma 14.5. The installation instructions suggest to either install via the conda-forge channel, or via the PyPI (Python Package Index) with pip.

However, these two options do not seem to work for me. I haven't found the package with

conda search -f pyspice 

and received a

PackagesNotFoundError

When installing the package into a new virtual environment using pip, I am not able to import the module in my scripts afterwards and receive a

ModuleNotFoundError: No module named 'PySpice'

even though I have checked that it is listed once using pip list.

Since I don't have experience with building packages from source and want to avoid that, if possible, I would be very happy if somebody can help, who encountered similar issues.

New contributor
basilboy is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
\$\endgroup\$
4
  • 2
    \$\begingroup\$ Technically, how to install or use a Python package under Mac OS is not an electrical engineering problem. The PySpice forum might be a more suitable place for asking help with installing and using it. \$\endgroup\$
    – Justme
    Commented Jul 10 at 14:04
  • \$\begingroup\$ @Justme Thanks for the comment. I wanted to post this question in the PySpice forum, which is linked in the official documentation, but it dosen't seem to be available (anymore) forum. If you have any other suggestions for forums where it is more appropriate to ask this question, I'm glad to hear them. \$\endgroup\$
    – basilboy
    Commented Jul 10 at 14:50
  • \$\begingroup\$ @basil try checking the other sites of stack exchange?! stackexchange.com/sites#oldest \$\endgroup\$ Commented Jul 10 at 18:46
  • \$\begingroup\$ Okay wow, very helpful. It's not like pyspice is an electrical engineering module. I will try the islam channel then. Maybe that fits better?! \$\endgroup\$
    – basilboy
    Commented Jul 12 at 6:28

0

Browse other questions tagged or ask your own question.