Welcome to the InMotion Hosting
Community!

Ask questions, search for answers, and connect with community members from around the globe! Our forums are open 24/7/365, however, our dedicated InMotion Hosting Community Team monitors questions between 9 am - 5 pm ET, Monday - Friday!


We welcome new discussions and questions. Before posting we do ask that you do a quick search first to see if your topic has already been addressed. 

0
Answered

Python Package Installation Requirements

Schanche 2 years ago in Technical Support / Python 0
Do you allow for the installation of python packages on shared hosts? If not as a global installation, then can a virtual environment be created for a specific domain? If we are not allowed to perform an installation, can I request specific packages to be added? For example, could I request that numpy be installed on my host or virtual environment?
0
Answered

How do I install Python 3 on my web server?

InMotionFans 3 years ago in Technical Support / Python updated by JT S. (Technical Writer) 1 month ago 4
I've successfully accessed my server via SSH, but I noticed that only python 2 appears to be installed. (python --version returns "Python 2.7.5" and python3 --version returns "command not found". What's the best way to go about installing python 3.

I'm on a shared host business plan.
0
Answered

Python script unable to write file to same directory

InMotionFans 3 years ago in Technical Support / Python 0
I have a python script at in public_html/dev.cmrd.space/cgi-bin/py-test/printer.py. I have had success doing a simple print and getting the results of that. However, when I try to have it write a file in the same directory, the call to script fails.The file itself is currently set to permissions 0777, as is its parent directory.

I know the script works fine on my local machine, and there is nothing functionally different about the script on the server. Do you have an idea as to why the script can not create a new file?
0
Answered

cannot run python scripts form cgi-bin folder under public_html

InMotionFans 4 years ago in Technical Support / Python 0
I am new to the python. I tried to put simple python scripts to the cgi-bin folder, but always get internal 500 error, and there is a wordpress site under public_html folder, can someone instruct me how to run python scripts? My final objective is to run this python package - https://github.com/gregorleban/EventRegistry/wiki under a wordpress site. Thanks in advance.
0
Answered

How to run a python script

InMotionFans 4 years ago in Technical Support / Python 0
I created a python script which call out twitter api and HPE haveon on demand api to create a pie chart. How to I use this python script to show the pie chart on a webpage ?
0
Answered

suExec policy violation python script

nealb 5 years ago in Technical Support / Python 0
On a Pro Shared Hosting plan, I want to start utilizing Python so I created a simple script and placed it in mydomain.com/cgi-bin:

============================
#!/usr/bin/env python
print("Hello World!")
print("This is a Python program.")
============================

Browsing to the script in that directory, I receive a 500 internal error. In cPanel, the error log contains the following two lines:

[Wed Feb 24 15:43:34.257736 2016] [cgi:error] [pid 302969:tid 139858368947968] [client 73.24.152.147:53169] AH01215: suexec policy violation: see suexec log for more details: /home/path/to/file

[Wed Feb 24 15:43:31.624933 2016] [access_compat:error] [pid 303394:tid 139858310199040] [client 202.46.58.81:50858] AH01797: client denied by server configuration: /home/path/to/domain

I confirmed that the folder permission is set at 755, and that the file permission is 644. What is wrong?
0
Answered

Virtualenv in hosting plans

InMotionFans 5 years ago in Technical Support / Python 0
Hi,

I would like to know if it's possible to install pip and virtualenv using a shared hosting. The goal is to develop a Flask based web site.

Regards.
0
Answered

convert string into list

InMotionFans 6 years ago in Technical Support / Python 0
hi, well i have this string a=("1234")
and i whant to have something like this: list=['1','2','3','4']
to finally can add this numbers: 1+2+3+4
0
Answered

Python and node.js angular.js script code and publishing

InMotionFans 6 years ago in Technical Support / Python 0
Hi , i want to publish reddit(dot).com site source code and do you obtain python server ? can you support this matter for me ? if yes , i want to a hosting and i need support this matter.

Thanks
Mustafa AKSU
mavidelisi@yahoo.com
0
Answered

install Django without root access

InMotionFans 6 years ago in Technical Support / Python 0
I read that article saying that I can install django without root access. However, there is a permission error when i tried to install it. I have a school project, how can I install django by myself without paying extra?
Thank you.