擅长:python、mysql、java
<p>在我的例子中,问题是Python的不同版本(shell中的2.7.15和IPython中的3.6.7)与tdube的答案一样。我使用<code>pip</code>安装了我的包,它是为默认的<code>python</code>(2.7)安装的:</p>
<pre><code>pip install umap-learn # Not accessible in my IPython
</code></pre>
<p>使用<code>pip3</code>将包安装到IPython可访问的位置,该位置位于python3上。在</p>
^{pr2}$