为了使用spyder(3.1.3),我下载了Python3.6 (32位)和Anaconda,但它无法打开。我试图在终端(cmd.exe)上运行spyder命令,但得到了以下消息:ValueError: stat: embedded null character in path我不明白它是什么意思,我需要做什么才能打开spyder?
我已经安装了Python2.7(在Windows764位中是默认的),还在一个叫做Python3的环境中安装了Python3。
我想使用Spyder作为我的IDE。我已经在我的Python3环境中安装了Spyder3,但是当我打开Spyder3(从我的Python3环境中)时,它会打开Python2.7的Spyder,而不是我所希望的Python3.5。)我也不知道原因。
我做过TOOLS--Preferences--Python Interpreter -- Use the following Python interpreter: C:\Users\16082834\AppData\Loc
我试图使用Python中的matplotlib打开JPG映像。编者'Spyder',Python3.6,WIndows 7
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
import numpy as np
# Read in the image and print some stats
image = mpimg.imread(r'C:\Users\xxx\Python Code\mountain.jpg')
print('This image is: ',t
我正在尝试在Windows10上使用Anaconda的新安装和python3.8.8,而且(如标题所示)我无法让Spyder启动内核。实际上,当我最初安装anaconda并打开Spyder时,它可以启动。然后,我添加了一个环境,并更改了首选项以使用该环境,如果无法启动,则更改首选项。
没有回溯,只有一个红色的栏,上面写着“启动内核时引起的错误”。
Your Python environment or installation doesn't have the spyder‑kernels module or the right
version of it installed (>
与其安装来自python.org的版本,我希望让CMD使用Spyder 5的python安装。
我已经做了一些调查,据我了解,我需要将python添加到windows系统的"Path“变量中。在添加python.exe路径C:\Program Files\Spyder\Python\python.exe并尝试将C:\Program Files\Spyder\Python添加到环境变量中的" path“之后,它没有什么区别,我收到了基本错误:
> Python was not found; run without arguments to install from the
我可以在每个Python控制台(“Python1,Python2等”)中运行我的脚本一次,但是在运行之后,控制台就无法使用了--我无法在控制台中运行或键入任何内容并获得返回。当我再次尝试运行脚本时,我会收到一条消息-- "No Python console is currently selected to run GameLoop.py. Please select or open a new Python console and try again.“
如果我打开一个新的控制台,我可以再次运行脚本。但是新控制台没有脚本中创建的变量的内存。
我不认为这个问题发生在使用Spyder的前两