I am trying to use PyInstaller, but I’m running into some issues with using my path. My path is
C:Users2000036755OneDrive - Fulton County SchoolsDocumentsCodePythonPyGamesnake.py. Every time I try to input the path into the terminal, I get this result.
~/C:Users2000036755OneDrive : The term '~/C:Users2000036755OneDrive' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + ~/C:Users2000036755OneDrive - Fulton County SchoolsDocumentsCode ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (~/C:Users2000036755OneDrive:Strin g) , CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
It can’t go through the path, and I can’t rename it to something else. Is there a solution for this? The command I’m using is
Wrap it with a quote if there is spaces in the path
cd "C:Users2000036755OneDrive - Fulton County SchoolsDocumentsCodePythonPyGamesnake.py"