Repository for ENPH 479 Stellar Classification project.
Decide where you want to clone the repository. The virtual environment folder will be created in the same location. The virtual environment is roughly 1.7 GB.
- Open a command prompt and
cd
to the desired location - Run
git clone <repository url>
- Run the
env_setup.ps1
script with PowerShell. This creates and activates a new python virtual environment calledenv-stellar
, and installs the required dependencies from therequirements.txt
file.
Note: These steps are untested. Use at your own risk! If you don't trust the shell file, you can try to follow the documentation as needed, and research how to install the dependencies from requirements.txt
- Run
git clone <repository url>
where you want to clone the repository - Run the
mac_env_setup.sh
script. This creates and activates a new python virtual environment calledenv-stellar
, and installs the required dependencies from therequirements.txt
file.
To run notebooks correctly, we need to tell VS Code what kernel to use.
- Open the notebook in VS Code
- Click beside the icon that resembles a tombstone.
- Select the complete file path to
env-stellar/Scripts/python.exe
If you need to run python files, you may need to change the python interpreter.
- Hit
ctrl+shift+P
to open the command palette - Type
python: select interpreter
and hitEnter
- Select the complete file path to
env-stellar/Scripts/python.exe