Spyder发射

2024-05-29 02:16:27 发布

您现在位置:Python中文网/ 问答频道 /正文

嗨,我是水蟒和Spyder的新手,我在运行Spyder时遇到了一些问题。 首先,当我在终端中编写“spyder”时,当它启动时,它会给我以下代码:

[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
js: Not allowed to load local resource: file:///*****/*******/anaconda/lib/python3.6/site-packages/spyder/utils/help/static/css/default.css

我发现,如果在运行spyder之前写入“export EVENT_NOKQUEUE=1”,则所有“[warn]kq_init:detected breaked kqueue;not using.:Undefined error:0”的消息都会消失,但每次我想运行spyder时都必须写入它。对于“js:Not allowed to load local resource”问题,我还没有找到任何解决方案。在

此外,当我打开spyder时,控制台会显示以下消息:

An error ocurred while starting the kernel Your Python environment or installation doesn't have the ipykernel and cloudpickle modules installed on it. Without these modules is not possible for Spyder to create a console for you.

You can install them by running in a system terminal:

pip install ipykernel cloudpickle

or

conda install ipykernel cloudpickle

我已经安装了ipykernel和cloudpickle,但它不工作,继续显示消息。在

我该怎么办?有人能帮我吗?在

谢谢你


Tags: toinitnoterrorwarnusingkqueuespyder

热门问题