Installation error in Python

Hi everyone,

I was trying to install pystan but see the following errors, does anyone know why? Thanks!

Collecting pystan==3.3.0
Using cached pystan-3.3.0-py3-none-any.whl (13 kB)
Collecting clikit<0.7,>=0.6
Downloading clikit-0.6.2-py2.py3-none-any.whl (91 kB)
Collecting aiohttp<4.0,>=3.6
Downloading aiohttp-3.8.1-cp310-cp310-win_amd64.whl (555 kB)
Collecting pysimdjson<4.0,>=3.2
Using cached pysimdjson-3.2.0.tar.gz (411 kB)
Preparing metadata ( started
Preparing metadata ( finished with status ‘done’
Requirement already satisfied: numpy<2.0,>=1.7 in c:\od\bayesian precision medicine trial\test\venv\lib\site-packages (from pystan==3.3.0) (1.22.1)

ERROR: Could not find a version that satisfies the requirement httpstan<4.7,>=4.6 (from pystan) (from versions: 0.2.5, 0.3.0, 0.3.1, 0.4.0, 0.5.0, 0.6.0, 0.7.2, 0.7.3, 0.7.5, 0.7.6, 0.8.0, 0.9.0, 0.10.1)
ERROR: No matching distribution found for httpstan<4.7,>=4.6

Windows is not currently supported for PyStan, can you use CmdStanPy or Linux (e.g. WSL)

1 Like

Thanks. Yes I may try CmdStanPy instead–does it have the similar functions like rstan?

What functionality do you need?

Most part yes (it calls cmdstan) but it is missing logp caller.

Just some regular functions–should be good. Thanks!

1 Like