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

Installation on Apple Silicon does not work #6

Open
mvinyard opened this issue Oct 19, 2022 · 1 comment
Open

Installation on Apple Silicon does not work #6

mvinyard opened this issue Oct 19, 2022 · 1 comment

Comments

@mvinyard
Copy link

Unfortunately, when trying to install simba / simba_pbg on my mac using conda, I run into the following road block. I have no clue if this is something that is very unlikely to have a work-around or something that only requires a simple fix... just figured I'd mention it, in case. Best case scenario would be I am simply missing something :)

conda create -n simba_dev python=3.9 jupyter -y
conda activate simba_dev
conda install -c bioconda simba_pbg
STDOUT
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - simba_pbg

Current channels:

  - https://conda.anaconda.org/bioconda/osx-arm64
  - https://conda.anaconda.org/bioconda/noarch
  - https://conda.anaconda.org/conda-forge/osx-arm64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/osx-arm64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-arm64
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.
@mvinyard
Copy link
Author

mvinyard commented Nov 2, 2022

To follow up / provide an update related to this, I am able to do the following and get simba to run on my Apple M1 Machine:

conda create -n simba_dev python=3.9 jupyter -y
conda activate simba_dev

To get around a seemingly common error related to pytables:

pip install cython
# brew install hdf5 (if not already installed)
HDF5_DIR=/opt/homebrew/Cellar/hdf5/1.12.2_2 

Then clone and install simba_pbg:

git clone https://github.com/pinellolab/simba_pbg.git
cd simba_pbg; pip install -e .

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