空闲和水蟒 [英] Idle and Anaconda

查看:72
本文介绍了空闲和水蟒的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我曾经有空闲.然后,我下载了 Anaconda 并在那里闲置.我有一段时间没有使用过空闲了,但是最近才去打开它并再次使用它.但是,似乎我的计算机不再空闲,据我了解,我仍然可以通过Anaconda进入空闲状态,但我忘记了如何做.有没有一种方法可以通过Anaconda打开空闲状态而无需重新下载空闲状态?如果是这样,我可以使用什么命令将空闲状态拉高?

I use to have idle. Then I downloaded Anaconda and opened idle through there. I have not used idle for a while but just recently went to go open it up and use it again. However, it seems I no longer have idle on my computer, to my understanding I can still get to idle through Anaconda but I forgot how. Is there a way to open idle through Anaconda without re-downloading idle? If so what command can I use to pull Idle up?

推荐答案

您正在寻找C:\... <\> ...Anaconda3\Lib\idlelib\idle.bat

还有一个C:\ ... <\> ...Anaconda3\Scripts\idle.exe似乎运行起来更加流畅,但是必须在后台打开一个命令提示符才能运行. ...?

There is also C:\ ... <\> ...Anaconda3\Scripts\idle.exe which seems to run a little smoother, but there has to be a Command Prompt open in the background to run. ... ?

导航到您的Anaconda3安装文件夹.您的位置可能在任何地方,我的位置在"C:\ ProgramData \ Anaconda3",但我为所有用户安装了此驱动器,您可能在驱动器上选择了随机位置.如果设法将其添加到环境变量中,则可以通过运行命令提示符(不是Powershell-必须是命令提示符)并键入where condawhere anaconda并按Enter键来轻松找到它.您应该找到一个名为Anaconda3或类似名称的文件夹.

Navigate to your Anaconda3 installation folder. Yours could be anywhere, mine is at "C:\ProgramData\Anaconda3", but I installed for all users and you could have selected a random location on your drive. If you managed to add it to the environment variables you could easily find it by running the Command Prompt (not Powershell - has to be Command Prompt) and typing where conda or where anaconda and pressing enter. You should find a folder named Anaconda3 or something of that nature.

如果导航到该文件夹​​,并在其中找到"Anaconda3 \ Lib \ idlelib \"文件夹,则其中有一个名为"idle.bat"的文件.如果您找到此"Anaconda3 \ Lib \ idlelib \ idle.bat"文件,则可以双击它以运行IDLE,尽管它可能有点混乱/过时/小巧/奇怪,因为您正在更新Anaconda中的各种文件夹,有些他们中的一些可能帮助了idle.bat的运行.由于某种原因,我的任务栏中有一个与之相关的间谍图标,而在左上角具有一个被遮住的IDLE图标.当然,如果您已经知道它的位置,当然也可以在命令提示符下运行完整路径,例如,我将运行...

If you navigate to this folder, and within it find the "Anaconda3\Lib\idlelib\" folder, within it there is a file called "idle.bat". If you find this "Anaconda3\Lib\idlelib\idle.bat" file you can double click it to run IDLE, although it may be a little messy/outdated/glitchy/strange since you are updating all kinds of folders within Anaconda and some of them may have helped idle.bat run. Mine has a the spyder icon associated with it in the task bar and a blotted out IDLE icon in the top left corner for some reason. You could of course run the full path in command prompt as well if you already know where it is, for instance I would run...

C:\ Users \ Thomas> C:\ProgramData\Anaconda3\Lib\idlelib\idle.bat 〜或〜 C:\ Users \ Thomas> C:\ProgramData\Anaconda3\Scripts\idle.exe

C:\Users\Thomas>C:\ProgramData\Anaconda3\Lib\idlelib\idle.bat ~or~ C:\Users\Thomas>C:\ProgramData\Anaconda3\Scripts\idle.exe

-->与Anaconda并排下载新版本的Python以运行IDLE可能会更容易.我一直试图在开始菜单中设置一个快捷方式,该快捷方式可以从anaconda正常运行数天,但失败了.这样,应该为Python文件提供一个右键单击>使用IDLE运行"选项.

--> It may be easier to just download a new version of Python side by side with Anaconda to run IDLE. I have been attempting to set a shortcut in the Start Menu that runs from anaconda properly for days and have failed. This way, there should be a right click>'run with IDLE' option for python files.

我相信波浪号斜杠(〜/)意味着您的主目录,因为这是在Linux机器上的含义,但是您可以将其放在机器上的任何位置,甚至直接放在C:\上.驱动器,也许他的意思是未知的文件路径".

I believe the tilde slash (~/) was meant to imply your home directory since that is what it signifies on a linux machine, but seeing as you could have put it anywhere on the machine, even directly on the C:\ drive, maybe he meant 'unknown file path'.

这篇关于空闲和水蟒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆