Installation¶
The spfluo-app is available on Windows and Linux. A GPU is recommended but not necessary.
Windows¶
On Windows, the installation is as simple as downloading an executable:
If you have an NVIDIA GPU, download spfluo-app-gpu.exe.
If not, download spfluo-app.exe.
The executable will install the requirements and launch the app.
Linux¶
- Install Python
Python should already be available on your distribution. If you have Ubuntu for instance, the command
python3
should be available.
Note
spfluo-app is compatible with python>=3.10. Check your version with python3 --version
.
Create a virtual environnement in the directory of your choice
/path/to/spfluo-app-venv
:$ python3 -m venv /path/to/spfluo-app-venv $ source /path/to/spfluo-app-venv/bin/activate
Copy this link: requirements.txt. Or this one: requirements-gpu.txt, if you have an NVIDIA GPU.
Install spfluo-app in the virtual environnement using the following command. Replace LINK by pasting the link:
$ python3 -m pip install -r LINK
The app will be available at
/path/to/spfluo-app-venv/bin/spfluo-app
. Launch it:$ /path/to/spfluo-app-venv/bin/spfluo-app
You should now see the Scipion launcher [1].
Go to Tutorial to get started with using spfluo-app.
Upgrade¶
To upgrade your installation to the latest version, copy the link of the requirements corresponding to the latest version: requirements.txt or requirements-gpu.txt.
Depending on your system, follow the instructions below. Replace REQUIREMENTS_LINK with the link you copied.
Windows¶
In a terminal, run:
$ spfluo-app.exe self uv pip sync REQUIREMENTS_LINK
Linux¶
To upgrade your installation:
$ source /path/to/spfluo-app-venv/bin/activate
$ python3 -m pip install -r REQUIREMENTS_LINK