LoginSignup
0
0

.bashrc を更新してもvscodeのjupyter内で環境変数などが更新されないとき

Last updated at Posted at 2023-09-30

結論: hostのvscodeサーバーのプロセスをキルしてからもう一度起動する。
手順:
まず、ホスト内で.vscodeサーバーのプロセスのPIDを探す:

ps -ef | grep vscode

とすると例えば、

user  2046800       1  0 Sep30 ?        00:00:00 sh /home/user/.vscode-server/bin/xxxxxxx/bin/code-server --start-server --host=127.0.0.1 --accept-server-license-terms --enable-remote-auto-shutdown --port=0 --telemetry-level all --connection-token

というプロセスが見つかる。このプロセスをキルする。

kill -9 2046800

クライアント側でもう一度VSCodeを起動する。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0