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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...