You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I keep getting the following error message when trying to set up the virtual environment in chapter 1, using the conda env create -f environment.yml command:
How can I fix it? I've already tried to install these packages manually and I've also tried to use mamba instead of conda.
(my device specifics are: Apple M1 Pro; macOS Monterey)
The text was updated successfully, but these errors were encountered:
Hi there, sorry for the quite late response, but if you (or anyone else) still have this issue, it is because the Apple M1 chip was released after DCSS was written. These use the ARM CPU architecture, sometimes listed as osx-arm64. You will need to install newer versions of some packages. I would suggest using the oldest version that supports osx-arm64, to minimize issues with API changes.
The oldest version of graph-tool you can use is 2.45. There shouldn't be many API changes between that and version 2.43 used in the notebooks.
Unfortunately, I believe you will have a lot of trouble with gensim, which was not updated for osx-arm64 until after 4.0 - a major release. The COMPASS section of Chapter 31, using TWEC, requires gensim version 3.8.3 and will not be feasible on your device. TWEC is unlikely to see any updates. The other chapters that use gensim should be possible, but the major release probably has a lot of API changes. You'll need version 4.2.0 or newer.
I keep getting the following error message when trying to set up the virtual environment in chapter 1, using the conda env create -f environment.yml command:
How can I fix it? I've already tried to install these packages manually and I've also tried to use mamba instead of conda.
(my device specifics are: Apple M1 Pro; macOS Monterey)
The text was updated successfully, but these errors were encountered: