RLBot / gui-installer

https://rlbot.org
3 stars 2 forks source link

Build failure from missing .pyc files #1

Closed tarehart closed 3 years ago

tarehart commented 3 years ago

I followed the steps to set up the project in Visual Studio. When I tried to build, it failed with a bunch of these:

ERROR: Unable to find source file 'C:\Users\tareh\code\RLBotGUIX-installer\python-3.7.9-custom-amd64\Lib\site-packages\setuptools__pycache\package_index.cpython-37.pyc' for file 'package_index.cpython-37.pyc', located in '[GUIAPPDATAFOLDER]\RLBotGUIX\Python37\Lib\site-packages\setuptools\pycache__', the file may be absent or locked.

I believe the github repo is missing a bunch of pyc files due to the gitignore: https://github.com/VirxEC/RLBotGUIX-installer/blob/104fa60dc683db6a04db736088a1a54758a15380/.gitignore#L301-L303

VirxEC commented 3 years ago

This issue will take longer to (properly) fix than I thought. I need to go do each pycache folder and delete it.

tarehart commented 3 years ago

Closer now! Now I just get this:

ERROR: Unable to find source file 'C:\Users\tareh\code\RLBotGUIX-installer\python-3.7.9-custom-amd64\Lib\site-packages\pip\_vendor\urllib3\packages\six.py' for file 'six.py', located in '[GUIAPPDATAFOLDER]\RLBotGUIX\Python37\Lib\site-packages\pip\_vendor\urllib3\packages', the file may be absent or locked.
ERROR: Unable to find source file 'C:\Users\tareh\code\RLBotGUIX-installer\python-3.7.9-custom-amd64\Lib\site-packages\pip\_vendor\urllib3\packages\__init__.py' for file '__init__.py', located in '[GUIAPPDATAFOLDER]\RLBotGUIX\Python37\Lib\site-packages\pip\_vendor\urllib3\packages', the file may be absent or locked.
ERROR: Unable to find source file 'C:\Users\tareh\code\RLBotGUIX-installer\python-3.7.9-custom-amd64\Lib\site-packages\pip\_vendor\urllib3\packages\backports\__init__.py' for file '__init__.py', located in '[GUIAPPDATAFOLDER]\RLBotGUIX\Python37\Lib\site-packages\pip\_vendor\urllib3\packages\backports', the file may be absent or locked.
ERROR: Unable to find source file 'C:\Users\tareh\code\RLBotGUIX-installer\python-3.7.9-custom-amd64\Lib\site-packages\pip\_vendor\urllib3\packages\ssl_match_hostname\__init__.py' for file '__init__.py', located in '[GUIAPPDATAFOLDER]\RLBotGUIX\Python37\Lib\site-packages\pip\_vendor\urllib3\packages\ssl_match_hostname', the file may be absent or locked.
ERROR: Unable to find source file 'C:\Users\tareh\code\RLBotGUIX-installer\python-3.7.9-custom-amd64\Lib\site-packages\pip\_vendor\urllib3\packages\ssl_match_hostname\_implementation.py' for file '_implementation.py', located in '[GUIAPPDATAFOLDER]\RLBotGUIX\Python37\Lib\site-packages\pip\_vendor\urllib3\packages\ssl_match_hostname', the file may be absent or locked.
ERROR: Unable to find source file 'C:\Users\tareh\code\RLBotGUIX-installer\python-3.7.9-custom-amd64\Lib\site-packages\pip\_vendor\urllib3\packages\backports\makefile.py' for file 'makefile.py', located in '[GUIAPPDATAFOLDER]\RLBotGUIX\Python37\Lib\site-packages\pip\_vendor\urllib3\packages\backports', the file may be absent or locked.
tarehart commented 3 years ago

I think because of this: https://github.com/VirxEC/RLBotGUIX-installer/blob/104fa60dc683db6a04db736088a1a54758a15380/.gitignore#L186

I generally avoid using those "everything you might need" premade gitignore files because this sort of thing always happens 😁

VirxEC commented 3 years ago

@tarehart Fixed!