joshbduncan / word-search-generator

Make awesome Word Search puzzles!
MIT License
74 stars 24 forks source link

change default path word search.exe #50

Closed charulix closed 1 year ago

charulix commented 1 year ago

HI,

I am using python embedded. It is working great on pip install and using python commandline.

What i would like to ask is

The file word-search.exe is in \scripts folder

Running in commandline scripts\word-search -r 10 -s 15 -l 3 works as expected if pip was done in default directory

But if i were to change the python directory to a different or path and so on the word-search.exe stops working and error below is shown

E:\python-3.11.5-embed-amd64>scripts\word-search -r 10 -s 15 -l 3
Fatal error in launcher: Unable to create process using '"E:\python-3.11.5-embed-amd64\python.exe"  "E:\python-3.11.5-embed-amd64\scripts\word-search.exe" -r 10 -s 15 -l 3': The system cannot find the file specified.

Is there a way we can change path in configuration file etc for word-search.exe to work? So it remains portable? Thanks

joshbduncan commented 1 year ago

So, I'm exclusively a Mac user but I did some digging and it seems this is an issue with the Python path on Windows. There are numerous was to work around this and get the proper Python location correctly set in your PATH variable. I've included a few links below that should help. Cheers!

charulix commented 1 year ago

thank you