擅长:python、mysql、java
<p>Jupyterlab通常使用启动它的环境。例如:</p>
<ol>
<li>如果您先激活<code>my_env</code>,然后从终端执行<code>jupyter lab</code>,它应该会检测到环境。在</li>
<li>如果失败,请转到<code>Kernel -> Change Kernel</code>并选择要使用的内核。在</li>
</ol>
<p><strong>注意:</strong>在创建新内核时,我总是使用<code>display-name</code>参数来帮助您。你可以这样做:</p>
<pre><code>python -m ipykernel install --user --name my_env --display-name "Python (my_env)"
</code></pre>
<p>希望这有帮助。在</p>