Hello, I create a website connected with python code. I tested the website in the localhost and it worked successfully and the code of the python executed successfully.
Now I want to upload this website to the web host. The website worked successfully and it connected successfully with the database, but the problem is that the python code does not execute.
I there any ideas to help me to execute the python code connected with the website?
Solved! Go to Solution.
Hi @SanaaAbd. Thanks for being part of GoDaddy Community! My first thought would be that maybe you're using a different version of Python. Our Linux servers have Python. 2.6.6. If that's not it, you can take a look at this article for tips on other issues that might occur.
@SanaaAbd - You wouldn't be able to change the version of Python on a Shared Hosting server. If you need a different version, then you'd need to consider another hosting service or perhaps a VPS so you can manage software versions. Sorry
Hi @SanaaAbd. Thanks for being part of GoDaddy Community! My first thought would be that maybe you're using a different version of Python. Our Linux servers have Python. 2.6.6. If that's not it, you can take a look at this article for tips on other issues that might occur.
Hello, thanks for you replying it was very useful but how can I change the version of the python ??
من الـ iPhone الخاص بي
@SanaaAbd - You wouldn't be able to change the version of Python on a Shared Hosting server. If you need a different version, then you'd need to consider another hosting service or perhaps a VPS so you can manage software versions. Sorry