jwdmo Posted September 9, 2017 Posted September 9, 2017 Hi everyone. it's been a day Im really trying to find out why I couldn't run python on ricky, indeed I checked this forum many times and I looked for similar cases but nothing special found! by the way I think it's good to mention that I changed file permission to 0755 also .py file is located in cgi-bin folder. #!/usr/bin/python3.6print("Content-Type: text/html\n\n")print("Heliohost rules!") and this is what I used to test the code. user:jwdmoserver: ricky Thank you.
Krydos Posted September 9, 2017 Posted September 9, 2017 /usr/bin/python3.6 doesn't exist on Ricky (yet). For now use/usr/bin/python
jwdmo Posted September 10, 2017 Author Posted September 10, 2017 Yeah it's fixed. Thank you dear admin
Recommended Posts