Skip to content
Prev Previous commit
Next Next commit
fix: csprng install requires torch to be installed
  • Loading branch information
Peter Romov committed Apr 5, 2022
commit 6241d1aad29a2916c1addc78f4ba74c4d748c939
5 changes: 5 additions & 0 deletions scripts/install_via_pip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ export TERM=xterm
# upgrade pip
pip install --upgrade pip

# install without dependencies first
# this is needed because csprng temporarily depends on the source
# we need to have torch installed to correctly install .[dev]
pip install -e . --user

# install with dev dependencies
pip install -e .[dev] --user

Expand Down