Python 如何启动spyder ide?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/18728056/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to start spyder ide?
提问by alwbtc
I installed Spyder IDE using the exe installer spyder-2.2.3.win32.exeon Windows 7 , but I can't find the desktop icon. How to start Spyder IDE after installation?
我在 Windows 7 上使用 exe 安装程序spyder-2.2.3.win32.exe安装了 Spyder IDE ,但我找不到桌面图标。安装后如何启动Spyder IDE?
采纳答案by Ben Schwabe
If you install from python(x,y) then it should give you a desktop link, or a start menu link. If you install it from the Spyderlib website, like I did (https://code.google.com/p/spyderlib/), then do what I did, assuming you're running windows:
如果你从 python(x,y) 安装,那么它应该给你一个桌面链接,或者一个开始菜单链接。如果您像我一样从 Spyderlib 网站安装它(https://code.google.com/p/spyderlib/),然后按照我所做的操作,假设您正在运行 Windows:
1) Go to the desktop
1)进入桌面
2) right-click > New > Shortcut
2)右键单击>新建>快捷方式
3) Have it open "C:\Python27\Scripts\spyder.bat" (assuming you have python 2.7 installed on your OS) and hit next
3)让它打开“C:\Python27\Scripts\spyder.bat”(假设你的操作系统上安装了python 2.7)并点击下一步
4) Type a name for your shortcut and hit finish
4)输入快捷方式的名称并点击完成
This creates a link to open your spyder executable. I'm sorry if it opens a Command Prompt window in the backgroud, that is necessary for Spyder to run.
这将创建一个链接以打开您的 spyder 可执行文件。如果它在后台打开命令提示符窗口,我很抱歉,这是运行 Spyder 所必需的。
You can also give it the spyder icon. Do the following:
你也可以给它 spyder 图标。请执行下列操作:
1) right-click on the shortcut > Properties
1)右键单击快捷方式>属性
2) Click the "Change Icon" button
2)点击“更改图标”按钮
3) Choose an icon from the system list orgo to C:\Python27\Scripts and choose an icon from that location (hit "Browse..." to use explorer to get there)
3) 从系统列表中选择一个图标或转到 C:\Python27\Scripts 并从该位置选择一个图标(点击“浏览...”以使用资源管理器到达那里)
EDITS
编辑
If you are having trouble getting Spyder to run, try making sure you installed right. Go to https://pythonhosted.org/spyder/installation.htmlto make sure you installed right
如果您在运行 Spyder 时遇到问题,请尝试确保安装正确。转到https://pythonhosted.org/spyder/installation.html以确保您安装正确
Also, Make sure you installed the correct version. If you have python 3.3 installed, the installer for python 2.7 will NOT work. Go to https://code.google.com/p/spyderlib/downloads/listto get a list of all the available downloads.
另外,请确保您安装了正确的版本。如果您安装了 python 3.3,python 2.7 的安装程序将不起作用。转到https://code.google.com/p/spyderlib/downloads/list以获取所有可用下载的列表。
回答by Roel
I got my link in the start menu: "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Python(x,y)\Spyder\Spyder.lnk" Or you could just look for the executable and create the short cut yourself. Look in Python's installation directory. It's probably C:\Python or something similar. Find spyder.exe, rightclick, create short cut/link, drag link to desktop, done. Good luck!
我在开始菜单中有我的链接:“C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Python(x,y)\Spyder\Spyder.lnk”或者你可以只查找可执行文件并创建快捷方式你自己。查看Python的安装目录。它可能是 C:\Python 或类似的东西。找到spyder.exe,右键单击,创建快捷方式/链接,将链接拖到桌面,完成。祝你好运!