Jump to content

Recommended Posts

Posted

I could use the rest of modules by copying them to a folder but it's not working for this. So if you can install python-mysqldb.

Server: johnny

User: heirloom

 

Thanks.

 

Posted (edited)

I think it's 2.7. It's the one that is called when doing /usr/bin/python in cronjob. And in the file I have written #!/usr/bin/env python

Edited by heirloom
Posted

That is version 2.6.6 and it is too old to install new modules. You'll need to use #!/usr/bin/python2.7 or #!/usr/bin/python3.6 if you want to use mysqldb.

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...