renpy / pygame_sdl2

Reimplementation of portions of the pygame API using SDL2.
GNU Lesser General Public License v2.1
325 stars 63 forks source link

Problem with fix_virtualenv.py #137

Closed philipk19238 closed 1 month ago

philipk19238 commented 2 years ago

I'm trying to run the setup script with python fix_virtualenv.py as specified by the README. However, I keep running into this error:

FileNotFoundError: [Errno 2] No such file or directory: '/Users/philipkungwork/.virtualenvs/pygame_sdl2/include'

After opening up the virtual environment located in /Users/philipkungwork/.virtualenvs/pygame_sdl2, I noticed that the virtual environment does not contain the "include" folder. This is what my file directory looks like:

- bin
  ...
- lib
  ...
pyvenv.cfg

Is there something wrong with the script? Or did I set up my virtual environment incorrectly? I followed the setup script exactly. @renpytom

philipk19238 commented 2 years ago

Just following up @renpytom

philipk19238 commented 2 years ago

Please confirm if this is a bug - I can create a pull request if so.

renpytom commented 2 years ago

I think it probably is a bug. It may be that running fix_virtualenv is no longer required, when using venv to make your virtual environments.