Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

IOError: [Errno 2] No such file or directory: ...

I can not run this script:

pastebin.com/embed_js/1W2qc553


When I attempt to run the script I get this error:

pastebin.com/embed_js/9B37HqYY

Who will help me to get this script?
This probably happens because you're running this script on Windows, but there is no "/tmp" folder in windows.

Try the following: look for all "/tmp" occurances in the source code, and replace them with "tmp" (without the quotes, of course), so get rid of that "/".
After that, create a folder in the directory which the .py file is located in, and name it "tmp" also.

Assuming I'm not wrong with my above assumtion: If you are trying to run a linux-tailored script under windows, it might not work at all in the end. So be prepared for further errors.
@walpha2


Thanks so much for the help, now the script works!!!

👍👍


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by PimpSlickbackAug 7, 2017 12:32 PM 4 166 Aug 7, 2017 12:32 PM
Last Post: PimpSlickback
[Shell] by YUGOBOSSJul 7, 2017 03:41 AM 21 610 Jul 7, 2017 03:41 AM
Last Post: Hackoo
[Python] by SIM-2427156Apr 26, 2017 06:40 PM 5 150 Apr 26, 2017 06:40 PM
Last Post: (╯°□°)╯︵ ┻━━┻