Installation and Troubleshooting Instructions
Windows Installation
### Using Anaconda
Visit the Anaconda website at https://www.anaconda.com/download and download the installer.
Run the installer and accept the default installation settings.
Create a new environment named "PASTA-ELN" and select the Python 3.11 option.
Click the "New" button to open the terminal and execute the following commands: * pip install pasta-eln * pip install pasta-eln -U --no-dependencies (if you encounter issues with 'aiohttp') * python -m pasta_eln.gui
### Using Default Python
If you prefer to install Python via the default installer:
Visit the Python website at https://www.python.org/downloads/windows/ and download the Windows installer for your architecture (likely 64-bit).
Run the installer and select the option to "Add python.exe to PATH".
Click "Install Now" to complete the installation.
Recommendation: We recommend installing additional packages such as matplotlib, pandas, and spyder to enhance your Python environment. To test your installation, open the Command Prompt and execute the following commands:
pip install matplotlib pandas spyder
python -c "import numpy as np;x = np.linspace(0,2*np.pi);y = np.sin(x);import matplotlib.pyplot as plt;plt.plot(x,y);plt.show()"
### Installing PASTA-ELN via Command Prompt
Open the Command Prompt and execute the following commands: * pip install pasta-eln * pip install pasta-eln -U --no-dependencies (if you encounter issues with 'aiohttp') * python -m pasta_eln.gui
Linux Installation
Navigate to a folder of your choice (e.g., your home directory) and create a new virtual environment with the name .venvPastaELN.
Activate the virtual environment by running source .venvPastaELN/bin/activate.
Install PASTA-ELN by executing pip install pasta-eln.
Run the PASTA-ELN graphical interface by executing python -m pasta_eln.gui.
Troubleshooting
If the graphical interface does not open, you can execute the following command to determine the status:
python -m pasta_eln.installationTools
To start the setup of the requirements, execute:
python -m pasta_eln.installationTools install
Important: Only execute the next step when setting up PASTA-ELN for the first time. To create the example dataset, execute:
python -m pasta_eln.installationTools example
Afterwards, the normal 'pastaELN' command should work, and a desktop icon should be present.