reset password
Author Message
jwang95
Posts: 10
Posted 08:18 Aug 31, 2018 |

It seems that you can install most modules from pycharm itself.

For me I have the professional edition, but anyways.

Try this if pycharm still says your missing Gym or other modules even after using pip installation:

-- In pycharm with your project or .py file open, go to 'File' then click on 'Settings'.

-- There should be a search box with teh magnifine glass. Type in 'Project Interpretor' and click on it.

-- The window will show all the modules already installed or implemented with the project you have open.

-- Don't see your module on there?  On the right of the list there is a '+' button. Click on it.

-- A window with all the modules that can be installed are shown as well as another search box.

-- You can use the search box and type in 'gym' or 'matplotlib' which I also didn't have.

-- Click on the package you want to install for the current project and click 'install'.

-- Once all the modules needed are installed your project should have no problem running your code.

Last edited by jwang95 at 08:19 Aug 31, 2018.
rabbott
Posts: 1649
Posted 10:04 Aug 31, 2018 |

Good instructions. I use PyCharm also, but I didn't expect most of you to try it. I use the Community edition. These instructions work for that.