sync notes(auto)
This commit is contained in:
parent
79dbe82298
commit
909691b95f
2 changed files with 9 additions and 1 deletions
|
@ -34,7 +34,7 @@ vscodeが開いたら、
|
|||
|
||||
開いたターミナル内で、
|
||||
`DISPLAY= pip install control slycot matplotlib notebook`
|
||||
DISPLAY変数を無効にする理由は[[20240123120540 wsl2上でpipを実行すると、ものすごく時間がかかる|wsl2上でpipを実行すると、ものすごく時間がかかる]]から。
|
||||
DISPLAY変数を無効にする理由は[[memo/public/20240123120540 wsl2上でpipを実行すると、ものすごく時間がかかる|wsl2上でpipを実行すると、ものすごく時間がかかる]]から。
|
||||
|
||||
`Jupyter: Select Interpreter to Start Jupyter Server`
|
||||
コマンドを実行。作った.venvの環境を選ぶ。 windows側のpath /mnt/c/... が表示されるけど、そちらではない方を選ぶ。
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
# 20240123120540 wsl2上でpipを実行すると、ものすごく時間がかかる
|
||||
#python #wsl2
|
||||
|
||||
[python - On WSL2 \`pip install virtualenv\` comand hangs for too long - Stack Overflow](https://stackoverflow.com/questions/68016708/on-wsl2-pip-install-virtualenv-comand-hangs-for-too-long/69011313#69011313)
|
||||
|
||||
pipだけの問題か分からないが、上記にあるように、 pipコマンドの前に `DISPLAY=` を追記すると、この問題は解決する。
|
||||
例: `DISPLAY= pip install numpy`
|
||||
何かのバグなのだろうか。謎だけど20240123 時点では発生する。
|
Loading…
Reference in a new issue