-
Notifications
You must be signed in to change notification settings - Fork 4
Install Instructions for Windows
You need Anaconda prompt access and git
commands available to install CsoDIAq. If you already have these installed, skip down to the "Download Repository (with Git)" section.
Anaconda is a useful tool for simplifying package download. It has other uses, but can be used to download pip properly. Go to the following website and download Anaconda for Windows.
Now that you have Anaconda installed, open the Anaconda Prompt application. Make a new environment by entering the following:
conda create --name csod git
Next activate your new environment:
conda activate csod
Navigate to the folder where you want to store the csodiaq package. I like to use:
cd C:\users\jesse\documents\github
enter the following code to download the latest CsoDIAq:
git clone https://github.com/CCranney/CsoDIAq.git
enter the csodiaq folder:
cd CsoDIAq
then install using pip:
pip install -e .
Now it has been downloaded and installed!
CsoDIAq will install an executable script in your python scripts folder. The exact location of this folder may vary across python installations. As an example, my scripts folder was at the following location:
C:\Users\jesmeyer\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts
Follow these instructions for adding your scripts folder to the system path.
To access the CsoDIAq gui, make sure the environment you built is active in the anaconda prompt.
If you added your python scripts folder to the system PATH variable, type the following into your anaconda prompt and hit ENTER:
csodiaq gui
The following seems like it should also work, but only works sometimes? If you want to run csoDIAq from the python script, you can alternatively navigate to the directory containing the csoDIAq package, type the following, and hit ENTER:
python csodiaq_gui.py