Help us understand the problem. What is going on with this article?

windows10にpython3.8+venvでjupyter notebookを作成する

前言

anacondaを推奨していますが、でも重いなあで、今回はpipを使ってインストールしています。

Pythonをインストール

割愛します。

venv仮想環境の作成

python -m venv myvenv

venv仮想環境を有効化

PowerShellに実行するとき、「セキュリティ エラー: (: ) []、PSSecurityException」エラーの場合、管理者でPowerShellを起動して、「Set-ExecutionPolicy RemoteSigned」を実行します。

Set-ExecutionPolicy RemoteSigned
.\myvenv\Scripts\activate

venv仮想環境を無効化(必要な場合)

deactivate

venv仮想環境を削除(必要な場合)

rm -rf myvenv #delete folder

Jupyterをインストール

pip install jupyter

好きなFolderにJupyterを起動

cd xxxx
jupyter notebook

localhost:8888にサーバーが立ち上がり、自動的にブラウザが開かれます。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした