我想从终端启动Jupyterlab
我使用的是MacOS 10.14。
我用Homebrew安装了Python
我尝试使用Error: No available formula with the name "jupyterlab"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
安装Jupyter Lab,但它给了我以下错误消息:
pip3
我尝试用pip3 install jupyterlab
和jupyter lab
命令安装它。有效。但是,当我尝试使用命令[Errno 2] No such file or directory
启动它时,收到以下错误消息:
执行Jupyter命令“实验室”时出错:
brew list
当我运行命令jupyterlab
时,pip3
不在列表中
我怀疑问题出在homebrew
和__________________________________________________________________________________________________
Layer (type) Output Shape Param # Connected to
==================================================================================================
encoder_input (InputLayer) (None, 567, 1) 0
__________________________________________________________________________________________________
conv1d_1 (Conv1D) (None, 189, 32) 128 encoder_input[0][0]
__________________________________________________________________________________________________
conv1d_2 (Conv1D) (None, 63, 64) 6208 conv1d_1[0][0]
__________________________________________________________________________________________________
conv1d_3 (Conv1D) (None, 21, 100) 19300 conv1d_2[0][0]
__________________________________________________________________________________________________
flatten_1 (Flatten) (None, 2100) 0 conv1d_3[0][0]
__________________________________________________________________________________________________
z_mean (Dense) (None, 20) 42020 flatten_1[0][0]
__________________________________________________________________________________________________
z_log_var (Dense) (None, 20) 42020 flatten_1[0][0]
__________________________________________________________________________________________________
z (Lambda) (None, 20) 0 z_mean[0][0]
z_log_var[0][0]
__________________________________________________________________________________________________
dense_1 (Dense) (None, 64) 1344 z[0][0]
__________________________________________________________________________________________________
dense_2 (Dense) (None, 128) 8320 dense_1[0][0]
__________________________________________________________________________________________________
dense_3 (Dense) (None, 200) 25800 dense_2[0][0]
__________________________________________________________________________________________________
dense_10 (Dense) (None, 4) 804 dense_3[0][0]
==================================================================================================
Total params: 145,944
Trainable params: 145,944
Non-trainable params: 0
不能以相同的方式管理PATH的问题所在。我该怎么办
答案 0 :(得分:0)
好吧,我刚刚用brew
(brew reinstall jupyter
)重新安装了jupyter,并用pip3 install jupyter lab
重新安装了jupyterlab,它起作用了!