Jump to content

Python Installation on HelioHost, Including Libraries and Django


Recommended Posts

Posted

I have three questons:

 

1.) Is python installed on the server already?

 

2.) How can I include libraries if the library doesnt have them installed like CGI - Can I just include CGI without worrying if the library is installed on the server.

 

3.) Does Django have the NECESSARY libraries like the C standard libraries or is it more specific libraries.

 

Thank you guys so much!

 

Cokie

Guest Geoff
Posted
1.) Is python installed on the server already?

 

Yes, we have the latest python installed on both servers.

 

2.) How can I include libraries if the library doesnt have them installed like CGI - Can I just include CGI without worrying if the library is installed on the server.

 

You can include libraries by adding them to the PYTHONPATH.

 

3.) Does Django have the NECESSARY libraries like the C standard libraries or is it more specific libraries.

 

Not sure what you mean here, but django applications can run on both servers.

  • Like 1
Posted

 

 

Not sure what you mean here, but django applications can run on both servers.

 

I mean how standard or how primitive is the use of django? I assume it is for applications so its is not like sin arch sin functions.

Guest Geoff
Posted

Django is THE web framework for python. If you are writing anything more than a couple of files, I would highly recommend django.

  • 2 weeks later...
Posted
I have three questons:

 

1.) Is python installed on the server already?

 

2.) How can I include libraries if the library doesnt have them installed like CGI - Can I just include CGI without worrying if the library is installed on the server.

 

3.) Does Django have the NECESSARY libraries like the C standard libraries or is it more specific libraries.

 

Thank you guys so much!

 

Cokie

 

answer 1: is yes python is installed

Python 2.4.3

Python 2.7.1

Python 3.2

are supported

 

answer 2: A lot of python libraries are installed, check out Snake Charmer . For what isn't, like say I use haystack and whoosh for search functionallity. I simply include the module in my project directory.

 

And answer3: Full support for Django 1.3 and 1.1, and you can use Django like any other python module like in answer 2.

 

I highly recommend reading Django Docs for more info on Django and how to use.

Posted
3.) Does Django have the NECESSARY libraries like the C standard libraries or is it more specific libraries.

django is written in python and havn`t any binary modules

you could consider django as a pure python module,and you can download your own version of django to your /www folder

and add it to the pythonpath,and a python egg is ok,too. :rolleyes:

 

  • 3 years later...
Posted

I am a newbie so sorry for the silly questions.

my ques is How can i install the python modules in stevie server

and does heliohost support the shell commands?

  • 2 years later...
Posted (edited)
Yes, we have the latest python installed on both servers.

 

QUOTE
2.) How can I include libraries if the library doesnt have them installed like CGI - Can I just include CGI without worrying if the library is installed on the server.

 

You can include libraries by adding them to the PYTHONPATH.

First

thank you....

You mentioned before that users can't access shell

so how can I add Packages to my project

you said python and django is already installed. that's ok

but if I have a local project uses these packages:

-------------------------------

beautifulsoup4==4.6.0

Django==1.11.3

gunicorn==19.7.1

pytz==2017.2

whitenoise==3.3.0

----------------------------

installed locally on my pc

how can I add these packages to the web server

I know how to add myModels

I am new to python

,bebo

Edited by abanoub
Posted

this thread is from July 2011 - info is way out of date

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