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!!
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
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
Krydos Posted January 27, 2019 Posted January 27, 2019 /usr/local/bin/python3.6 doesn't exist. It's /usr/bin/python3.6
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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now