frederi6 Posted January 27, 2019 Posted January 27, 2019 Hey guys, would it be possible to install the following modules for python 3.6: - time- datetime- calendar- Mail_sender server: Johnnyname: frederi6 Thank you!! Quote
Krydos Posted January 27, 2019 Posted January 27, 2019 - time- datetime- calendarThese are all part of the default python installation. - Mail_sender # pip3.6 install mail_sender Collecting mail_sender Could not find a version that satisfies the requirement mail_sender (from versions: ) No matching distribution found for mail_sender Quote
frederi6 Posted January 27, 2019 Author Posted January 27, 2019 (edited) Wow, thanks for the quick answer!!My bad, I mixed it up. I still get a 500 Internal Server Error when i execute the file. The header i use is:#!/usr/local/bin/python3.6 and I saved the files in us-ascii as i read it in this forum. Permissions are 0755 Edited January 27, 2019 by frederi6 Quote
Krydos Posted January 27, 2019 Posted January 27, 2019 /usr/local/bin/python3.6 doesn't exist. It's /usr/bin/python3.6 Quote
frederi6 Posted January 27, 2019 Author Posted January 27, 2019 Oh great thank you! And one last question: if i set it up as a cronjob, is this the correct command? /usr/bin/python3.6 /home/frederi6/public_html/cgi-bin/file.py Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.