擅长:python、mysql、java
<p>好的,问题似乎出在jupyter实验室。我注意到jupyter抛出了一个错误:</p>
<pre><code>Could not open static file ''
</code></pre>
<p>所以在谷歌搜索并打印出<code>jupyter version</code>之后:</p>
<pre><code> jupyter core : 4.5.0
jupyter-notebook : 6.0.0
qtconsole : 4.5.2
ipython : 7.7.0
ipykernel : 5.1.1
jupyter client : 5.3.1
jupyter lab : not installed
nbconvert : 5.5.0
ipywidgets : 7.5.1
nbformat : 4.4.0
traitlets : 4.3.2
Without virtualenv, I installed
pip3.5 install jupyterlab user
pip3.5 install tornado==5.0 user
pip3.5 install -U jupyter user
</code></pre>
<p>从终端访问远程服务器:</p>
<pre><code>ssh id@server.ip -L 8889:localhost:8889
</code></pre>
<p>运行jupyter:<code>jupyter notebook no-browser</code>,然后在本地浏览器上打开远程链接:<code>http://localhost:8889</code></p>
<p>而且它有效</p>