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 docs about x86_64 installation #345

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ Main Features
gui/index
host_for_multiuser/index
utils/index
utils/nwb_file
for_developers/index
41 changes: 35 additions & 6 deletions docs/installation/mac.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,44 @@ Please follow instructions below.

#### Install Anaconda

- Download and install package.
- https://repo.anaconda.com/archive/
- Anaconda3-\*.\*-MacOSX-x86_64.pkg
- *The latest version of the module is ok.
- Download and install the package:
- [Anaconda Archive](https://repo.anaconda.com/archive/)
- Download the latest version: `Anaconda3-*.MacOSX-x86_64.pkg`
- *The latest version of the module is fine.*

```{eval-rst}
.. caution::
Even if you're using arm64 (Apple Sillicon, M1, M2...) architecture's Mac, x86_64 version is required.
Some modules cannot be installed by conda install or pip install in arm64 version.
Even if you're using arm64 (Apple Silicon, M1, M2...) architecture's Mac, the x86_64 version is required.
Some modules cannot be installed by conda install or pip install in the arm64 version.
Installing the x86_64 version of conda can be done using `rosetta`.

1. Install Rosetta using the terminal:

.. code-block:: bash

/usr/sbin/softwareupdate --install-rosetta --agree-to-license

2. Open a Terminal Session in Rosetta:
- Open your existing Terminal (which is running natively on ARM).
- Start a new Terminal session that emulates the x86_64 architecture using the following command:

.. code-block:: bash

arch -x86_64 /usr/bin/env bash

3. Download and install Miniconda:

.. code-block:: bash

curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh

bash Miniconda3-latest-MacOSX-x86_64.sh

/Users/MYUSERNAME/miniconda3/bin/conda init

conda activate

Now continue creating the optinist environment using conda
```

### Create anaconda environment
Expand Down