No such file or doirectory found with comand: python3 southwest.py CONFIRMATION_NUMBER FIRST_NAME LAST_NAME #276
-
so i've downloaded everything to my local mac and have been able to successfully utilize the auto check in. However when I close the terminal and then reopen if I utilize "python3 southwest.py CONFIRMATION_NUMBER FIRST_NAME LAST_NAME" I get back this error: /Library/Frameworks/Python.framework/Versions/3.12/Resources/Python.app/Contents/MacOS/Python: can't open file '/Users/jknapp/southwest.py': [Errno 2] No such file or directory if I insetad input: git clone https://github.com/jdholtz/auto-southwest-check-in.git it will in fact inititalize the auto check in and from there I am able to Successfuly utilize: python3 southwest.py CONFIRMATION_NUMBER FIRST_NAME LAST_NAME Is there a reason I have to do this prior to every time I wish to initiate the auto check in? any tips would be great I'm very new to this. thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
When executing the command Testing this, I just found that the logs will be written in whatever directory you execute the command from instead of the |
Beta Was this translation helpful? Give feedback.
ok, so I didn't realize that 'full/path/to' was a filler for where it actually resides, lol. However, when I attempted the correct path, in this case,
user/jknapp/auto-southwest-check-in
I was still getting an error message. I tried just copying the version commandpython3 southwest.py --version
to see its output. I noticed the file path it Automatically assumed was/Users/jknapp/southwest.py
being the folder was named auto-southwest-check-in. I decided to try renaming the folder to 'southwest.py' This got me a bit further. Still, now it was searching within that folder for__main__
module.From there, I tried renaming the script from
southwest.py
to__main__.py
, and now all of the comman…