From 95f64313381d3be9e25ecd38e39d01212f418991 Mon Sep 17 00:00:00 2001 From: Harrison Ritz Date: Thu, 22 Feb 2024 15:34:46 -0500 Subject: [PATCH 1/2] Update README.rst update installation instructions with what works on Brown's OSCAR --- README.rst | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/README.rst b/README.rst index 368902c4f..592a66dcc 100755 --- a/README.rst +++ b/README.rst @@ -181,26 +181,23 @@ If you do not have **hdf5** or **netcdf4** installed, you can use conda to insta :: - conda install -c conda-forge hdf5 - conda install -c conda-forge netcdf4 + conda install hdf5 netcdf4 Then install **hddm** via **github**. :: - pip install "numpy < 1.23.0" - pip install "cython <1.0.0" - pip install pymc==2.3.8 # backend probabilistic programming framework (DO NOT USE CONDA HERE) - # pip install git+https://github.com/hddm-devs/kabuki # (Optional, the pip version as dependency of HDDM should work) - pip install hddm # main package + pip install numpy==1.21 + pip install --no-cache-dir pymc==2.3.8 + pip install kabuki + pip install hddm==1.0.1 - # Optional - pip install torch torchvision torchaudio # The LAN extension makes use of these + # Optional (but necessary for LAN extension) + pip install torch torchvision torchaudio To make use of the LAN fuctionalities, you need to install `pytorch`_. :: - pip install torch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 A common issue on new machines is that the installation of the **pymc** package (a necessary dependency), is hampered by problems with compiling its fortran code. Try downgrading the version of your From 2005261c2c72dc66f0ca9cbb8127e2994e343d7d Mon Sep 17 00:00:00 2001 From: Harrison Ritz Date: Thu, 22 Feb 2024 21:48:55 -0500 Subject: [PATCH 2/2] Update README.rst make new section --- README.rst | 37 +++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/README.rst b/README.rst index 592a66dcc..d80c216d5 100755 --- a/README.rst +++ b/README.rst @@ -181,24 +181,29 @@ If you do not have **hdf5** or **netcdf4** installed, you can use conda to insta :: - conda install hdf5 netcdf4 + conda install -c conda-forge hdf5 + conda install -c conda-forge netcdf4 Then install **hddm** via **github**. :: - pip install numpy==1.21 - pip install --no-cache-dir pymc==2.3.8 - pip install kabuki - pip install hddm==1.0.1 + pip install "numpy < 1.23.0" + pip install "cython <1.0.0" + pip install pymc==2.3.8 # backend probabilistic programming framework (DO NOT USE CONDA HERE) + # pip install git+https://github.com/hddm-devs/kabuki # (Optional, the pip version as dependency of HDDM should work) + pip install hddm # main package - # Optional (but necessary for LAN extension) - pip install torch torchvision torchaudio + # Optional + pip install torch torchvision torchaudio # The LAN extension makes use of these To make use of the LAN fuctionalities, you need to install `pytorch`_. :: + pip install torch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 + + A common issue on new machines is that the installation of the **pymc** package (a necessary dependency), is hampered by problems with compiling its fortran code. Try downgrading the version of your **gcc** compiler. This can be done on a MAC (not the new M1/M2 versions tragically), via @@ -211,7 +216,23 @@ In case you do not have the **brew** command, install `Homebrew