提示错误信息:
(base) C:\Users\Tina\PycharmProjects\FunnyToys-main>conda install opengl
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- opengl
Current channels:
- https://conda.anaconda.org/default/win-64
- https://conda.anaconda.org/default/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
正确方式:
conda install -c conda-forge pyopengl