PyCharm中没有名为kivy的模块 [英] No module named kivy in PyCharm

查看:477
本文介绍了PyCharm中没有名为kivy的模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows上的Kivy和PyCharm的新手.尝试了Kivy网站上建议的Pong Game教程.遇到以下照片中显示的错误.也使用pip安装了Cython.我不知道这里出了什么问题.

New to Kivy and PyCharm on Windows. Tried the Pong Game tutorial that was suggested on the Kivy website. Ran into the error displayed in the photo below. Installed Cython using pip as well. I have no clue as to what the problem is here.

[更新]: 在IDLE上尝试了相同的程序,效果很好.

[UPDATE]: Tried the same program on IDLE, works just fine.

我的项目的屏幕截图

[更新#2]: 上面的屏幕截图是我在PyCharm上看到的最新图片.

[UPDATE #2]: The screenshot above is the most recent picture of what i see on PyCharm.

推荐答案

您必须在pycharm上手动安装kivy,请遵循以下六个步骤:

You have to install kivy manually on pycharm, follow these six steps:

  1. 单击左上角的文件.
  2. 单击设置.
  3. 单击项目",然后单击项目解释器.
  4. 单击右侧的(➕)图标.
  5. 点击搜索"并输入"Kivy",您会发现很多包裹,然后选择Kivy和 安装它.
  6. 享受!
  1. Click on Files on top left corner.
  2. Click on settings.
  3. Click on Project and click on project interpreter.
  4. Click on (➕) icon on right.
  5. Click on "Search" and type "Kivy" you will find a lot of packages, then choose Kivy and install it.
  6. Enjoy!

这篇关于PyCharm中没有名为kivy的模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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