Hi nanotube,
I try to use the keylogger on Manjaro Linux. When I try to execute the keylogger.pyw I get the error message "OS is not recognised as windows or linux". But I use Linux, Manjaro is based on Arch Linux. I have installed all dependencies.
How can the error be solved?
Thank you
Marcel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you open keylogger.pyw in a text editor, you'll see it does the check by looking at the content of os.name. So open up a python instance, and run "import os; os.name" and see what that says. On linux-like systems, it should be 'posix' but apparently it isn't on your os. You can change line 27 and put in whatever you have in os.name.
Cheers,
nanotube
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thank you very much for your reply. I did try the commands you wrote. And the result is "posix". I did have a look into the keylogger.pyw, line 27. Just "posix".
Well, any idea what could cause the if statement to return false?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi nanotube,
I try to use the keylogger on Manjaro Linux. When I try to execute the keylogger.pyw I get the error message "OS is not recognised as windows or linux". But I use Linux, Manjaro is based on Arch Linux. I have installed all dependencies.
How can the error be solved?
Thank you
Marcel
Hi Marcel,
If you open keylogger.pyw in a text editor, you'll see it does the check by looking at the content of os.name. So open up a python instance, and run "import os; os.name" and see what that says. On linux-like systems, it should be 'posix' but apparently it isn't on your os. You can change line 27 and put in whatever you have in os.name.
Cheers,
nanotube
Hi nanotube,
thank you very much for your reply. I did try the commands you wrote. And the result is "posix". I did have a look into the keylogger.pyw, line 27. Just "posix".
Well, any idea what could cause the if statement to return false?