擅长:python、mysql、java
<p>该软件包最初是使用<code>conda install -c conda-forge transformers</code>安装的</p>
<p>相反,我使用<code>pip install transformers</code>安装了打包的。从虚拟环境内核上的Jupyter Notebook导入包之后效果很好</p>
<p>当我从虚拟环境中执行<code>where conda</code>时,<code>conda install</code>似乎没有安装到venv。而<code>where pip</code>表明<a href="https://i.stack.imgur.com/k6yDO.png" rel="nofollow noreferrer">venv's pip</a>正在被使用</p>