通过Anaconda安装时,在PyCharm中引用库

问题描述 投票:0回答:1

[我们的第一学期C ++课程要求我们开发一个智能的聊天机器人,我一直试图通过tim的youtube教程追随技术。

现在,很长一段时间,我无法激活cmd中的conda环境,如视频所示。一个学生告诉我要在Anaconda Prompt中编写命令。我通过Anaconda Prompt安装了所有库。

现在,我正在使用PyCharm,然后将代码复制粘贴到其中。导入时的库显示为未引用。

我已经通过Anaconda Navigator启动了Jupyter,但不知道如何在Jupyter中制作相同的文件(如视频所示)。

是否可以将Anaconda链接到PyCharm?另外,有人可以指导我如何在Jupyter Notebook中制作.json和单独的文件吗?

视频链接:https://youtu.be/wypVcNIH6D4

python anaconda jupyter libraries
1个回答
0
投票

[将anaconda与pycharm链接:Configure a Conda virtual environment或者,您也可以执行以下操作:enter image description hereenter image description hereenter image description hereenter image description hereenter image description hereenter image description here

在将Anaconda与pycharm一起使用时,需要确保在运行脚本时选择了正确的python解释器:enter image description hereenter image description hereenter image description here

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.