- download/install miniconda or anaconda
- download code as zip and extract Raypier: https://github.com/bryancole/raypier_optics
- drag it to wherever you want it, in my case I put it in my
documents/python scripts/
folder - watch this video to understand python environments: https://www.youtube.com/watch?v=mIB7IZFCE_k
- open up anaconda prompt and type in:
conda create -n test
- to activate your anaconda environment:
conda activate test
- to deactivate:
conda deactivate
- to list the packages in an environment:
conda list
- to activate your anaconda environment:
- to remove a package in an environment:
conda remove nameOfPackage
- to export your environment so someone else can download:
conda env export > environment.yml
- This page is a great source of information: https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#sharing-an-environment
- to export your environment so someone else can download:
- whenever, you’re in an environment, you can download/delete packages without affecting other virtual environments. This prevents library conflicts when working on various projects
- To find your environments folder, type:
conda env list
- find the environment file in the raypier folder, in my case the path was:
C:\Users\Matth\Documents\Python Scripts\raypier_optics-master\environment.yaml
- On your anaconda prompt type in:
1
conda env create -f C:\Users\Matth\Documents\Python Scripts\raypier_optics-master\environment.yaml
- navigate to your env folder and drop in
Install Raypier (Draft)
This post is licensed under CC BY 4.0 by the author.