Mac M1 installation issue pyStan 3

I want to use PyStan 3+, which is not being installed successfully on my Mac M1 system. It seems like it requires httpstan as its dependency, which is not available for Mac M1.

I tried installing using ‘pip’ which does not find any usable *.whl file.

Now I am trying to build from source, as per the instructions from Installation — httpstan 4.8.2 documentation.

# Build shared libraries and generate code
python3 -m pip install poetry

# Build the httpstan wheel
python3 -m poetry build

# Install the wheel
python3 -m pip install dist/*.whl

However, the ‘make’ returns response that make: *** No targets specified and no makefile found. Stop.

Any help on installing PyStan3 would be really appreciated.

  • Operating System: macOS Monterey V12.5
  • Hardware: Apple M1 Pro
  • Python Version: 3.8.15


In what folder do you call the make and what is the make version?

I am running it inside the same folder where I do ‘python3 -m pip install poetry’.

Do I need to run it at some root folder?

The make version is as following:

# make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
This program built for i386-apple-darwin11.3.0

You need to clone httpstan source and run it inside that

git clone
cd httpstan

this works! Thank you @ahartikainen