Solution
The main reason for this error is that the gym installed is not complete enough.
When I first downloaded the gym library, I typed in
pip install gym
Later I learned that this download is the basic library
Error: gym.error.NameNotFound: Environment PongNoFrameskip doesn’t exist. Enter the following code
pip install ale-py
pip install gym[accept-rom-license]
Read More:
- [Solved] Python Django error: error: (1146, “Table ‘mydb.django_session’ doesn’t exist”)
- [Solved] selenium.common.exceptions.WebDriverException: Message: unknown error: DevToolsActivePort file doesn
- [Solved] mmdetection benchmark.py Error: RuntimeError: Distributed package doesn‘t have NCCL built in
- [Solved] Sudo doesn‘t work: “/etc/sudoers is owned by uid 1000, should be 0”
- [Solved] Windows Configurate Python Environment error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft
- Error:output with shape [1, 224, 224] doesn‘t match the broadcast shape [3, 224, 224]
- [Solved] Mujoco Error: Missing path to your environment variable.
- VScode Run CONDA environment Error [How to Solve]
- Using postman Test Django Interface error: RuntimeError:You called this URL via POST,but the URL doesn‘t end in a slash
- Install PyTorch in Anaconda environment
- Python environment error, bad interpreter: there is no file or directory
- [Solved] CONDA ENV create and run Error: F environment.yml under win10
- Jupyter notebook Failed to Switch to the Virual Environment: DLL load failed python.exe could not find the entry
- [Solved] Error when vscode activates Python virtual environment
- [Solved] Failed environment install leads to “unable to create process using“ error
- [Solved] Windows10 Pycharm Use Virtual Environment Error: Cannot set up a python SDK
- [Solved] CUDA unknown error – this may be due to an incorrectly set up environment
- Apex install error: the environment is not compatible
- Failed to Create New Environment Error: Collecting package metadata (current_repodata.json): failed.
- [Solved] Property ‘xxx‘ does not exist on type ‘{ xxx(file: any, fileList: any): void;