heirloom Posted November 15, 2017 Posted November 15, 2017 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: johnnyUser: heirloom Thanks.
heirloom Posted November 15, 2017 Author Posted November 15, 2017 (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 November 15, 2017 by heirloom
Krydos Posted November 15, 2017 Posted November 15, 2017 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.
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