From c483beee2c8341723bd8f3cbc164eaaa1f9b4604 Mon Sep 17 00:00:00 2001 From: odespard <45668048+odespard@users.noreply.github.com> Date: Wed, 3 Jul 2024 08:53:59 +0200 Subject: [PATCH 1/3] Update README.md Updated in development branch rather than main branch. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 743d7b4..73193c3 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,13 @@ 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 From 4e2a41d3abb9e611d4d572cf5667a7ad18a05fbd Mon Sep 17 00:00:00 2001 From: odespard <45668048+odespard@users.noreply.github.com> Date: Wed, 3 Jul 2024 08:58:37 +0200 Subject: [PATCH 2/3] Update README.md Formatted as code. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 73193c3..cd44127 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,9 @@ requires you to add the ppa to your trusted sources! 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. From 192370799bb967fde7f90cebc706741018159442 Mon Sep 17 00:00:00 2001 From: "Zeng, Wen-Feng" Date: Wed, 3 Jul 2024 10:02:07 +0200 Subject: [PATCH 3/3] Update README.md pre-commit run --all-files --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cd44127..70f341e 100644 --- a/README.md +++ b/README.md @@ -67,13 +67,13 @@ requires you to add the ppa to your trusted sources! 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): +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. +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. ------------------------------------------------------------------------