I’m working with Python in PyCharm IDE on Windows 10 and trying to build my own custom gym environment. I followed some online tutorials to create the environment structure but I’m running into installation problems.
When I try to install my custom environment using these commands in command prompt:
pip install gymnasium
pip install -e .
I keep getting this error: “Directory ‘.’ is not installable. File ‘setup.py’ not found.”
The weird thing is that I do have a setup.py file in my project’s main directory. I’m not sure what I’m missing here.
Has anyone dealt with this kind of installation issue before? What could be causing the installer to not find my setup.py file even though it’s clearly there?