Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23390

Can't pip install pystan on Mac

$
0
0

When I try to pip install pystan I get the following error:

  error: subprocess-exited-with-error× Preparing metadata (pyproject.toml) did not run successfully.│ exit code: 1╰─> [1 lines of output]      Cython>=0.22 and NumPy are required.      [end of output]  note: This error originates from a subprocess, and is likely not a problem with pip.error: metadata-generation-failed× Encountered error while generating package metadata.╰─> See above for output.

I have confirmed that both Cython>=0.22 and NumPy are already installed so I am not sure what step to take next.

Perhaps the issue is that I have an M1 Mac. The pystan installation page lists x86-64 CPU as a requirement. https://pystan.readthedocs.io/en/latest/installation.html


Viewing all articles
Browse latest Browse all 23390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>