From a030a72af9cc46c64a425371b571bee10891eeb9 Mon Sep 17 00:00:00 2001
From: Eu Pin Tien ii. Installing Dependencies
>pacman -Ss <package-name>
+ MSYS2 current installs Python 3.14 by default, which we have not rigorously + tested Murfey with. For now, we downgrade to Python 3.12.12, which is known to + work with Murfey. To do so, download the following packages: +
++ mingw-w64-ucrt-x86_64-python-3.12.12-1-any.pkg.tar.zst + mingw-w64-ucrt-x86_64-python-distlib-0.4.0-2-any.pkg.tar.zst + mingw-w64-ucrt-x86_64-python-pip-25.3-2-any.pkg.tar.zst + mingw-w64-ucrt-x86_64-python-setuptools-80.9.0-2-any.pkg.tar.zst ++
+ These files will be placed in your account's Downloads folder by default, and + can then be installed using the following command: +
++ $ pacman -U /c/Users/<username>/Downloads/<package-name>+
Many newer Python packages now have dependencies written in Rust that allow @@ -168,4 +200,38 @@
+ Python's Pillow package will be needed for certain instruments. This will + require the installation of additional image libraries in + pacman: +
++ $ pacman -S \ + mingw-w64-ucrt-x86_64-freetype \ + mingw-w64-ucrt-x86_64-giflib \ + mingw-w64-ucrt-x86_64-lcms2 \ + mingw-w64-ucrt-x86_64-libjpeg-turbo \ + mingw-w64-ucrt-x86_64-libpng \ + mingw-w64-ucrt-x86_64-libtiff \ + mingw-w64-ucrt-x86_64-libwebp \ + mingw-w64-ucrt-x86_64-openjpeg2 \ + mingw-w64-ucrt-x86_64-zlib ++
+ Once the necessary libraries have been installed, Pillow can be installed by + running the following command: +
+
+ $ ZLIB_ROOT="/ucrt64" pip install pillow --index-url {{ request.url.scheme }}://{{ netloc }}{{ proxy_path }}/pypi/index --trusted-host {{ netloc }}
+
+
{% endblock %}
From e2409e14ed232f846b4979002d310a8bfbc07743 Mon Sep 17 00:00:00 2001
From: Eu Pin Tien + Some versions of Windows are too old to support the default MSYS2 installer. + In such cases, download this alternative + executable + and run it. It will unpack the + msys64 + folder into your Downloads folder. Copy this folder to the default MSYS2 + location, and run the UCRT64 executable within it to proceed with the + installation as normal. +
From 10a2aa50b29fb8914729ea38ea9c5947accad698 Mon Sep 17 00:00:00 2001
From: Eu Pin Tien Downgrading Python packages
tested Murfey with. For now, we downgrade to Python 3.12.12, which is known to
work with Murfey. To do so, download the following packages:
- mingw-w64-ucrt-x86_64-python-3.12.12-1-any.pkg.tar.zst - mingw-w64-ucrt-x86_64-python-distlib-0.4.0-2-any.pkg.tar.zst - mingw-w64-ucrt-x86_64-python-pip-25.3-2-any.pkg.tar.zst - mingw-w64-ucrt-x86_64-python-setuptools-80.9.0-2-any.pkg.tar.zst -+
These files will be placed in your account's Downloads folder by default, and
can then be installed using the following command:
From 73d6c32a439b17c7536d66d73c3303785fde9ae9 Mon Sep 17 00:00:00 2001
From: Eu Pin Tien
@@ -66,11 +66,11 @@
Other utility packages such as
@@ -140,7 +140,7 @@ For a user named Murfey, for example, this would take the form:
With this file configured,
@@ -223,9 +223,9 @@
@@ -235,7 +235,7 @@ i. Setting Up the MSYS2 Package Manager (If Network-Restricted)
- C:\msys64\etc\pacman.d
+ C:\msys64\etc\pacman.d
ii. Installing Dependencies
ii. Installing Dependencies
- $ pacman -Syu
- $ pacman -S msys2-runtime
- $ pacman -S rsync
- $ pacman -S mingw-w64-ucrt-x86_64-python-pip
- $ pacman -S mingw-w64-ucrt-x86_64-rust
+ $ pacman -Syu
+ $ pacman -S msys2-runtime
+ $ pacman -S rsync
+ $ pacman -S mingw-w64-ucrt-x86_64-python-pip
+ $ pacman -S mingw-w64-ucrt-x86_64-rust
Downgrading Python packages
- $ pacman -U /c/Users/<username>/Downloads/<package-name>
iii. Configuring the Rust Package Manager (If Network-Restricted)
@@ -188,13 +188,13 @@ iii. Configuring the Rust Package Manager (If Network-Restricted)
- %USERPROFILE%\.cargo
+ %USERPROFILE%\.cargo
- C:\Users\Murfey\.cargo
+ C:\Users\Murfey\.cargo
A. (Optional) Setting Up a Virtual Environment
- $ pip install virtualenv --index-url {{ request.url.scheme }}://{{ netloc }}{{ proxy_path }}/pypi --trusted-host {{ netloc }}
- $ virtualenv your-env-name # Create the virtual environment
- $ source your-env-name/bin/activate # Activate the virtual environment
+ $ pip install virtualenv --index-url {{ request.url.scheme }}://{{ netloc }}{{ proxy_path }}/pypi --trusted-host {{ netloc }}
+ $ virtualenv your-env-name # Create the virtual environment
+ $ source your-env-name/bin/activate # Activate the virtual environment
B. Installing Murfey
B. Installing Murfey
- $ pip install murfey --index-url {{ request.url.scheme }}://{{ netloc }}{{ proxy_path }}/pypi/index --trusted-host {{ netloc }}
+ $ pip install murfey --index-url {{ request.url.scheme }}://{{ netloc }}{{ proxy_path }}/pypi/index --trusted-host {{ netloc }}
Installing Pillow
@@ -268,7 +268,7 @@ Installing Pillow
- $ ZLIB_ROOT="/ucrt64" pip install pillow --index-url {{ request.url.scheme }}://{{ netloc }}{{ proxy_path }}/pypi/index --trusted-host {{ netloc }}
+ $ ZLIB_ROOT="/ucrt64" pip install pillow --index-url {{ request.url.scheme }}://{{ netloc }}{{ proxy_path }}/pypi/index --trusted-host {{ netloc }}
{% endblock %}