Skip to content

Commit

Permalink
add windows script
Browse files Browse the repository at this point in the history
  • Loading branch information
gboeing committed Jan 10, 2024
1 parent c30120f commit 4acca05
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions software/win-create-environment.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
SET ENV="ppde642"
CALL %USERPROFILE%\miniforge3\Scripts\activate.bat && ^
conda activate base && ^
mamba env remove -n %ENV% --yes && ^
mamba clean --all --yes --quiet --no-banner && ^
mamba env create --file ../environment.yml --force && ^
conda activate %ENV% && ^
python -m ipykernel install --sys-prefix --name %ENV% --display-name "Python (%ENV%)" && ^
mamba clean --all --yes --quiet --no-banner && ^
mamba list --no-banner && ^
jupyter kernelspec list && ^
ipython -c "from nltk.corpus import brown; print(brown.words())" && ^
ipython -c "import torch; print(torch.__version__, torch.cuda.is_available())" && ^
ipython -c "from transformers import pipeline; print(pipeline('sentiment-analysis')('I love you'))" && ^
ipython -c "import osmnx; print('osmnx version', osmnx.__version__)"

0 comments on commit 4acca05

Please sign in to comment.