简体   繁体   English

使用Pycharm错误设置Anaconda

[英]Setting up Anaconda with Pycharm errors

I've spent the greater part of my day trying to set up pycharm on my new computer. 我花了大部分时间在我的新电脑上设置pycharm。

http://courses.cse.tamu.edu/keyser/engr102/InstallInstructions.pdf http://courses.cse.tamu.edu/keyser/engr102/InstallInstructions.pdf

I've followed the instructions listed here to the T. These were the original instructions given to me when I first installed it and I don't remember having any issues. 我按照这里列出的说明进行了T.这些是我第一次安装时给我的原始说明,我不记得有任何问题。 I wanted to load some of my older scripts on it to make sure it worked and knew I would have to import some of the old packages again; 我想在上面加载一些旧脚本,以确保它能正常工作,并且知道我将不得不再次导入一些旧软件包。 however, I don't seem to be able to import any packages at all. 但是,我似乎根本无法导入任何包。 I also noticed that pyautogui isn't importing which should be included in the pycharm library? 我还注意到pyautogui没有导入哪些应该包含在pycharm库中? Trying to manually import it doesn't work either. 尝试手动导入它也不起作用。 This set of instructions has me set up a Virualenv environment instead of a conda environment and, doing this before, I still had the option in packages to use the conda package manager which i don't have when setting it up in this way now. 这套说明让我设置了一个Virualenv环境而不是一个conda环境,并且之前这样做,我仍然可以在包中使用conda包管理器,这是我现在以这种方式设置它时没有的。 All in all I seem to be missing a ton of packages and am completely unable to install new ones. 总而言之,我似乎错过了大量的软件包,完全无法安装新软件包。 At this rate I can't run a single one of my more complex scripts without the ability to import packages and i'm in a pretty tight spot. 以这种速度,如果没有导入包的功能,我将无法运行我的一个更复杂的脚本,而且我处在一个非常狭窄的位置。 Thanks in advance for you time and help. 在此先感谢您的时间和帮助。

I use Anaconda with PyCharm without any issues, I took a brief look at the instructions linked, where are you getting stuck? 我使用Anaconda和PyCharm没有任何问题,我简要地看了一下链接的说明,你在哪里卡住了? Do you already have Anaconda installed? 您已经安装了Anaconda吗? You should try to launch the Anaconda prompt and see that it works. 你应该尝试启动Anaconda提示,看看它是否有效。 You can click start, then search for anaconda prompt and launch it. 您可以单击开始,然后搜索anaconda提示并启动它。 If that's successful, then you can either create an environment inside Anaconda prompt and then pull that environment into PyCharm or you can create an environment from within Pycharm--either is fine. 如果成功,那么您可以在Anaconda提示符中创建一个环境,然后将该环境拉入PyCharm,或者您可以在Pycharm中创建一个环境 - 两者都可以。

Have you seen the instructions here? 您看过这里的指示吗? https://www.jetbrains.com/help/pycharm/conda-support-creating-conda-virtual-environment.html https://www.jetbrains.com/help/pycharm/conda-support-creating-conda-virtual-environment.html

If you need better instructions than that then you're going to have to explain where exactly you're stuck. 如果您需要比这更好的说明,那么您将不得不解释您到底被卡在哪里。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM