Skip to content

Commit

Permalink
Merge pull request #72 from odespard/patch-2
Browse files Browse the repository at this point in the history
README Edit
  • Loading branch information
jalew188 committed Jul 3, 2024
2 parents 1fdcde7 + 1923707 commit d1b99b1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@ requires you to add the ppa to your trusted sources!
4. Link homebrew mono to pseudo mono folder: `sudo ln -s /opt/homebrew/Cellar/mono/6.12.0.182 /Library/Frameworks/Mono.framework/Versions/Current`. Here, `6.12.0.182` is the brew-installed mono version, please check your installed version. Navigate to `/Library/Frameworks/Mono.framework/Versions` and run `ls -l` to verify that the link `Current` points to `/opt/homebrew/Cellar/mono/6.12.0.182`. If `Current` points to a different installation and/or `/opt/homebrew/Cellar/mono/6.12.0.182` is referenced by a different link, delete the corresponding links and run `sudo ln -s /opt/homebrew/Cellar/mono/6.12.0.182 Current`.
5. Install pythonnet: `pip install pythonnet`.


NOTE, Homebrew installs the most recent version of mono, which may give rise to the following error on the M1 platform (which is due to an incompatible architecture for the files in the mono library):

```
RuntimeError: Failed to create a default .NET runtime, which would have been "mono" on this system. Either install a compatible runtime or configure it explicitly via `set_runtime` or the `PYTHONNET_*` environment variables (see set_runtime_from_env).
```

In this case, it is possible to install mono 6.12.0.182 from the [mono project](https://download.mono-project.com/archive/6.12.0/macos-10-universal/index.html). This version avoids the error.

------------------------------------------------------------------------

AlphaRaw can be installed and used on all major operating systems
Expand Down

0 comments on commit d1b99b1

Please sign in to comment.