Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update installation instruction to specify Python 3.8 or higher #88

Closed
yangchen2 opened this issue Sep 21, 2023 · 0 comments
Closed

Update installation instruction to specify Python 3.8 or higher #88

yangchen2 opened this issue Sep 21, 2023 · 0 comments

Comments

@yangchen2
Copy link
Contributor

Currently, the installation instructions say: "BIRDMAn requires Python 3.7 or higher."

However, according to the main.yml file line 24, this should be Python 3.8 or higher.

With Python 3.7, there seems to be some dependency issues with stanio when installing the developmental version of Cmdstanpy.

pip install git+https://github.com/stan-dev/cmdstanpy.git@develop
Collecting git+https://github.com/stan-dev/cmdstanpy.git@develop
  Cloning [https://github.com/stan-dev/cmdstanpy.git](https://urldefense.com/v3/__https:/github.com/stan-dev/cmdstanpy.git__;!!LLK065n_VXAQ!lmRoAcvUG4T70zpfzc361ZAh9DBD3HvVivRX2bG51Id1f32e0nvum_SX-XwpmSp-8lCuFY0ncizD1_t89xbcAg$) (to revision develop) to /tmp/pip-req-build-ei0levrx
  Running command git clone --quiet [https://github.com/stan-dev/cmdstanpy.git](https://urldefense.com/v3/__https:/github.com/stan-dev/cmdstanpy.git__;!!LLK065n_VXAQ!lmRoAcvUG4T70zpfzc361ZAh9DBD3HvVivRX2bG51Id1f32e0nvum_SX-XwpmSp-8lCuFY0ncizD1_t89xbcAg$) /tmp/pip-req-build-ei0levrx
  Resolved [https://github.com/stan-dev/cmdstanpy.git](https://urldefense.com/v3/__https:/github.com/stan-dev/cmdstanpy.git__;!!LLK065n_VXAQ!lmRoAcvUG4T70zpfzc361ZAh9DBD3HvVivRX2bG51Id1f32e0nvum_SX-XwpmSp-8lCuFY0ncizD1_t89xbcAg$) to commit 2cf6120ce82cbd218dba5e801887149742a6f691
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: pandas in ./mambaforge3/envs/birdman/lib/python3.7/site-packages (from cmdstanpy==1.1.0) (1.3.5)
Requirement already satisfied: numpy>=1.21 in ./mambaforge3/envs/birdman/lib/python3.7/site-packages (from cmdstanpy==1.1.0) (1.21.6)
Collecting tqdm (from cmdstanpy==1.1.0)
  Obtaining dependency information for tqdm from [https://files.pythonhosted.org/packages/00/e5/f12a80907d0884e6dff9c16d0c0114d81b8cd07dc3ae54c5e962cc83037e/tqdm-4.66.1-py3-none-any.whl.metadata](https://urldefense.com/v3/__https:/files.pythonhosted.org/packages/00/e5/f12a80907d0884e6dff9c16d0c0114d81b8cd07dc3ae54c5e962cc83037e/tqdm-4.66.1-py3-none-any.whl.metadata__;!!LLK065n_VXAQ!lmRoAcvUG4T70zpfzc361ZAh9DBD3HvVivRX2bG51Id1f32e0nvum_SX-XwpmSp-8lCuFY0ncizD1_tuFiTNAQ$)
  Downloading tqdm-4.66.1-py3-none-any.whl.metadata (57 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.6/57.6 kB 2.5 MB/s eta 0:00:00
INFO: pip is looking at multiple versions of cmdstanpy to determine which version is compatible with other requirements. This could take a while.
ERROR: Ignored the following versions that require a different python version: 0.1.0 Requires-Python >=3.8; 0.2.0 Requires-Python >=3.8; 0.3.0 Requires-Python >=3.8
ERROR: Could not find a version that satisfies the requirement stanio~=0.3.0 (from cmdstanpy) (from versions: none)
ERROR: No matching distribution found for stanio~=0.3.0
@gibsramen gibsramen mentioned this issue Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant