ohmtech-rdi / eurorack-blocks

Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust
Other
296 stars 19 forks source link

Add explicit no-user option to not interfere with target option #558

Closed ohmtech-rdi closed 1 year ago

ohmtech-rdi commented 1 year ago

This PR fixes a bug where on Windows, the Python from the Windows Store defines the --user pip install option implicitly.

(report from #556 )

xxxxx@xxxxx MINGW64 ~/eurorack-blocks (main)
$ python3 -m pip config list
freeze.user='yes'
install.user='yes'
list.user='yes'
uninstall.user='yes'

xxxxx@xxxxx MINGW64 ~/eurorack-blocks (main)
$ python3 -m pip config --global list

xxxxx@xxxxx MINGW64 ~/eurorack-blocks (main)
$ python3 -m pip config --user list

xxxxx@xxxxx MINGW64 ~/eurorack-blocks (main)
$ python3 -m pip config --site list
freeze.user='yes'
install.user='yes'
list.user='yes'
uninstall.user='yes'

Use --no-user to fix that.

ohmtech-rdi commented 1 year ago

Hmm so apparently Python on the Windows Store is broken beyond repair. So maybe it's better to stay off it.

All in all though, people might have different configurations, and this fix is ok: since we are using target, user doesn't make sense anyway.