Jump to content

Recommended Posts

Posted

Hey guys,

 

would it be possible to install the following modules for python 3.6:

 

- time

- datetime
- calendar
- Mail_sender

 

server: Johnny

name: frederi6

 

Thank you!!

 

Posted

- time

- datetime

- calendar

These 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
Posted (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 by frederi6
Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...