Friday, August 3, 2012

Re: Issue Deploying Django

Agreed that virtualenv will allow you to install python packages - however not any linux/unix packages.  I have no problems using Django on Dreamhost.  http://dashdrum.com/blog/2011/08/django-on-dreamhost/

On Thursday, August 2, 2012 10:34:35 PM UTC-4, trevorj wrote:

You are trying to install packages system-wide when you don't have credentials to do so.

You can install everything you need without cluttering the system itself.

For instance, use a virtualenv and set your PREFIX.

Either way, happy hacking!

On Aug 1, 2012 8:32 PM, "JJ Zolper" <codingatmt@gmail.com> wrote:
I'm trying to install GEOS and on my bluehost account under my django_src folder and what happened in the image happened.

it said cannot create directory permission denied so i tired sudo make install after what I had just done ( "make" ).

and then it said whats in the second image.

When I tried to run:

./manage.py runfcgi [options]
I got an error about GEOS so that's why I was doing that.

Thanks for the help.

JJ

On Wednesday, August 1, 2012 1:03:21 PM UTC-4, JJ Zolper wrote:
Thanks so much for the reply!

I had a feeling I would need it but I just like to be sure before I act.

Another thing. On Ubuntu there were additional packages I had to install. I believe one was called "psycopg2-python-dev" or something like that.

If I install psycopg2-python at:


Are there any additional packges that I might need?

I apologize for not being able to remember the additional ones I added before on Ubuntu but I'm at work and couldn't find in my installation history what they might have been or in my django google group discussions.

I feel like one was called "libpq-dev" actually.

Thanks for the help.

JJ

On Wednesday, August 1, 2012 2:07:54 AM UTC-4, lawgon wrote:
On Tue, 2012-07-31 at 20:52 -0700, JJ Zolper wrote:
> Do I need to go through and install the python like adapters is that
> what it's complaining about? I don't think this has to do with my
> Django code on the server it's just a file missing right?

you need to install pycopg - and it is nothing to do with your code
--
regards
Kenneth Gonsalves

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/0Jx03fySUVUJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/9V4D-bMpS28J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate