pyglet安装了还是报错

查看 43|回复 2
作者:daijunhao   
如下日志,就是python报错的日志
Python 3.11.4 (tags/v3.11.4:d2340ef, Jun  7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
= RESTART: E:\10738deskop\10738的deskop\Minecraft-old-main\main.py
Traceback (most recent call last):
  File "E:\10738deskop\10738的deskop\Minecraft-old-main\main.py", line 11, in
    from pyglet import image
ModuleNotFoundError: No module named 'pyglet'
但是他最后一行就提示没有‘pyglet’但是我安装了
于是网上有很多方法,比如什么'pyglet'降到1.2.4版本
我就去试了一下
pip install gym
pip uninstall pyglet
pip install pyglet==1.2.4
结果还是同样的报错
有谁能知道这是哪里出了问题?以及解决方法(明天删帖)
python3.11.4懒得降级

报错, 安装了

freelive   

https://www.codenong.com/31613258/
关于python:没有名为pyglet的模块。
daijunhao
OP
  


freelive 发表于 2023-7-8 10:38
https://www.codenong.com/31613258/
关于python:没有名为pyglet的模块。

安装了半天,不知道要如何使用命令(比较复杂)
您需要登录后才可以回帖 登录 | 立即注册

返回顶部