Re: installing Django in python3

2021-03-07 Thread Kasper Laudrup

On 06/03/2021 18.29, Pavel Lopez wrote:

When installing Django in python3 I have the following error
ValueError: ZIP does not support timestamps before 1980
someone knows how i can solve this



What do you man by "installing Django in python3"? That doesn't make 
much sense.


If you want some help, try to provide relevant information so people are 
actually able to help you.


Kind regards,

Kasper Laudrup

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7833ca4e-b4d5-6ceb-2a97-27abbf744b69%40stacktrace.dk.


Re: installing Django in python3

2021-03-07 Thread Septo Suharyanto
maybe your desktop o'clock must be revised

2021-03-07 0:29 GMT+07.00, Pavel Lopez :
> When installing Django in python3 I have the following error
> ValueError: ZIP does not support timestamps before 1980
> someone knows how i can solve this
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CA%2B-gHTE0HE8ZCo4aGgB%2BOQdi-n4Kd_ovjPM59zEArhuErUc5ww%40mail.gmail.com.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHrViS52Dwgf0wkEwP5uf3HW65eef3GNwLuXEdUzCmvQiUuLQA%40mail.gmail.com.


Re: Installing Django in Window 10

2017-06-05 Thread Nandan Priyadarshi
Hi .. 
Django is Installed.
I want to create API with Django with Cassandra DB.. 
I just want respected steps. 
Thanks. 
On Tuesday, 6 June 2017 11:37:24 UTC+8, Hemhem wrote:
>
> Are you sure you don't already have Django installed?
>
> Try to import Django from your Python prompt and see what happens.
>
> If it doesn't throw any error, you have it. If it does, you can do
>
> pip install Django
>
> That should install it.
>
> On Jun 5, 2017 9:11 PM, "Nandan Priyadarshi"  > wrote:
>
>> Hi , 
>>
>> I am using* Windows 10, 64-bit system. Using Anaconda for Python with 
>> 3.6 version. *
>>
>> C:\Users\nandan>python
>>> Python 3.6.0 |Anaconda 4.3.0 (64-bit)| (default, Dec 23 2016, 11:57:41) 
>>> [MSC v.1900 64 bit (AMD64)] on win32
>>> Type "help", "copyright", "credits" or "license" for more information.
>>> >>>
>>
>>  
>> Please guide me *how to install Django*. In future, *I want to use 
>> Django with Apache Cassandra to create RestFul API*. 
>> Looking forward to spending a great time with this community. 
>>
>> Thanks and Regards, 
>> Nandan
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/5587c373-b522-4a22-8e80-e6613e28d422%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/dbd998c0-0252-4313-8121-ca75e92fd5e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Django in Window 10

2017-06-05 Thread Oladipupo Elegbede
Are you sure you don't already have Django installed?

Try to import Django from your Python prompt and see what happens.

If it doesn't throw any error, you have it. If it does, you can do

pip install Django

That should install it.

On Jun 5, 2017 9:11 PM, "Nandan Priyadarshi" 
wrote:

> Hi ,
>
> I am using* Windows 10, 64-bit system. Using Anaconda for Python with 3.6
> version. *
>
> C:\Users\nandan>python
>> Python 3.6.0 |Anaconda 4.3.0 (64-bit)| (default, Dec 23 2016, 11:57:41)
>> [MSC v.1900 64 bit (AMD64)] on win32
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>>
>
>
> Please guide me *how to install Django*. In future, *I want to use Django
> with Apache Cassandra to create RestFul API*.
> Looking forward to spending a great time with this community.
>
> Thanks and Regards,
> Nandan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/5587c373-b522-4a22-8e80-e6613e28d422%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHjgLX7AV2063on31Kt-i%2BHOtPML0keV-M2S-99ETaSH-fo56Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Django

2017-06-05 Thread Carlos Andre
pip install django==1.10



2017-06-05 13:59 GMT-03:00 Melvyn Sopacua :

> On Monday 05 June 2017 06:44:13 Oladipupo Elegbede wrote:
>
> > For the Python prompt from CMD and do the following
>
> >
>
> > >>>import Django
>
> > >>>Django.VERSION
>
>
>
> 1) it's django not Django
>
> > This should tell you what version of Django you have.
>
> >
>
> > On Jun 5, 2017 7:21 AM, "Daniel Roseman"  wrote:
>
> > > On Monday, 5 June 2017 12:33:28 UTC+1, Richard Mungai wrote:
>
> > >> Hi..
>
> > >> I'm trying to install django using the pip command i.e (pip install
>
> > >> django) but i keep getting the same error message i.e "Requirement
>
> > >> already satisfied: django in c:\program files\python
>
> > >> 35-32\lib\site-packages\django -1.10.6-py3.5.egg"
>
>
>
> 2) I'm betting it's 1.10.6 on Python 3.5 (32-bits, shooting for the bonus
> points).
>
> --
>
> Melvyn Sopacua
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/9871067.85mFGhf4C7%40devstation
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMz%2B8nkt88nezW_yPVHU4_%2BOAtV2hPsBa972PDZ3K-D_gQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Django

2017-06-05 Thread Melvyn Sopacua
On Monday 05 June 2017 06:44:13 Oladipupo Elegbede wrote:
> For the Python prompt from CMD and do the following
> 
> >>>import Django
> >>>Django.VERSION

1) it's django not Django
 
> This should tell you what version of Django you have.
> 
> On Jun 5, 2017 7:21 AM, "Daniel Roseman"  wrote:
> > On Monday, 5 June 2017 12:33:28 UTC+1, Richard Mungai wrote:
> >> Hi..
> >> I'm trying to install django using the pip command i.e (pip install
> >> django) but i keep getting the same error message i.e "Requirement
> >> already satisfied: django in c:\program files\python
> >> 35-32\lib\site-packages\django -1.10.6-py3.5.egg"

2) I'm betting it's 1.10.6 on Python 3.5 (32-bits, shooting for the bonus 
points).
-- 
Melvyn Sopacua

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9871067.85mFGhf4C7%40devstation.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Django

2017-06-05 Thread Oladipupo Elegbede
For the Python prompt from CMD and do the following

>>>import Django
>>>Django.VERSION


This should tell you what version of Django you have.


On Jun 5, 2017 7:21 AM, "Daniel Roseman"  wrote:

> On Monday, 5 June 2017 12:33:28 UTC+1, Richard Mungai wrote:
>>
>> Hi..
>> I'm trying to install django using the pip command i.e (pip install
>> django) but i keep getting the same error message i.e "Requirement already
>> satisfied: django in c:\program files\python 35-32\lib\site-packages\django
>> -1.10.6-py3.5.egg"
>> How can I solve this??
>>
>
> Solve what? It's telling you Django is already installed.
> --
> DR.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/9f275611-09d9-4d73-8c4f-bbf48608589e%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHjgLX5T-LjfbipxXCVvsV8OyYZ3pTjzBQ8%2BdLfLoDwM_jXmJA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Django

2017-06-05 Thread Daniel Roseman
On Monday, 5 June 2017 12:33:28 UTC+1, Richard Mungai wrote:
>
> Hi..
> I'm trying to install django using the pip command i.e (pip install 
> django) but i keep getting the same error message i.e "Requirement already 
> satisfied: django in c:\program files\python 
> 35-32\lib\site-packages\django-1.10.6-py3.5.egg"
> How can I solve this??
>

Solve what? It's telling you Django is already installed.
-- 
DR. 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9f275611-09d9-4d73-8c4f-bbf48608589e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: installing django and deploying it in a shared hosting

2017-04-06 Thread ludovic coues
We won't be able to help or anything without a lot more of details.

On 5 Apr 2017 11:29 pm, "harrison wachira"  wrote:

> I was unable to deploy django in a shared hosting
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/8fa7ed4d-281c-4b95-9a17-d72f9031942f%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEuG%2BTbFx0g%2Bp2h7j32ojAPbXG3hiQ%3DkkxDiupV3Ada-eDUBAg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Django

2017-01-30 Thread Danny Jr Chu
Ok, thanks.

On Monday, January 30, 2017 at 8:39:29 PM UTC+8, Antonis Christofides wrote:
>
> If you want to build something like Upwork, then Django is definitely a 
> good option, but of course, as you have guessed, you have really much 
> learning to do.
>
> Regards,
>
> Antonis
>
> Antonis Christofideshttp://djangodeployment.com
>
>
> On 01/30/2017 02:27 PM, Danny Jr Chu wrote:
>
> I will consider your professional advise Antonis. However, what I would 
> like to build is a (1st) freelancer website (upwork or like), I know that 
> there are hundreds of these right now, but with a subtle twist and to offer 
> both client and contractor something more, it may be feasible. (2nd) I fail 
> to find Angel Investor so I have to cut cost everything to the rock bottom, 
> I have a lot of time available to study and (plus motivation of course) and 
> (3nd) I've done number of websites with blogspot (but plugins are paid 
> monthly). So, I was thinking to do it myself the backbone with Django. 
> Please tell me more what I should have know to bring this project to life. 
>
> Thanks for your support,
> Danny
>
> On Monday, January 30, 2017 at 6:54:58 PM UTC+8, Antonis Christofides 
> wrote: 
>>
>> If you want to just make a web site, Django is the wrong thing for you. 
>> Django is not for building web sites, it's for building web applications. 
>> You might instead want to look at Mezzanine or Django-CMS or Wagtail (these 
>> are all software for building web sites and they're based on Django), or, 
>> if being based on Django is not a requirement, you can use Wordpress or 
>> Drupal. There are really many more, there must be tens. I believe the most 
>> popular is Wordpress.
>>
>> If you use any of these and install it on a server, you will only need to 
>> pay for the domain and hosting (and spend considerable time setting it up).
>>
>> If you use wordpress.com, they set it up for you, so you don't need to 
>> install it yourself, and the cost is probably less than getting a virtual 
>> server to install stuff yourself.
>>
>> I don't want to discourage you from using Django if it's for you. I just 
>> don't want you to get the impression that "Django is 
>> bad/complicated/painful" when you just might be using it for the wrong 
>> purpose.
>>
>> Regards,
>>
>> Antonis
>>
>> Antonis Christofideshttp://djangodeployment.com
>>
>>
>> On 01/30/2017 12:33 PM, Danny Jr Chu wrote:
>>
>> Hi Antonis,  
>>
>> No I have not yet tried wordpress, but the answer is budget wise. I would 
>> think that after these exercises, I am just going to pay (I think) the 
>> domain and hosting only.
>>
>> Regards,
>> Danny
>>
>> On Monday, January 30, 2017 at 6:16:27 PM UTC+8, Antonis Christofides 
>> wrote: 
>>>
>>> I wish I could build a website out of my imaginary
>>>
>>> Hello,
>>>
>>> depending on what you mean with "build a website", you may be looking at 
>>> the wrong thing. Have you tried, for example, to build a web site at 
>>> wordpress.com? If yes, why is this not sufficient for you and you want 
>>> to learn Django?
>>>
>>> Regards,
>>>
>>> Antonis
>>>
>>> Antonis Christofideshttp://djangodeployment.com
>>>
>>>
>>> On 01/30/2017 05:05 AM, Danny Jr Chu wrote:
>>>
>>> Guys, please help. I am new with Python and Django, I mean I don't have 
>>> any clue what's going on (don't even know how to encode), but I wish I 
>>> could build a website out of my imaginary. I know this will goes miles and 
>>> miles... I am trying to install Django but couple of errors occur :  
>>>
>>> PS C:\Users\Luv> easy_install django
>>> Searching for django
>>> Reading https://pypi.python.org/simple/django/
>>> Downloading 
>>> https://pypi.python.org/packages/c3/c2/6096bf5d0caa4e3d5b985ac72e3a0c795e37fa7407d6c85460b2a105b467/Django-1
>>> .10.5.tar.gz#md5=3fce02f1e6461fec21f1f15ea7489924
>>> Best match: Django 1.10.5
>>> Processing Django-1.10.5.tar.gz
>>> Writing 
>>> C:\Users\Luv\AppData\Local\Temp\easy_install-5dcbu64l\Django-1.10.5\setup.cfg
>>> Running Django-1.10.5\setup.py -q bdist_egg --dist-dir 
>>> C:\Users\Luv\AppData\Local\Temp\easy_install-5dcbu64l\Django-1.10
>>> .5\egg-dist-tmp-k4dzxio3
>>> no previously-included directories found matching 
>>> 'django\contrib\admin\bin'
>>> warning: no previously-included files matching '__pycache__' found 
>>> anywhere in distribution
>>> creating c:\program files (x86)\lib\site-packages\django-1.10.5-py3.6.egg
>>> Extracting django-1.10.5-py3.6.egg to c:\program files 
>>> (x86)\lib\site-packages
>>> Adding django 1.10.5 to easy-install.pth file
>>> Installing django-admin.py script to c:\program files (x86)\Scripts
>>> error: [Errno 13] Permission denied: 'c:\\program files 
>>> (x86)\\Scripts\\django-admin.py'
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to django-users...@googlegroups.com.
>>> To post to this group, send email to 

Re: Installing Django

2017-01-30 Thread Antonis Christofides
If you want to build something like Upwork, then Django is definitely a good
option, but of course, as you have guessed, you have really much learning to do.

Regards,

Antonis

Antonis Christofides
http://djangodeployment.com


On 01/30/2017 02:27 PM, Danny Jr Chu wrote:
> I will consider your professional advise Antonis. However, what I would like
> to build is a (1st) freelancer website (upwork or like), I know that there are
> hundreds of these right now, but with a subtle twist and to offer both client
> and contractor something more, it may be feasible. (2nd) I fail to find Angel
> Investor so I have to cut cost everything to the rock bottom, I have a lot of
> time available to study and (plus motivation of course) and (3nd) I've done
> number of websites with blogspot (but plugins are paid monthly). So, I was
> thinking to do it myself the backbone with Django. 
> Please tell me more what I should have know to bring this project to life. 
>
> Thanks for your support,
> Danny
>
> On Monday, January 30, 2017 at 6:54:58 PM UTC+8, Antonis Christofides wrote:
>
> If you want to just make a web site, Django is the wrong thing for you.
> Django is not for building web sites, it's for building web applications.
> You might instead want to look at Mezzanine or Django-CMS or Wagtail
> (these are all software for building web sites and they're based on
> Django), or, if being based on Django is not a requirement, you can use
> Wordpress or Drupal. There are really many more, there must be tens. I
> believe the most popular is Wordpress.
>
> If you use any of these and install it on a server, you will only need to
> pay for the domain and hosting (and spend considerable time setting it 
> up).
>
> If you use wordpress.com , they set it up for you,
> so you don't need to install it yourself, and the cost is probably less
> than getting a virtual server to install stuff yourself.
>
> I don't want to discourage you from using Django if it's for you. I just
> don't want you to get the impression that "Django is
> bad/complicated/painful" when you just might be using it for the wrong
> purpose.
>
> Regards,
>
> Antonis
>
> Antonis Christofides
> http://djangodeployment.com
>
>
> On 01/30/2017 12:33 PM, Danny Jr Chu wrote:
>> Hi Antonis, 
>>
>> No I have not yet tried wordpress, but the answer is budget wise. I would
>> think that after these exercises, I am just going to pay (I think) the
>> domain and hosting only.
>>
>> Regards,
>> Danny
>>
>> On Monday, January 30, 2017 at 6:16:27 PM UTC+8, Antonis Christofides 
>> wrote:
>>
>>> I wish I could build a website out of my imaginary
>>
>> Hello,
>>
>> depending on what you mean with "build a website", you may be looking
>> at the wrong thing. Have you tried, for example, to build a web site
>> at wordpress.com ? If yes, why is this not
>> sufficient for you and you want to learn Django?
>>
>> Regards,
>>
>> Antonis
>>
>> Antonis Christofides
>> http://djangodeployment.com
>>
>>
>> On 01/30/2017 05:05 AM, Danny Jr Chu wrote:
>>> Guys, please help. I am new with Python and Django, I mean I don't
>>> have any clue what's going on (don't even know how to encode), but I
>>> wish I could build a website out of my imaginary. I know this will
>>> goes miles and miles... I am trying to install Django but couple of
>>> errors occur : 
>>>
>>> PS C:\Users\Luv> easy_install django
>>> Searching for django
>>> Reading https://pypi.python.org/simple/django/
>>> 
>>> Downloading
>>> 
>>> https://pypi.python.org/packages/c3/c2/6096bf5d0caa4e3d5b985ac72e3a0c795e37fa7407d6c85460b2a105b467/Django-1
>>> 
>>> 
>>> .10.5.tar.gz#md5=3fce02f1e6461fec21f1f15ea7489924
>>> Best match: Django 1.10.5
>>> Processing Django-1.10.5.tar.gz
>>> Writing
>>> 
>>> C:\Users\Luv\AppData\Local\Temp\easy_install-5dcbu64l\Django-1.10.5\setup.cfg
>>> Running Django-1.10.5\setup.py -q bdist_egg --dist-dir
>>> C:\Users\Luv\AppData\Local\Temp\easy_install-5dcbu64l\Django-1.10
>>> .5\egg-dist-tmp-k4dzxio3
>>> no previously-included directories found matching
>>> 'django\contrib\admin\bin'
>>> warning: no previously-included files matching '__pycache__' found
>>> anywhere in distribution
>>> creating c:\program files
>>> (x86)\lib\site-packages\django-1.10.5-py3.6.egg
>>> Extracting django-1.10.5-py3.6.egg to c:\program files
>>> (x86)\lib\site-packages
>>> Adding django 1.10.5 to easy-install.pth 

Re: Installing Django

2017-01-30 Thread Danny Jr Chu
I will consider your professional advise Antonis. However, what I would 
like to build is a (1st) freelancer website (upwork or like), I know that 
there are hundreds of these right now, but with a subtle twist and to offer 
both client and contractor something more, it may be feasible. (2nd) I fail 
to find Angel Investor so I have to cut cost everything to the rock bottom, 
I have a lot of time available to study and (plus motivation of course) and 
(3nd) I've done number of websites with blogspot (but plugins are paid 
monthly). So, I was thinking to do it myself the backbone with Django. 
Please tell me more what I should have know to bring this project to life. 

Thanks for your support,
Danny

On Monday, January 30, 2017 at 6:54:58 PM UTC+8, Antonis Christofides wrote:
>
> If you want to just make a web site, Django is the wrong thing for you. 
> Django is not for building web sites, it's for building web applications. 
> You might instead want to look at Mezzanine or Django-CMS or Wagtail (these 
> are all software for building web sites and they're based on Django), or, 
> if being based on Django is not a requirement, you can use Wordpress or 
> Drupal. There are really many more, there must be tens. I believe the most 
> popular is Wordpress.
>
> If you use any of these and install it on a server, you will only need to 
> pay for the domain and hosting (and spend considerable time setting it up).
>
> If you use wordpress.com, they set it up for you, so you don't need to 
> install it yourself, and the cost is probably less than getting a virtual 
> server to install stuff yourself.
>
> I don't want to discourage you from using Django if it's for you. I just 
> don't want you to get the impression that "Django is 
> bad/complicated/painful" when you just might be using it for the wrong 
> purpose.
>
> Regards,
>
> Antonis
>
> Antonis Christofideshttp://djangodeployment.com
>
>
> On 01/30/2017 12:33 PM, Danny Jr Chu wrote:
>
> Hi Antonis,  
>
> No I have not yet tried wordpress, but the answer is budget wise. I would 
> think that after these exercises, I am just going to pay (I think) the 
> domain and hosting only.
>
> Regards,
> Danny
>
> On Monday, January 30, 2017 at 6:16:27 PM UTC+8, Antonis Christofides 
> wrote: 
>>
>> I wish I could build a website out of my imaginary
>>
>> Hello,
>>
>> depending on what you mean with "build a website", you may be looking at 
>> the wrong thing. Have you tried, for example, to build a web site at 
>> wordpress.com? If yes, why is this not sufficient for you and you want 
>> to learn Django?
>>
>> Regards,
>>
>> Antonis
>>
>> Antonis Christofideshttp://djangodeployment.com
>>
>>
>> On 01/30/2017 05:05 AM, Danny Jr Chu wrote:
>>
>> Guys, please help. I am new with Python and Django, I mean I don't have 
>> any clue what's going on (don't even know how to encode), but I wish I 
>> could build a website out of my imaginary. I know this will goes miles and 
>> miles... I am trying to install Django but couple of errors occur :  
>>
>> PS C:\Users\Luv> easy_install django
>> Searching for django
>> Reading https://pypi.python.org/simple/django/
>> Downloading 
>> https://pypi.python.org/packages/c3/c2/6096bf5d0caa4e3d5b985ac72e3a0c795e37fa7407d6c85460b2a105b467/Django-1
>> .10.5.tar.gz#md5=3fce02f1e6461fec21f1f15ea7489924
>> Best match: Django 1.10.5
>> Processing Django-1.10.5.tar.gz
>> Writing 
>> C:\Users\Luv\AppData\Local\Temp\easy_install-5dcbu64l\Django-1.10.5\setup.cfg
>> Running Django-1.10.5\setup.py -q bdist_egg --dist-dir 
>> C:\Users\Luv\AppData\Local\Temp\easy_install-5dcbu64l\Django-1.10
>> .5\egg-dist-tmp-k4dzxio3
>> no previously-included directories found matching 
>> 'django\contrib\admin\bin'
>> warning: no previously-included files matching '__pycache__' found 
>> anywhere in distribution
>> creating c:\program files (x86)\lib\site-packages\django-1.10.5-py3.6.egg
>> Extracting django-1.10.5-py3.6.egg to c:\program files 
>> (x86)\lib\site-packages
>> Adding django 1.10.5 to easy-install.pth file
>> Installing django-admin.py script to c:\program files (x86)\Scripts
>> error: [Errno 13] Permission denied: 'c:\\program files 
>> (x86)\\Scripts\\django-admin.py'
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com.
>> To post to this group, send email to django...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/86091d59-6578-4e85-9be0-d24beb1f5b84%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> -- 
> You received this message because you are 

Re: Installing Django

2017-01-30 Thread Antonis Christofides
If you want to just make a web site, Django is the wrong thing for you. Django
is not for building web sites, it's for building web applications. You might
instead want to look at Mezzanine or Django-CMS or Wagtail (these are all
software for building web sites and they're based on Django), or, if being based
on Django is not a requirement, you can use Wordpress or Drupal. There are
really many more, there must be tens. I believe the most popular is Wordpress.

If you use any of these and install it on a server, you will only need to pay
for the domain and hosting (and spend considerable time setting it up).

If you use wordpress.com, they set it up for you, so you don't need to install
it yourself, and the cost is probably less than getting a virtual server to
install stuff yourself.

I don't want to discourage you from using Django if it's for you. I just don't
want you to get the impression that "Django is bad/complicated/painful" when you
just might be using it for the wrong purpose.

Regards,

Antonis

Antonis Christofides
http://djangodeployment.com


On 01/30/2017 12:33 PM, Danny Jr Chu wrote:
> Hi Antonis, 
>
> No I have not yet tried wordpress, but the answer is budget wise. I would
> think that after these exercises, I am just going to pay (I think) the domain
> and hosting only.
>
> Regards,
> Danny
>
> On Monday, January 30, 2017 at 6:16:27 PM UTC+8, Antonis Christofides wrote:
>
>> I wish I could build a website out of my imaginary
>
> Hello,
>
> depending on what you mean with "build a website", you may be looking at
> the wrong thing. Have you tried, for example, to build a web site at
> wordpress.com ? If yes, why is this not sufficient
> for you and you want to learn Django?
>
> Regards,
>
> Antonis
>
> Antonis Christofides
> http://djangodeployment.com
>
>
> On 01/30/2017 05:05 AM, Danny Jr Chu wrote:
>> Guys, please help. I am new with Python and Django, I mean I don't have
>> any clue what's going on (don't even know how to encode), but I wish I
>> could build a website out of my imaginary. I know this will goes miles
>> and miles... I am trying to install Django but couple of errors occur : 
>>
>> PS C:\Users\Luv> easy_install django
>> Searching for django
>> Reading https://pypi.python.org/simple/django/
>> 
>> Downloading
>> 
>> https://pypi.python.org/packages/c3/c2/6096bf5d0caa4e3d5b985ac72e3a0c795e37fa7407d6c85460b2a105b467/Django-1
>> 
>> 
>> .10.5.tar.gz#md5=3fce02f1e6461fec21f1f15ea7489924
>> Best match: Django 1.10.5
>> Processing Django-1.10.5.tar.gz
>> Writing
>> 
>> C:\Users\Luv\AppData\Local\Temp\easy_install-5dcbu64l\Django-1.10.5\setup.cfg
>> Running Django-1.10.5\setup.py -q bdist_egg --dist-dir
>> C:\Users\Luv\AppData\Local\Temp\easy_install-5dcbu64l\Django-1.10
>> .5\egg-dist-tmp-k4dzxio3
>> no previously-included directories found matching 
>> 'django\contrib\admin\bin'
>> warning: no previously-included files matching '__pycache__' found
>> anywhere in distribution
>> creating c:\program files (x86)\lib\site-packages\django-1.10.5-py3.6.egg
>> Extracting django-1.10.5-py3.6.egg to c:\program files
>> (x86)\lib\site-packages
>> Adding django 1.10.5 to easy-install.pth file
>> Installing django-admin.py script to c:\program files (x86)\Scripts
>> error: [Errno 13] Permission denied: 'c:\\program files
>> (x86)\\Scripts\\django-admin.py'
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com
>> .
>> Visit this group at https://groups.google.com/group/django-users
>> .
>> To view this discussion on the web visit
>> 
>> https://groups.google.com/d/msgid/django-users/86091d59-6578-4e85-9be0-d24beb1f5b84%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout
>> .
>
> -- 
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com
> .
> To post to this group, send email to django-users@googlegroups.com
> .
> Visit this group at 

Re: Installing Django

2017-01-30 Thread Danny Jr Chu
Hi Antonis, 

No I have not yet tried wordpress, but the answer is budget wise. I would 
think that after these exercises, I am just going to pay (I think) the 
domain and hosting only.

Regards,
Danny

On Monday, January 30, 2017 at 6:16:27 PM UTC+8, Antonis Christofides wrote:
>
> I wish I could build a website out of my imaginary
>
> Hello,
>
> depending on what you mean with "build a website", you may be looking at 
> the wrong thing. Have you tried, for example, to build a web site at 
> wordpress.com? If yes, why is this not sufficient for you and you want to 
> learn Django?
>
> Regards,
>
> Antonis
>
> Antonis Christofideshttp://djangodeployment.com
>
>
> On 01/30/2017 05:05 AM, Danny Jr Chu wrote:
>
> Guys, please help. I am new with Python and Django, I mean I don't have 
> any clue what's going on (don't even know how to encode), but I wish I 
> could build a website out of my imaginary. I know this will goes miles and 
> miles... I am trying to install Django but couple of errors occur :  
>
> PS C:\Users\Luv> easy_install django
> Searching for django
> Reading https://pypi.python.org/simple/django/
> Downloading 
> https://pypi.python.org/packages/c3/c2/6096bf5d0caa4e3d5b985ac72e3a0c795e37fa7407d6c85460b2a105b467/Django-1
> .10.5.tar.gz#md5=3fce02f1e6461fec21f1f15ea7489924
> Best match: Django 1.10.5
> Processing Django-1.10.5.tar.gz
> Writing 
> C:\Users\Luv\AppData\Local\Temp\easy_install-5dcbu64l\Django-1.10.5\setup.cfg
> Running Django-1.10.5\setup.py -q bdist_egg --dist-dir 
> C:\Users\Luv\AppData\Local\Temp\easy_install-5dcbu64l\Django-1.10
> .5\egg-dist-tmp-k4dzxio3
> no previously-included directories found matching 
> 'django\contrib\admin\bin'
> warning: no previously-included files matching '__pycache__' found 
> anywhere in distribution
> creating c:\program files (x86)\lib\site-packages\django-1.10.5-py3.6.egg
> Extracting django-1.10.5-py3.6.egg to c:\program files 
> (x86)\lib\site-packages
> Adding django 1.10.5 to easy-install.pth file
> Installing django-admin.py script to c:\program files (x86)\Scripts
> error: [Errno 13] Permission denied: 'c:\\program files 
> (x86)\\Scripts\\django-admin.py'
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users...@googlegroups.com .
> To post to this group, send email to django...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/86091d59-6578-4e85-9be0-d24beb1f5b84%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6cafee05-1c3f-40cf-aeab-00f98493cf6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Django

2017-01-30 Thread Danny Jr Chu
Hello Jani, you are an angel :) 

I have un-installed it and re-install to the right folder.. thanks a lot. 

On Monday, January 30, 2017 at 4:34:27 PM UTC+8, Jani Tiainen wrote:
>
> Hi,
>
> First you seem to be installing Django to Windows, it adds certain 
> complexity all together, it's not impossible though.
>
> By given paths for some strange reason easy_install seems to thing that 
> you have installed your Python to "C:\program files (x86)\" directory (not 
> subdirectory there or anything, to root of that folder), that is quite 
> wrong, first it requires allways adminstrative access to install anything 
> there, and second it's not standard place, which would be something like 
> C:\PythonXX\ (to avoid permission problems). 
>
> First thing to you is now to figure out did you managed to mess up Python 
> installation by putting it to incorrect path and fix by removing all 
> components and then installing it to more proper location. 
>
> Depending on Python modules you want to use some may require compiling 
> which is not simple under Windows, so if you can use some Linux (or some 
> other unix variant) box or something like virtual machine setting up 
> environment is much easier.
>
> On 30.01.2017 05:05, Danny Jr Chu wrote:
>
> Guys, please help. I am new with Python and Django, I mean I don't have 
> any clue what's going on (don't even know how to encode), but I wish I 
> could build a website out of my imaginary. I know this will goes miles and 
> miles... I am trying to install Django but couple of errors occur :  
>
> PS C:\Users\Luv> easy_install django
> Searching for django
> Reading https://pypi.python.org/simple/django/
> Downloading 
> https://pypi.python.org/packages/c3/c2/6096bf5d0caa4e3d5b985ac72e3a0c795e37fa7407d6c85460b2a105b467/Django-1
> .10.5.tar.gz#md5=3fce02f1e6461fec21f1f15ea7489924
> Best match: Django 1.10.5
> Processing Django-1.10.5.tar.gz
> Writing 
> C:\Users\Luv\AppData\Local\Temp\easy_install-5dcbu64l\Django-1.10.5\setup.cfg
> Running Django-1.10.5\setup.py -q bdist_egg --dist-dir 
> C:\Users\Luv\AppData\Local\Temp\easy_install-5dcbu64l\Django-1.10
> .5\egg-dist-tmp-k4dzxio3
> no previously-included directories found matching 
> 'django\contrib\admin\bin'
> warning: no previously-included files matching '__pycache__' found 
> anywhere in distribution
> creating c:\program files (x86)\lib\site-packages\django-1.10.5-py3.6.egg
> Extracting django-1.10.5-py3.6.egg to c:\program files 
> (x86)\lib\site-packages
> Adding django 1.10.5 to easy-install.pth file
> Installing django-admin.py script to c:\program files (x86)\Scripts
> error: [Errno 13] Permission denied: 'c:\\program files 
> (x86)\\Scripts\\django-admin.py'
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users...@googlegroups.com .
> To post to this group, send email to django...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> 
> https://groups.google.com/d/msgid/django-users/86091d59-6578-4e85-9be0-d24beb1f5b84%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
> Jani Tiainen
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d0938a27-8246-4b9d-9a16-b5c7919349f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Django

2017-01-30 Thread Antonis Christofides
> I wish I could build a website out of my imaginary

Hello,

depending on what you mean with "build a website", you may be looking at the
wrong thing. Have you tried, for example, to build a web site at wordpress.com?
If yes, why is this not sufficient for you and you want to learn Django?

Regards,

Antonis

Antonis Christofides
http://djangodeployment.com


On 01/30/2017 05:05 AM, Danny Jr Chu wrote:
> Guys, please help. I am new with Python and Django, I mean I don't have any
> clue what's going on (don't even know how to encode), but I wish I could build
> a website out of my imaginary. I know this will goes miles and miles... I am
> trying to install Django but couple of errors occur : 
>
> PS C:\Users\Luv> easy_install django
> Searching for django
> Reading https://pypi.python.org/simple/django/
> Downloading
> https://pypi.python.org/packages/c3/c2/6096bf5d0caa4e3d5b985ac72e3a0c795e37fa7407d6c85460b2a105b467/Django-1
> .10.5.tar.gz#md5=3fce02f1e6461fec21f1f15ea7489924
> Best match: Django 1.10.5
> Processing Django-1.10.5.tar.gz
> Writing
> C:\Users\Luv\AppData\Local\Temp\easy_install-5dcbu64l\Django-1.10.5\setup.cfg
> Running Django-1.10.5\setup.py -q bdist_egg --dist-dir
> C:\Users\Luv\AppData\Local\Temp\easy_install-5dcbu64l\Django-1.10
> .5\egg-dist-tmp-k4dzxio3
> no previously-included directories found matching 'django\contrib\admin\bin'
> warning: no previously-included files matching '__pycache__' found anywhere in
> distribution
> creating c:\program files (x86)\lib\site-packages\django-1.10.5-py3.6.egg
> Extracting django-1.10.5-py3.6.egg to c:\program files (x86)\lib\site-packages
> Adding django 1.10.5 to easy-install.pth file
> Installing django-admin.py script to c:\program files (x86)\Scripts
> error: [Errno 13] Permission denied: 'c:\\program files
> (x86)\\Scripts\\django-admin.py'
>
> -- 
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com
> .
> To post to this group, send email to django-users@googlegroups.com
> .
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/86091d59-6578-4e85-9be0-d24beb1f5b84%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3a678d4b-556c-1276-a8cd-45dd850ced6c%40djangodeployment.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Django

2017-01-30 Thread Jani Tiainen

Hi,

First you seem to be installing Django to Windows, it adds certain 
complexity all together, it's not impossible though.



By given paths for some strange reason easy_install seems to thing that 
you have installed your Python to "C:\program files (x86)\" directory 
(not subdirectory there or anything, to root of that folder), that is 
quite wrong, first it requires allways adminstrative access to install 
anything there, and second it's not standard place, which would be 
something like C:\PythonXX\ (to avoid permission problems).


First thing to you is now to figure out did you managed to mess up 
Python installation by putting it to incorrect path and fix by removing 
all components and then installing it to more proper location.


Depending on Python modules you want to use some may require compiling 
which is not simple under Windows, so if you can use some Linux (or some 
other unix variant) box or something like virtual machine setting up 
environment is much easier.


On 30.01.2017 05:05, Danny Jr Chu wrote:
Guys, please help. I am new with Python and Django, I mean I don't 
have any clue what's going on (don't even know how to encode), but I 
wish I could build a website out of my imaginary. I know this will 
goes miles and miles... I am trying to install Django but couple of 
errors occur :


PS C:\Users\Luv> easy_install django
Searching for django
Reading https://pypi.python.org/simple/django/
Downloading 
https://pypi.python.org/packages/c3/c2/6096bf5d0caa4e3d5b985ac72e3a0c795e37fa7407d6c85460b2a105b467/Django-1

.10.5.tar.gz#md5=3fce02f1e6461fec21f1f15ea7489924
Best match: Django 1.10.5
Processing Django-1.10.5.tar.gz
Writing 
C:\Users\Luv\AppData\Local\Temp\easy_install-5dcbu64l\Django-1.10.5\setup.cfg
Running Django-1.10.5\setup.py -q bdist_egg --dist-dir 
C:\Users\Luv\AppData\Local\Temp\easy_install-5dcbu64l\Django-1.10

.5\egg-dist-tmp-k4dzxio3
no previously-included directories found matching 
'django\contrib\admin\bin'
warning: no previously-included files matching '__pycache__' found 
anywhere in distribution

creating c:\program files (x86)\lib\site-packages\django-1.10.5-py3.6.egg
Extracting django-1.10.5-py3.6.egg to c:\program files 
(x86)\lib\site-packages

Adding django 1.10.5 to easy-install.pth file
Installing django-admin.py script to c:\program files (x86)\Scripts
error: [Errno 13] Permission denied: 'c:\\program files 
(x86)\\Scripts\\django-admin.py'


--
You received this message because you are subscribed to the Google 
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to django-users+unsubscr...@googlegroups.com 
.
To post to this group, send email to django-users@googlegroups.com 
.

Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/86091d59-6578-4e85-9be0-d24beb1f5b84%40googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--
Jani Tiainen

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/62138d02-bd49-cd6d-577f-f65501b51ff1%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing django on python3.5.2. Debian

2016-12-14 Thread GMail
As far as I remember, in Debian-based distributions you have to install pip via 
another package, usually python-pip or python3-pip. Also, there's a way to 
install pip via easy_install.

And yes, you probably shouldn't use system pip, virtualenv does install pip 
inside newly created virtual environments.

> On 14 Dec 2016, at 10:51, Michal Petrucha  
> wrote:
> 
> On Tue, Dec 13, 2016 at 01:16:52PM -0800, mihail.poplav...@gmail.com wrote:
>> Hello! I have a problem with installing Django on python 3.5.2, Debian
>> I can't install pip on this version of python. However, python 3.4 has pip.
>> How can I install pip in python 3.5.2? 
> 
> If you installed Python from apt repositories, then you should almost
> never use pip directly, in fact, there's very little reason for you to
> have a system-level pip at all.
> 
> What you should do is create a virtualenv (either with the
> python3-virtualenv package with the command “virtualenv”, or
> python3-venv, using “python3 -m venv”). The virtualenv will already
> contain a version of pip that you can use, and you're free to mess
> with packages inside that virtualenv in whatever way you want.
> 
> The reason for this is that if you use pip with your system Python
> installed from repositories, there's a high chance that you will
> overwrite some of the essential repository-installed packages with
> pip, which can render your entire Python installation unusable. This
> does happen to people quite often, and it's quite difficult to recover
> from.
> 
> Good luck,
> 
> Michal
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/20161214075129.GI22986%40konk.org.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/FE900602-9D27-4C1F-B63C-9390D30BEAB1%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing django on python3.5.2. Debian

2016-12-13 Thread Michal Petrucha
On Tue, Dec 13, 2016 at 01:16:52PM -0800, mihail.poplav...@gmail.com wrote:
> Hello! I have a problem with installing Django on python 3.5.2, Debian
> I can't install pip on this version of python. However, python 3.4 has pip.
> How can I install pip in python 3.5.2? 

If you installed Python from apt repositories, then you should almost
never use pip directly, in fact, there's very little reason for you to
have a system-level pip at all.

What you should do is create a virtualenv (either with the
python3-virtualenv package with the command “virtualenv”, or
python3-venv, using “python3 -m venv”). The virtualenv will already
contain a version of pip that you can use, and you're free to mess
with packages inside that virtualenv in whatever way you want.

The reason for this is that if you use pip with your system Python
installed from repositories, there's a high chance that you will
overwrite some of the essential repository-installed packages with
pip, which can render your entire Python installation unusable. This
does happen to people quite often, and it's quite difficult to recover
from.

Good luck,

Michal

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20161214075129.GI22986%40konk.org.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: Digital signature


Re: Installing django on python3.5.2. Debian

2016-12-13 Thread Antonis Christofides

Hi,

How did you install Python? Usually pip is installed together with Python. If 
for some reason it hasn't been installed, you should be able to install it with 
"python -m ensurepip". See https://docs.python.org/3/library/ensurepip.html.


Regards,

Antonis Christofides
http://djangodeployment.com

On 12/13/2016 11:16 PM, mihail.poplav...@gmail.com wrote:

Hello! I have a problem with installing Django on python 3.5.2, Debian
I can't install pip on this version of python. However, python 3.4 has pip.
How can I install pip in python 3.5.2?
--
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an 
email to django-users+unsubscr...@googlegroups.com 
.
To post to this group, send email to django-users@googlegroups.com 
.

Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/11beec53-44d9-464b-953f-dbc8f484beb6%40googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d5ac2063-c4fd-a2c9-c186-d91a54fcb9d2%40djangodeployment.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Django Problem.

2016-07-04 Thread Steve R Burrus
Wel;l everyone I guess that I have met with success as far as connecting to  
the Django server a nd configuring the admin BUT there remains A LOT of things 
about Django I don't know yet.    

On Monday, July 4, 2016 2:31 PM, ludovic coues  wrote:
 

 I could ask you what error you get when running syncdb. I could tell
you to use manage.py createsuperuser.
But the best advice anyone can give you is to do a tutorial about
django. The django girls one is really great. The one from the
official documentation is shorter. Either one will give you a solid
base for starting to use django.

2016-07-04 16:19 GMT+02:00 Steve Burrus :
> Well I successfully set up the Django server an d then connected to oit BUT
> I couldn't use that "syncdb" command to then set the pw and username in the
> admin.
>
> On Sun, Jul 3, 2016 at 11:15 PM, Mike Dewhirst 
> wrote:
>>
>> On 4/07/2016 1:06 PM, Steve Burrus wrote:
>>>
>>> Well I did tjhis okay "(stevesenv)
>>> C:\Users\sbur87\Desktop\steves_dir\stevesenv>pip install django" but
>>> still the question persists where I go from here? I remember using
>>> "django-admin" before. How do I use that?
>>
>>
>> Here is a good place to start ...
>>
>> https://docs.djangoproject.com/en/1.9/
>>
>> That page covers how the documentation is organised. You need to work your
>> way through all the installation steps including database etc.
>>
>> Then the most important next step is to wrk through the tutorial. Once you
>> get that done there are quite a few third party tutorials on the web.
>>
>> Good luck
>>
>>
>> Mike
>>
>>
>>
>>
>>>
>>> On Sun, Jul 3, 2016 at 9:32 PM, Mike Dewhirst >> > wrote:
>>>
>>>    On 4/07/2016 12:01 PM, Steve Burrus wrote:
>>>
>>>        well I uyet again am encountering problems with installing the
>>>        Django
>>>        server. I managed to get to this point "(stevesenv)
>>>        C:\Users\sbur87\Desktop\steves_dir\stevesenv>"
>>>
>>>
>>>    It looks as though you have successfully got virtualenv working.
>>>
>>>    Therefore the short answer to your question is ...
>>>
>>>    (stevesenv) C:\Users\sbur87\Desktop\steves_dir\stevesenv>pip install
>>>    django
>>>
>>>    Cheers
>>>
>>>    Mike
>>>
>>>
>>>    but where exactly do I go
>>>
>>>        from here in installing django? Man y thanx to anyone who can
>>>        help me
>>>        with this "trying" problem of mine.Â
>>>
>>>        --
>>>        You received this message because you are subscribed to the
>>> Google
>>>        Groups "Django users" group.
>>>        To unsubscribe from this group and stop receiving emails from
>>>        it, send
>>>        an email to django-users+unsubscr...@googlegroups.com
>>>        
>>>        >>        >.
>>>        To post to this group, send email to
>>>        django-users@googlegroups.com
>>> 
>>>        >>        >.
>>>        Visit this group at https://groups.google.com/group/django-users.
>>>        To view this discussion on the web visit
>>>
>>> https://groups.google.com/d/msgid/django-users/e29b7fb8-ebda-4afc-890d-4048c4fe2e52%40googlegroups.com
>>>
>>> .
>>>        For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>    --
>>>    You received this message because you are subscribed to a topic in
>>>    the Google Groups "Django users" group.
>>>    To unsubscribe from this topic, visit
>>>
>>> https://groups.google.com/d/topic/django-users/9wVk4lDZcMY/unsubscribe.
>>>    To unsubscribe from this group and all its topics, send an email to
>>>    django-users+unsubscr...@googlegroups.com
>>>    .
>>>    To post to this group, send email to django-users@googlegroups.com
>>>    .
>>>    Visit this group at https://groups.google.com/group/django-users.
>>>    To view this discussion on the web visit
>>>
>>> https://groups.google.com/d/msgid/django-users/58cd5e27-6d4d-6929-aa44-b59c526a8c55%40dewhirst.com.au.
>>>
>>>    For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com
>>> .
>>> To post to this group, send email to django-users@googlegroups.com
>>> .
>>> Visit this group at 

Re: Installing Django Problem.

2016-07-04 Thread ludovic coues
I could ask you what error you get when running syncdb. I could tell
you to use manage.py createsuperuser.
But the best advice anyone can give you is to do a tutorial about
django. The django girls one is really great. The one from the
official documentation is shorter. Either one will give you a solid
base for starting to use django.

2016-07-04 16:19 GMT+02:00 Steve Burrus :
> Well I successfully set up the Django server an d then connected to oit BUT
> I couldn't use that "syncdb" command to then set the pw and username in the
> admin.
>
> On Sun, Jul 3, 2016 at 11:15 PM, Mike Dewhirst 
> wrote:
>>
>> On 4/07/2016 1:06 PM, Steve Burrus wrote:
>>>
>>> Well I did tjhis okay "(stevesenv)
>>> C:\Users\sbur87\Desktop\steves_dir\stevesenv>pip install django" but
>>> still the question persists where I go from here? I remember using
>>> "django-admin" before. How do I use that?
>>
>>
>> Here is a good place to start ...
>>
>> https://docs.djangoproject.com/en/1.9/
>>
>> That page covers how the documentation is organised. You need to work your
>> way through all the installation steps including database etc.
>>
>> Then the most important next step is to wrk through the tutorial. Once you
>> get that done there are quite a few third party tutorials on the web.
>>
>> Good luck
>>
>>
>> Mike
>>
>>
>>
>>
>>>
>>> On Sun, Jul 3, 2016 at 9:32 PM, Mike Dewhirst >> > wrote:
>>>
>>> On 4/07/2016 12:01 PM, Steve Burrus wrote:
>>>
>>> well I uyet again am encountering problems with installing the
>>> Django
>>> server. I managed to get to this point "(stevesenv)
>>> C:\Users\sbur87\Desktop\steves_dir\stevesenv>"
>>>
>>>
>>> It looks as though you have successfully got virtualenv working.
>>>
>>> Therefore the short answer to your question is ...
>>>
>>> (stevesenv) C:\Users\sbur87\Desktop\steves_dir\stevesenv>pip install
>>> django
>>>
>>> Cheers
>>>
>>> Mike
>>>
>>>
>>> but where exactly do I go
>>>
>>> from here in installing django? Man y thanx to anyone who can
>>> help me
>>> with this "trying" problem of mine.Â
>>>
>>> --
>>> You received this message because you are subscribed to the
>>> Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from
>>> it, send
>>> an email to django-users+unsubscr...@googlegroups.com
>>> 
>>> >> >.
>>> To post to this group, send email to
>>> django-users@googlegroups.com
>>> 
>>> >> >.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>>
>>> https://groups.google.com/d/msgid/django-users/e29b7fb8-ebda-4afc-890d-4048c4fe2e52%40googlegroups.com
>>>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>> --
>>> You received this message because you are subscribed to a topic in
>>> the Google Groups "Django users" group.
>>> To unsubscribe from this topic, visit
>>>
>>> https://groups.google.com/d/topic/django-users/9wVk4lDZcMY/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> django-users+unsubscr...@googlegroups.com
>>> .
>>> To post to this group, send email to django-users@googlegroups.com
>>> .
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>>
>>> https://groups.google.com/d/msgid/django-users/58cd5e27-6d4d-6929-aa44-b59c526a8c55%40dewhirst.com.au.
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com
>>> .
>>> To post to this group, send email to django-users@googlegroups.com
>>> .
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>>
>>> https://groups.google.com/d/msgid/django-users/CABcoaSDkTfc2QoxD_S3PqJCaTiigmp1msrvxDOq-pUK9Y9hD8Q%40mail.gmail.com
>>>
>>> 

Re: Installing Django Problem.

2016-07-04 Thread Steve Burrus
Well I successfully set up the Django server an d then connected to oit BUT
I couldn't use that "syncdb" command to then set the pw and username in the
admin.

On Sun, Jul 3, 2016 at 11:15 PM, Mike Dewhirst 
wrote:

> On 4/07/2016 1:06 PM, Steve Burrus wrote:
>
>> Well I did tjhis okay "(stevesenv)
>> C:\Users\sbur87\Desktop\steves_dir\stevesenv>pip install django" but
>> still the question persists where I go from here? I remember using
>> "django-admin" before. How do I use that?
>>
>
> Here is a good place to start ...
>
> https://docs.djangoproject.com/en/1.9/
>
> That page covers how the documentation is organised. You need to work your
> way through all the installation steps including database etc.
>
> Then the most important next step is to wrk through the tutorial. Once you
> get that done there are quite a few third party tutorials on the web.
>
> Good luck
>
>
> Mike
>
>
>
>
>
>> On Sun, Jul 3, 2016 at 9:32 PM, Mike Dewhirst > > wrote:
>>
>> On 4/07/2016 12:01 PM, Steve Burrus wrote:
>>
>> well I uyet again am encountering problems with installing the
>> Django
>> server. I managed to get to this point "(stevesenv)
>> C:\Users\sbur87\Desktop\steves_dir\stevesenv>"
>>
>>
>> It looks as though you have successfully got virtualenv working.
>>
>> Therefore the short answer to your question is ...
>>
>> (stevesenv) C:\Users\sbur87\Desktop\steves_dir\stevesenv>pip install
>> django
>>
>> Cheers
>>
>> Mike
>>
>>
>> but where exactly do I go
>>
>> from here in installing django? Man y thanx to anyone who can
>> help me
>> with this "trying" problem of mine.Â
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Django users" group.
>> To unsubscribe from this group and stop receiving emails from
>> it, send
>> an email to django-users+unsubscr...@googlegroups.com
>> 
>> > >.
>> To post to this group, send email to
>> django-users@googlegroups.com > django-users@googlegroups.com>
>> > >.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>>
>> https://groups.google.com/d/msgid/django-users/e29b7fb8-ebda-4afc-890d-4048c4fe2e52%40googlegroups.com
>> <
>> https://groups.google.com/d/msgid/django-users/e29b7fb8-ebda-4afc-890d-4048c4fe2e52%40googlegroups.com?utm_medium=email_source=footer
>> >.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> You received this message because you are subscribed to a topic in
>> the Google Groups "Django users" group.
>> To unsubscribe from this topic, visit
>>
>> https://groups.google.com/d/topic/django-users/9wVk4lDZcMY/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> django-users+unsubscr...@googlegroups.com
>> .
>> To post to this group, send email to django-users@googlegroups.com
>> .
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>>
>> https://groups.google.com/d/msgid/django-users/58cd5e27-6d4d-6929-aa44-b59c526a8c55%40dewhirst.com.au
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to django-users+unsubscr...@googlegroups.com
>> .
>> To post to this group, send email to django-users@googlegroups.com
>> .
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>>
>> https://groups.google.com/d/msgid/django-users/CABcoaSDkTfc2QoxD_S3PqJCaTiigmp1msrvxDOq-pUK9Y9hD8Q%40mail.gmail.com
>> <
>> https://groups.google.com/d/msgid/django-users/CABcoaSDkTfc2QoxD_S3PqJCaTiigmp1msrvxDOq-pUK9Y9hD8Q%40mail.gmail.com?utm_medium=email_source=footer
>> >.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/9wVk4lDZcMY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> 

Re: Installing Django Problem.

2016-07-04 Thread Hildeberto Mendonça
I strongly recommend this tutorial for beginners:
http://tutorial.djangogirls.org/en/

I helped me on my first contact with Django. The girls are doing a great
job there.

On Mon, Jul 4, 2016 at 6:15 AM, Mike Dewhirst  wrote:

> On 4/07/2016 1:06 PM, Steve Burrus wrote:
>
>> Well I did tjhis okay "(stevesenv)
>> C:\Users\sbur87\Desktop\steves_dir\stevesenv>pip install django" but
>> still the question persists where I go from here? I remember using
>> "django-admin" before. How do I use that?
>>
>
> Here is a good place to start ...
>
> https://docs.djangoproject.com/en/1.9/
>
> That page covers how the documentation is organised. You need to work your
> way through all the installation steps including database etc.
>
> Then the most important next step is to wrk through the tutorial. Once you
> get that done there are quite a few third party tutorials on the web.
>
> Good luck
>
>
> Mike
>
>
>
>
>
>> On Sun, Jul 3, 2016 at 9:32 PM, Mike Dewhirst > > wrote:
>>
>> On 4/07/2016 12:01 PM, Steve Burrus wrote:
>>
>> well I uyet again am encountering problems with installing the
>> Django
>> server. I managed to get to this point "(stevesenv)
>> C:\Users\sbur87\Desktop\steves_dir\stevesenv>"
>>
>>
>> It looks as though you have successfully got virtualenv working.
>>
>> Therefore the short answer to your question is ...
>>
>> (stevesenv) C:\Users\sbur87\Desktop\steves_dir\stevesenv>pip install
>> django
>>
>> Cheers
>>
>> Mike
>>
>>
>> but where exactly do I go
>>
>> from here in installing django? Man y thanx to anyone who can
>> help me
>> with this "trying" problem of mine.Â
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Django users" group.
>> To unsubscribe from this group and stop receiving emails from
>> it, send
>> an email to django-users+unsubscr...@googlegroups.com
>> 
>> > >.
>> To post to this group, send email to
>> django-users@googlegroups.com > django-users@googlegroups.com>
>> > >.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>>
>> https://groups.google.com/d/msgid/django-users/e29b7fb8-ebda-4afc-890d-4048c4fe2e52%40googlegroups.com
>> <
>> https://groups.google.com/d/msgid/django-users/e29b7fb8-ebda-4afc-890d-4048c4fe2e52%40googlegroups.com?utm_medium=email_source=footer
>> >.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> You received this message because you are subscribed to a topic in
>> the Google Groups "Django users" group.
>> To unsubscribe from this topic, visit
>>
>> https://groups.google.com/d/topic/django-users/9wVk4lDZcMY/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> django-users+unsubscr...@googlegroups.com
>> .
>> To post to this group, send email to django-users@googlegroups.com
>> .
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>>
>> https://groups.google.com/d/msgid/django-users/58cd5e27-6d4d-6929-aa44-b59c526a8c55%40dewhirst.com.au
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to django-users+unsubscr...@googlegroups.com
>> .
>> To post to this group, send email to django-users@googlegroups.com
>> .
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>>
>> https://groups.google.com/d/msgid/django-users/CABcoaSDkTfc2QoxD_S3PqJCaTiigmp1msrvxDOq-pUK9Y9hD8Q%40mail.gmail.com
>> <
>> https://groups.google.com/d/msgid/django-users/CABcoaSDkTfc2QoxD_S3PqJCaTiigmp1msrvxDOq-pUK9Y9hD8Q%40mail.gmail.com?utm_medium=email_source=footer
>> >.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit 

Re: Installing Django Problem.

2016-07-03 Thread Mike Dewhirst

On 4/07/2016 1:06 PM, Steve Burrus wrote:

Well I did tjhis okay "(stevesenv)
C:\Users\sbur87\Desktop\steves_dir\stevesenv>pip install django" but
still the question persists where I go from here? I remember using
"django-admin" before. How do I use that?


Here is a good place to start ...

https://docs.djangoproject.com/en/1.9/

That page covers how the documentation is organised. You need to work 
your way through all the installation steps including database etc.


Then the most important next step is to wrk through the tutorial. Once 
you get that done there are quite a few third party tutorials on the web.


Good luck


Mike






On Sun, Jul 3, 2016 at 9:32 PM, Mike Dewhirst > wrote:

On 4/07/2016 12:01 PM, Steve Burrus wrote:

well I uyet again am encountering problems with installing the
Django
server. I managed to get to this point "(stevesenv)
C:\Users\sbur87\Desktop\steves_dir\stevesenv>"


It looks as though you have successfully got virtualenv working.

Therefore the short answer to your question is ...

(stevesenv) C:\Users\sbur87\Desktop\steves_dir\stevesenv>pip install
django

Cheers

Mike


but where exactly do I go

from here in installing django? Man y thanx to anyone who can
help me
with this "trying" problem of mine.Â

--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from
it, send
an email to django-users+unsubscr...@googlegroups.com

>.
To post to this group, send email to
django-users@googlegroups.com 
>.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit

https://groups.google.com/d/msgid/django-users/e29b7fb8-ebda-4afc-890d-4048c4fe2e52%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to a topic in
the Google Groups "Django users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/django-users/9wVk4lDZcMY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
django-users+unsubscr...@googlegroups.com
.
To post to this group, send email to django-users@googlegroups.com
.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit

https://groups.google.com/d/msgid/django-users/58cd5e27-6d4d-6929-aa44-b59c526a8c55%40dewhirst.com.au.

For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to django-users+unsubscr...@googlegroups.com
.
To post to this group, send email to django-users@googlegroups.com
.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CABcoaSDkTfc2QoxD_S3PqJCaTiigmp1msrvxDOq-pUK9Y9hD8Q%40mail.gmail.com
.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c75376c1-6bcf-0fea-d3a1-9e74b6657062%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Django Problem.

2016-07-03 Thread Steve Burrus
Well I did tjhis okay "(stevesenv)
C:\Users\sbur87\Desktop\steves_dir\stevesenv>pip
install django" but still the question persists where I go from here? I
remember using "django-admin" before. How do I use that?

On Sun, Jul 3, 2016 at 9:32 PM, Mike Dewhirst  wrote:

> On 4/07/2016 12:01 PM, Steve Burrus wrote:
>
>> well I uyet again am encountering problems with installing the Django
>> server. I managed to get to this point "(stevesenv)
>> C:\Users\sbur87\Desktop\steves_dir\stevesenv>"
>>
>
> It looks as though you have successfully got virtualenv working.
>
> Therefore the short answer to your question is ...
>
> (stevesenv) C:\Users\sbur87\Desktop\steves_dir\stevesenv>pip install django
>
> Cheers
>
> Mike
>
>
> but where exactly do I go
>
>> from here in installing django? Man y thanx to anyone who can help me
>> with this "trying" problem of mine.Â
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to django-users+unsubscr...@googlegroups.com
>> .
>> To post to this group, send email to django-users@googlegroups.com
>> .
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>>
>> https://groups.google.com/d/msgid/django-users/e29b7fb8-ebda-4afc-890d-4048c4fe2e52%40googlegroups.com
>> <
>> https://groups.google.com/d/msgid/django-users/e29b7fb8-ebda-4afc-890d-4048c4fe2e52%40googlegroups.com?utm_medium=email_source=footer
>> >.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/9wVk4lDZcMY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/58cd5e27-6d4d-6929-aa44-b59c526a8c55%40dewhirst.com.au
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABcoaSDkTfc2QoxD_S3PqJCaTiigmp1msrvxDOq-pUK9Y9hD8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Django Problem.

2016-07-03 Thread Mike Dewhirst

On 4/07/2016 12:01 PM, Steve Burrus wrote:

well I uyet again am encountering problems with installing the Django
server. I managed to get to this point "(stevesenv)
C:\Users\sbur87\Desktop\steves_dir\stevesenv>"


It looks as though you have successfully got virtualenv working.

Therefore the short answer to your question is ...

(stevesenv) C:\Users\sbur87\Desktop\steves_dir\stevesenv>pip install django

Cheers

Mike


but where exactly do I go

from here in installing django? Man y thanx to anyone who can help me
with this "trying" problem of mine.Â

--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to django-users+unsubscr...@googlegroups.com
.
To post to this group, send email to django-users@googlegroups.com
.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/e29b7fb8-ebda-4afc-890d-4048c4fe2e52%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/58cd5e27-6d4d-6929-aa44-b59c526a8c55%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.


Re: installing django scripts on a web server

2015-12-18 Thread Vernon D. Cole


On Friday, December 18, 2015 at 4:55:16 AM UTC-7, maringire ringaz wrote:
>
> How do i install django-cms(or any other web app) on xampp or runserver 
> using pycharm
>

First, I would say that xampp is a non-starter, because it does not have 
support for Python. [besides that, I prefer nginx and postgresql to apache 
and mysql.]

Second, I would suggest using the professional edition of PyCharm -- it has 
specific support for django.  There is special pricing for many use cases. 
For example, if you are creating an open source product, the price is zero. 
Running runserver becomes a single button press.

Third, you can either build a django-cms project using their install 
script, then make a PyCharm project of the result, or...

Fourth, you could use the"hard" way 
 and make 
your own requirements.txt file, then let PyCharm (which will use pip) do 
the installations for you.  If you will be creating more than one copy of 
your site, keeping control of your requirements.txt is a good idea. On my 
next project, I will be doing that in order to automate a complete 
installation using pip via saltstack .

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d86bcfaa-7976-40bb-8076-1e4d3bb5f1cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Django and Python 3.4 on a freshly registered Debian VPS

2015-07-11 Thread Marek Turnovec

>
>
> Just searching the net I found: 
> http://www.extellisys.com/articles/python-on-debian-wheezy . It has 
> information about how to install python 3.4 on If possible switch to an 
> ubuntu server instead, because then you will get python 3.4 as standard.
>
>
I think that it's not necessary. If someone wants Python 3.4, it's also 
available in Debian Jessie, which is the current STABLE version of Debian.

Regards

Marek 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/211c6adb-5b4b-4cab-90a2-995d77a0cc58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Django [Again]

2015-07-09 Thread gahuber
Hi Steve,

I've just gone thru the steps in the link below and it was very helpful.  
At least the first 3 videos were really good and got me up and running.

https://codingforentrepreneurs.com/projects/start-with-windows/

Thanks,
Andy


On Thursday, July 9, 2015 at 12:38:52 PM UTC-4, Steve Burrus wrote:

> *I know thrat I have appealed for help about this before but I am having 
> problems aGAIN with installing Django. Well I was able to run "pip install 
> django" okay but then I don't know where to go from there! Here is where I 
> am now :  (myenv)C:\Users\SteveB\Desktop\myenv>*
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f4c3550f-19e5-4291-b318-ef04d7bc8c38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Django [Again]

2015-07-09 Thread Fred Chevitarese
Well Steve, i will try to help you!

1 - Make sure to put Python at the system path.  I mean, you can run python
at prompt?
2 - After that, make sure C:\PythonXX\Scripts is on system path as well.
3 - Now, you need to create your project. Try to run django-admin.py to see
if there's any information. If yes, go ahead and create your project with
django-admin.py startproject project_name

There's a link on how to do steps 1 and 2 --> http://goo.gl/wxtgb
Another one --> http://goo.gl/qlppe9


Here you can find how to install Django, but i think you already did -->
https://goo.gl/rI55Le

And finally how you create your project, apps and so on!
Go ahead and try the tutorial. It's the first step to make anything,
otherwise, you will always get stuck =D
https://goo.gl/Z7Ik2w

Hope it helps =D

Cheers!


Em qui, 9 de jul de 2015 às 13:39, Steve Burrus 
escreveu:

> *I know thrat I have appealed for help about this before but I am having
> problems aGAIN with installing Django. Well I was able to run "pip install
> django" okay but then I don't know where to go from there! Here is where I
> am now :  (myenv)C:\Users\SteveB\Desktop\myenv>*
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/7621b62f-01fc-4ef4-8907-7385b9e31a17%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKyfVpJQTrYQ3fpRzsJg9BNEKXX5pkffB9ZTnUtFNO8LJHKGdw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Django and Python 3.4 on a freshly registered Debian VPS

2015-07-07 Thread Linux4Bene
Op Sat, 04 Jul 2015 19:39:00 +0200, schreef Andreas Kuhne:


> Hi,
> 
> Just searching the net I found:
> http://www.extellisys.com/articles/python-on-debian-wheezy . It has
> information about how to install python 3.4 on debian. However I haven't
> used Debian myself (we use ubuntu on our production servers), so I can't
> verify if it's completely correct. Looks ok though. If possible switch
> to an ubuntu server instead, because then you will get python 3.4 as
> standard.
> 
> Regarding apache, I would probably choose nginx instead because it
> should be faster.
> 
> Regards,
> 
> Andréas

That's how I do it on my VPS. I also compile my own version.
Another option on Debian might be to look for a back port of Python 3.4
depending on the version (Wheezy 7.8/Jessie 8.1) you run.
Wheeze has python 3.2; Jessie Python 3.4, both installable as:

  apt-get install python3

You can find what packages debian uses in the various releases:

https://packages.debian.org/ 

I like to compile my own as I works perfectly with virtualenv to exactly 
use the version I want for my projects without messing with the system 
wide Python installation.

Regards,
Bene

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/mngj7k%24kmo%245%40ger.gmane.org.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Django and Python 3.4 on a freshly registered Debian VPS

2015-07-04 Thread Andreas Kuhne
2015-07-04 14:19 GMT+02:00 Christian Kleineidam <
christian.kleinei...@gmail.com>:

> I want to install Django and Python 3.4 on a freshly registered Debian
> server.
> What are the steps I have to take given that I want to use Python 3.4 and
> not the debian default of 2.7?
> I expect I also need to install Apache, is that right?
>
> Can you point me to a good tutorial that explains all the details of this
> process?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/9c4a8203-42cd-4d38-acbc-757f951fc9e5%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


Hi,

Just searching the net I found:
http://www.extellisys.com/articles/python-on-debian-wheezy . It has
information about how to install python 3.4 on debian. However I haven't
used Debian myself (we use ubuntu on our production servers), so I can't
verify if it's completely correct. Looks ok though. If possible switch to
an ubuntu server instead, because then you will get python 3.4 as standard.

Regarding apache, I would probably choose nginx instead because it should
be faster.

Regards,

Andréas

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALXYUbnJ%3Dhs%2BWCviBq9orFMnAPYZ%2B5v8SK9XwSdqNnVAvzWGXg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing django on red hat linux box

2014-10-23 Thread Thomas G Lockhart
On Oct 22, 2014, at 9:57 AM, robert brook  wrote:

> I have python 3.3.

If you are running RHEL6, python 2.6 is supported through yum etc. You will 
need to do your own installation if you want a more recent version, but afaik 
you will not need to. 2.6 is sufficient. If it were me, "good enough" would be 
good enough.

I've installed the CentOS and EPEL yum configurations on my RHEL6 boxes and one 
of those repos has virtualenv if RHEL6 does not have it (I don't have access 
atm to check).

RHEL6 is reputed to break badly if you *replace* python with a newer version, 
so you will need to preserve the 2.6 installation anyway.

If you do your own from-source python installation then you can pull that build 
into your virtualenv without difficulty.

hth

- Tom


> 
> Had to coerce red hat to do allow the install  3.3.  Must have been  a 
> stripped down version.
> version 6 came with python 2.6 installed.
> 
> Must be a stripped down version as pip does not come with python 3.3
> 
> I believe I need the package , python3.3-dev, to get the headers to utilize 
> the std   setup.py install
> 
> I am going to follow up with Red Hat.
> 
> Thanks
> 
> 
> On Wednesday, October 22, 2014 12:53:08 PM UTC-4, Pat Claffey wrote:
> Hi,
> I assume you have python installed successfully.  What version?  If you 
> install python 3.4 then pip should install automatically (unless  3.4. is a 
> second python install in which case pip does not install)
> 
> You should be able to see the python (and pip) executables in /usr/bin or 
> /usr/local/bin.  For example on my system I see python2.6 and pip installed 
> on /usr/bin (python is just a link to python2.6).  I manually installed 
> python3.4 and pip3.4.  I see these executables in /usr/local/bin.
> 
> python2.6 was pre-installed on my linux box (red hat).  I installed python3.4 
> and pip3.4 manually.
> 
> 
> 
> On Wednesday, October 22, 2014 5:12:10 PM UTC+1, robert brook wrote:
> 
> I have alot of experience installing packages on windows and mac and it goes 
> very smoothly.
> I do not have alot of experience doing the installs on a Linux box.
> 
> I am running into problems installing 4 packages.
> 
> The Lan team tried yum, but the basic django packages were not available.
> 
> Then I tried installing pip and I got proxy errors using the get-pip.py script
> 
> So I fell back to installing the dowloaded packages with the old standy  
> setup.py install which fails.
> 
> I am attaching the top of the log
> 
> Anyone have any suggestions how to proceed?
> 
> **
> running install
> 
> running bdist_egg
> 
> running egg_info
> 
> writing pyodbc.egg-info/PKG-INFO
> 
> writing top-level names to pyodbc.egg-info/top_level.txt
> 
> writing dependency_links to pyodbc.egg-info/dependency_links.txt
> 
> reading manifest file 'pyodbc.egg-info/SOURCES.txt'
> 
> reading manifest template 'MANIFEST.in'
> 
> warning: no files found matching 'tests/*'
> 
> writing manifest file 'pyodbc.egg-info/SOURCES.txt'
> 
> installing library code to build/bdist.linux-x86_64/egg
> 
> running install_lib
> 
> running build_ext
> 
> building 'pyodbc' extension
> 
> gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
> -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall 
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
> --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv 
> -fPIC -DPYODBC_VERSION=3.0.7 -I/usr/include/python2.6 -c 
> /home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.cpp -o 
> build/temp.linux-x86_64-2.6/home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.o 
> -Wno-write-strings
> 
> In file included from /home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.cpp:12:
> 
> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:41:20: error: Python.h: No such file 
> or directory
> 
> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:42:25: error: floatobject.h: No such 
> file or directory
> 
> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:43:24: error: longobject.h: No such 
> file or directory
> 
> *
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/38b5e63d-7f1b-4564-8c53-3bb99ab3020d%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, 

Re: Installing django on red hat linux box

2014-10-22 Thread Kelvin Wong
Take a look at the Software Collections (ver 1.1 works on RHEL 7)

http://developerblog.redhat.com/2013/01/28/software-collections-on-red-hat-enterprise-linux/


$ sudo yum install python33-python-devel
$ scl enable python33 bash

You can then install everything locally in your application user's home 
directory.

This snip is from a virtualenv build script. I use virtualenvs on my 
deployments.

$ curl https://bootstrap.pypa.io/get-pip.py | python3.3 - --user
$ echo 'export PATH=$HOME/.local/bin:$PATH' >> $HOME/.bash_profile
$ source ~/.bash_profile
$ which pip
/home/youruser/.local/bin/pip

$ pip install --user virtualenv virtualenvwrapper
$ echo 'source $HOME/.local/bin/virtualenvwrapper.sh' >> $HOME/.bash_profile
$ source ~/.bash_profile

K



On Wednesday, October 22, 2014 9:59:32 AM UTC-7, robert brook wrote:
>
> I am a contractor in a large organziation.  They must have everything 
> locked down.
>
> I downloaded get-pip.py and got errors that seemed to be proxy, firewall 
> security issues, that is why I fell back to implementing through setup.py
> and ran into the header issues.
>
> Thanks
>
> On Wednesday, October 22, 2014 12:55:26 PM UTC-4, Pat Claffey wrote:
>>
>> once I got pip sorted out it was really easy install django (just pip 
>> install django)  - so advise is to get pip working.  You will need it for 
>> other python packages also.
>>
>> On Wednesday, October 22, 2014 5:12:10 PM UTC+1, robert brook wrote:
>>>
>>>
>>> I have alot of experience installing packages on windows and mac and it 
>>> goes very smoothly.
>>> I do not have alot of experience doing the installs on a Linux box.
>>>
>>> I am running into problems installing 4 packages.
>>>
>>> The Lan team tried yum, but the basic django packages were not available.
>>>
>>> Then I tried installing pip and I got proxy errors using the get-pip.py 
>>> script
>>>
>>> So I fell back to installing the dowloaded packages with the old standy 
>>>  setup.py install which fails.
>>>
>>> I am attaching the top of the log
>>>
>>> Anyone have any suggestions how to proceed?
>>>
>>> **
>>>
>>> running install
>>>
>>> running bdist_egg
>>>
>>> running egg_info
>>>
>>> writing pyodbc.egg-info/PKG-INFO
>>>
>>> writing top-level names to pyodbc.egg-info/top_level.txt
>>>
>>> writing dependency_links to pyodbc.egg-info/dependency_links.txt
>>>
>>> reading manifest file 'pyodbc.egg-info/SOURCES.txt'
>>>
>>> reading manifest template 'MANIFEST.in'
>>>
>>> warning: no files found matching 'tests/*'
>>>
>>> writing manifest file 'pyodbc.egg-info/SOURCES.txt'
>>>
>>> installing library code to build/bdist.linux-x86_64/egg
>>>
>>> running install_lib
>>>
>>> running build_ext
>>>
>>> building 'pyodbc' extension
>>>
>>> gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall 
>>> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
>>> --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv 
>>> -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
>>> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
>>> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYODBC_VERSION=3.0.7 
>>> -I/usr/include/python2.6 -c /home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.cpp 
>>> -o build/temp.linux-x86_64-2.6/home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.o 
>>> -Wno-write-strings
>>>
>>> In file included from /home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.cpp:12:
>>>
>>> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:41:20: error: Python.h: No such 
>>> file or directory
>>>
>>> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:42:25: error: floatobject.h: No 
>>> such file or directory
>>>
>>> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:43:24: error: longobject.h: No 
>>> such file or directory
>>>
>>> *
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/0543f7d8-fce6-458c-ac76-b7605145ef37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing django on red hat linux box

2014-10-22 Thread Pat Claffey
One final suggestion...

If you are using python3.3 then pip may be called pip3.3

You could try "which python3.3"  or  "which python" (if python points to 
python3.3).  This should give you path to python executable directory.  If 
you look there you may be lucky
and see a pip executable - perhaps pip3.3

Regards,
pat

On Wednesday, October 22, 2014 5:12:10 PM UTC+1, robert brook wrote:
>
>
> I have alot of experience installing packages on windows and mac and it 
> goes very smoothly.
> I do not have alot of experience doing the installs on a Linux box.
>
> I am running into problems installing 4 packages.
>
> The Lan team tried yum, but the basic django packages were not available.
>
> Then I tried installing pip and I got proxy errors using the get-pip.py 
> script
>
> So I fell back to installing the dowloaded packages with the old standy 
>  setup.py install which fails.
>
> I am attaching the top of the log
>
> Anyone have any suggestions how to proceed?
>
> **
>
> running install
>
> running bdist_egg
>
> running egg_info
>
> writing pyodbc.egg-info/PKG-INFO
>
> writing top-level names to pyodbc.egg-info/top_level.txt
>
> writing dependency_links to pyodbc.egg-info/dependency_links.txt
>
> reading manifest file 'pyodbc.egg-info/SOURCES.txt'
>
> reading manifest template 'MANIFEST.in'
>
> warning: no files found matching 'tests/*'
>
> writing manifest file 'pyodbc.egg-info/SOURCES.txt'
>
> installing library code to build/bdist.linux-x86_64/egg
>
> running install_lib
>
> running build_ext
>
> building 'pyodbc' extension
>
> gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall 
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
> --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv 
> -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYODBC_VERSION=3.0.7 
> -I/usr/include/python2.6 -c /home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.cpp 
> -o build/temp.linux-x86_64-2.6/home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.o 
> -Wno-write-strings
>
> In file included from /home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.cpp:12:
>
> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:41:20: error: Python.h: No such 
> file or directory
>
> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:42:25: error: floatobject.h: No 
> such file or directory
>
> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:43:24: error: longobject.h: No such 
> file or directory
>
> *
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ebcc8cb8-17b4-4d01-a61f-b1447fba17a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing django on red hat linux box

2014-10-22 Thread robert brook
I am a contractor in a large organziation.  They must have everything 
locked down.

I downloaded get-pip.py and got errors that seemed to be proxy, firewall 
security issues, that is why I fell back to implementing through setup.py
and ran into the header issues.

Thanks

On Wednesday, October 22, 2014 12:55:26 PM UTC-4, Pat Claffey wrote:
>
> once I got pip sorted out it was really easy install django (just pip 
> install django)  - so advise is to get pip working.  You will need it for 
> other python packages also.
>
> On Wednesday, October 22, 2014 5:12:10 PM UTC+1, robert brook wrote:
>>
>>
>> I have alot of experience installing packages on windows and mac and it 
>> goes very smoothly.
>> I do not have alot of experience doing the installs on a Linux box.
>>
>> I am running into problems installing 4 packages.
>>
>> The Lan team tried yum, but the basic django packages were not available.
>>
>> Then I tried installing pip and I got proxy errors using the get-pip.py 
>> script
>>
>> So I fell back to installing the dowloaded packages with the old standy 
>>  setup.py install which fails.
>>
>> I am attaching the top of the log
>>
>> Anyone have any suggestions how to proceed?
>>
>> **
>>
>> running install
>>
>> running bdist_egg
>>
>> running egg_info
>>
>> writing pyodbc.egg-info/PKG-INFO
>>
>> writing top-level names to pyodbc.egg-info/top_level.txt
>>
>> writing dependency_links to pyodbc.egg-info/dependency_links.txt
>>
>> reading manifest file 'pyodbc.egg-info/SOURCES.txt'
>>
>> reading manifest template 'MANIFEST.in'
>>
>> warning: no files found matching 'tests/*'
>>
>> writing manifest file 'pyodbc.egg-info/SOURCES.txt'
>>
>> installing library code to build/bdist.linux-x86_64/egg
>>
>> running install_lib
>>
>> running build_ext
>>
>> building 'pyodbc' extension
>>
>> gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall 
>> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
>> --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv 
>> -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
>> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
>> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYODBC_VERSION=3.0.7 
>> -I/usr/include/python2.6 -c /home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.cpp 
>> -o build/temp.linux-x86_64-2.6/home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.o 
>> -Wno-write-strings
>>
>> In file included from /home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.cpp:12:
>>
>> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:41:20: error: Python.h: No such 
>> file or directory
>>
>> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:42:25: error: floatobject.h: No 
>> such file or directory
>>
>> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:43:24: error: longobject.h: No 
>> such file or directory
>>
>> *
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/47e63372-fc69-4d3f-9753-5b12a5a69a9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing django on red hat linux box

2014-10-22 Thread robert brook
I have python 3.3.

Had to coerce red hat to do allow the install  3.3.  Must have been  a 
stripped down version.
version 6 came with python 2.6 installed.

Must be a stripped down version as pip does not come with python 3.3

I believe I need the package , python3.3-dev, to get the headers to utilize 
the std   setup.py install

I am going to follow up with Red Hat.

Thanks


On Wednesday, October 22, 2014 12:53:08 PM UTC-4, Pat Claffey wrote:
>
> Hi,
> I assume you have python installed successfully.  What version?  If you 
> install python 3.4 then pip should install automatically (unless  3.4. is a 
> second python install in which case pip does not install)
>
> You should be able to see the python (and pip) executables in /usr/bin or 
> /usr/local/bin.  For example on my system I see python2.6 and pip installed 
> on /usr/bin (python is just a link to python2.6).  I manually installed 
> python3.4 and pip3.4.  I see these executables in /usr/local/bin.
>
> python2.6 was pre-installed on my linux box (red hat).  I installed 
> python3.4 and pip3.4 manually.
>
>
>
> On Wednesday, October 22, 2014 5:12:10 PM UTC+1, robert brook wrote:
>>
>>
>> I have alot of experience installing packages on windows and mac and it 
>> goes very smoothly.
>> I do not have alot of experience doing the installs on a Linux box.
>>
>> I am running into problems installing 4 packages.
>>
>> The Lan team tried yum, but the basic django packages were not available.
>>
>> Then I tried installing pip and I got proxy errors using the get-pip.py 
>> script
>>
>> So I fell back to installing the dowloaded packages with the old standy 
>>  setup.py install which fails.
>>
>> I am attaching the top of the log
>>
>> Anyone have any suggestions how to proceed?
>>
>> **
>>
>> running install
>>
>> running bdist_egg
>>
>> running egg_info
>>
>> writing pyodbc.egg-info/PKG-INFO
>>
>> writing top-level names to pyodbc.egg-info/top_level.txt
>>
>> writing dependency_links to pyodbc.egg-info/dependency_links.txt
>>
>> reading manifest file 'pyodbc.egg-info/SOURCES.txt'
>>
>> reading manifest template 'MANIFEST.in'
>>
>> warning: no files found matching 'tests/*'
>>
>> writing manifest file 'pyodbc.egg-info/SOURCES.txt'
>>
>> installing library code to build/bdist.linux-x86_64/egg
>>
>> running install_lib
>>
>> running build_ext
>>
>> building 'pyodbc' extension
>>
>> gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall 
>> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
>> --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv 
>> -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
>> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
>> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYODBC_VERSION=3.0.7 
>> -I/usr/include/python2.6 -c /home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.cpp 
>> -o build/temp.linux-x86_64-2.6/home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.o 
>> -Wno-write-strings
>>
>> In file included from /home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.cpp:12:
>>
>> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:41:20: error: Python.h: No such 
>> file or directory
>>
>> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:42:25: error: floatobject.h: No 
>> such file or directory
>>
>> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:43:24: error: longobject.h: No 
>> such file or directory
>>
>> *
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/38b5e63d-7f1b-4564-8c53-3bb99ab3020d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing django on red hat linux box

2014-10-22 Thread Pat Claffey
once I got pip sorted out it was really easy install django (just pip 
install django)  - so advise is to get pip working.  You will need it for 
other python packages also.

On Wednesday, October 22, 2014 5:12:10 PM UTC+1, robert brook wrote:
>
>
> I have alot of experience installing packages on windows and mac and it 
> goes very smoothly.
> I do not have alot of experience doing the installs on a Linux box.
>
> I am running into problems installing 4 packages.
>
> The Lan team tried yum, but the basic django packages were not available.
>
> Then I tried installing pip and I got proxy errors using the get-pip.py 
> script
>
> So I fell back to installing the dowloaded packages with the old standy 
>  setup.py install which fails.
>
> I am attaching the top of the log
>
> Anyone have any suggestions how to proceed?
>
> **
>
> running install
>
> running bdist_egg
>
> running egg_info
>
> writing pyodbc.egg-info/PKG-INFO
>
> writing top-level names to pyodbc.egg-info/top_level.txt
>
> writing dependency_links to pyodbc.egg-info/dependency_links.txt
>
> reading manifest file 'pyodbc.egg-info/SOURCES.txt'
>
> reading manifest template 'MANIFEST.in'
>
> warning: no files found matching 'tests/*'
>
> writing manifest file 'pyodbc.egg-info/SOURCES.txt'
>
> installing library code to build/bdist.linux-x86_64/egg
>
> running install_lib
>
> running build_ext
>
> building 'pyodbc' extension
>
> gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall 
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
> --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv 
> -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYODBC_VERSION=3.0.7 
> -I/usr/include/python2.6 -c /home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.cpp 
> -o build/temp.linux-x86_64-2.6/home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.o 
> -Wno-write-strings
>
> In file included from /home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.cpp:12:
>
> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:41:20: error: Python.h: No such 
> file or directory
>
> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:42:25: error: floatobject.h: No 
> such file or directory
>
> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:43:24: error: longobject.h: No such 
> file or directory
>
> *
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e43b6af2-c505-43de-a6ef-4d6da1322dd4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing django on red hat linux box

2014-10-22 Thread robert brook
I have installed a virtualenv on my local machine to do the development.

On the development web server using a virutal environment is not really 
important.

The packages that I am interested in are not available through yum.

Trying to install the packages locally displays header errors.

Any suggestions around this?




On Wednesday, October 22, 2014 12:12:10 PM UTC-4, robert brook wrote:
>
>
> I have alot of experience installing packages on windows and mac and it 
> goes very smoothly.
> I do not have alot of experience doing the installs on a Linux box.
>
> I am running into problems installing 4 packages.
>
> The Lan team tried yum, but the basic django packages were not available.
>
> Then I tried installing pip and I got proxy errors using the get-pip.py 
> script
>
> So I fell back to installing the dowloaded packages with the old standy 
>  setup.py install which fails.
>
> I am attaching the top of the log
>
> Anyone have any suggestions how to proceed?
>
> **
>
> running install
>
> running bdist_egg
>
> running egg_info
>
> writing pyodbc.egg-info/PKG-INFO
>
> writing top-level names to pyodbc.egg-info/top_level.txt
>
> writing dependency_links to pyodbc.egg-info/dependency_links.txt
>
> reading manifest file 'pyodbc.egg-info/SOURCES.txt'
>
> reading manifest template 'MANIFEST.in'
>
> warning: no files found matching 'tests/*'
>
> writing manifest file 'pyodbc.egg-info/SOURCES.txt'
>
> installing library code to build/bdist.linux-x86_64/egg
>
> running install_lib
>
> running build_ext
>
> building 'pyodbc' extension
>
> gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall 
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
> --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv 
> -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYODBC_VERSION=3.0.7 
> -I/usr/include/python2.6 -c /home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.cpp 
> -o build/temp.linux-x86_64-2.6/home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.o 
> -Wno-write-strings
>
> In file included from /home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.cpp:12:
>
> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:41:20: error: Python.h: No such 
> file or directory
>
> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:42:25: error: floatobject.h: No 
> such file or directory
>
> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:43:24: error: longobject.h: No such 
> file or directory
>
> *
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e142631b-c0f9-4296-9a35-2dbe295196b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing django on red hat linux box

2014-10-22 Thread Pat Claffey
Hi,
I assume you have python installed successfully.  What version?  If you 
install python 3.4 then pip should install automatically (unless  3.4. is a 
second python install in which case pip does not install)

You should be able to see the python (and pip) executables in /usr/bin or 
/usr/local/bin.  For example on my system I see python2.6 and pip installed 
on /usr/bin (python is just a link to python2.6).  I manually installed 
python3.4 and pip3.4.  I see these executables in /usr/local/bin.

python2.6 was pre-installed on my linux box (red hat).  I installed 
python3.4 and pip3.4 manually.



On Wednesday, October 22, 2014 5:12:10 PM UTC+1, robert brook wrote:
>
>
> I have alot of experience installing packages on windows and mac and it 
> goes very smoothly.
> I do not have alot of experience doing the installs on a Linux box.
>
> I am running into problems installing 4 packages.
>
> The Lan team tried yum, but the basic django packages were not available.
>
> Then I tried installing pip and I got proxy errors using the get-pip.py 
> script
>
> So I fell back to installing the dowloaded packages with the old standy 
>  setup.py install which fails.
>
> I am attaching the top of the log
>
> Anyone have any suggestions how to proceed?
>
> **
>
> running install
>
> running bdist_egg
>
> running egg_info
>
> writing pyodbc.egg-info/PKG-INFO
>
> writing top-level names to pyodbc.egg-info/top_level.txt
>
> writing dependency_links to pyodbc.egg-info/dependency_links.txt
>
> reading manifest file 'pyodbc.egg-info/SOURCES.txt'
>
> reading manifest template 'MANIFEST.in'
>
> warning: no files found matching 'tests/*'
>
> writing manifest file 'pyodbc.egg-info/SOURCES.txt'
>
> installing library code to build/bdist.linux-x86_64/egg
>
> running install_lib
>
> running build_ext
>
> building 'pyodbc' extension
>
> gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall 
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
> --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv 
> -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYODBC_VERSION=3.0.7 
> -I/usr/include/python2.6 -c /home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.cpp 
> -o build/temp.linux-x86_64-2.6/home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.o 
> -Wno-write-strings
>
> In file included from /home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.cpp:12:
>
> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:41:20: error: Python.h: No such 
> file or directory
>
> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:42:25: error: floatobject.h: No 
> such file or directory
>
> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:43:24: error: longobject.h: No such 
> file or directory
>
> *
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a7e2f47b-5c89-4ee0-b97d-639be2d04f6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing django on red hat linux box

2014-10-22 Thread Tom Lockhart
On Oct 22, 2014, at 9:12 AM, robert brook  wrote:

> 
> I have alot of experience installing packages on windows and mac and it goes 
> very smoothly.
> I do not have alot of experience doing the installs on a Linux box.
> 
> I am running into problems installing 4 packages.
> 
> The Lan team tried yum, but the basic django packages were not available.

Use yum to install python and virtualenv and the rest should go easily using a 
virtualenv setup.

This is commonly recommended for the other platforms also.

hth

- Tom

> 
> Then I tried installing pip and I got proxy errors using the get-pip.py script
> 
> So I fell back to installing the dowloaded packages with the old standy  
> setup.py install which fails.
> 
> I am attaching the top of the log
> 
> Anyone have any suggestions how to proceed?
> 
> **
> running install
> 
> running bdist_egg
> 
> running egg_info
> 
> writing pyodbc.egg-info/PKG-INFO
> 
> writing top-level names to pyodbc.egg-info/top_level.txt
> 
> writing dependency_links to pyodbc.egg-info/dependency_links.txt
> 
> reading manifest file 'pyodbc.egg-info/SOURCES.txt'
> 
> reading manifest template 'MANIFEST.in'
> 
> warning: no files found matching 'tests/*'
> 
> writing manifest file 'pyodbc.egg-info/SOURCES.txt'
> 
> installing library code to build/bdist.linux-x86_64/egg
> 
> running install_lib
> 
> running build_ext
> 
> building 'pyodbc' extension
> 
> gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
> -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall 
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
> --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv 
> -fPIC -DPYODBC_VERSION=3.0.7 -I/usr/include/python2.6 -c 
> /home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.cpp -o 
> build/temp.linux-x86_64-2.6/home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.o 
> -Wno-write-strings
> 
> In file included from /home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.cpp:12:
> 
> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:41:20: error: Python.h: No such file 
> or directory
> 
> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:42:25: error: floatobject.h: No such 
> file or directory
> 
> /home/rbrook/pyodbc-3.0.7/src/pyodbc.h:43:24: error: longobject.h: No such 
> file or directory
> 
> *
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/83a1d410-9cc1-4841-a517-1895ba220179%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Please consider the environment before printing this message.
This message may be privileged and/or confidential, and the sender does not 
waive any related rights and obligations.  Any distribution, use or copying of 
this message or the information it contains by other than an intended recipient 
is unauthorized.  If you received this message in error, please immediately 
advise me by return e-mail or phone.  All information, references, images, 
programs, source code, or other materials whatsoever contained in, or supplied 
with, this document are TRADE SECRETS and governed by the Uniform Trade Secrets 
Act.  User assumes all direct and consequential liabilities and costs that 
result from any unauthorized disclosure or use of this information.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9024F5F1-3977-4494-ABE4-041A5DE24B14%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: installing django trunk

2014-03-19 Thread Malik Rumi
Anybody? A little help here?
Just to update, I ran a search for 'migrations' in my django folder, and
got a lot of hits, but when I tried to actually run 'makemigrations" I got
'unknown command'


On Sat, Mar 15, 2014 at 6:37 PM, Malik Rumi  wrote:

> First, Dan, thanks for the reply. Second, apologies for the long delay,
> but sometimes the day job gets in the way. Third, I did as you suggested,
> but Django 1.6.1 was NOT removed. My best guess is that the official
> documentation instruction that pip would take care of this for me only
> applies when going from one official release to another, not when going
> from an official release to a development release, though of course it does
> not say so explicitly.
> pip did uninstall the 1.7 files from Python27/Scripts when I pointed it to
> them directly. I should add at this point that at the time of my original
> post, I did not realize that there were only 4 of them and that
> django-trunk was in the intended virtualenv alongside 1.6.1.
>
> However, pip would not only not uninstall django-trunk, it told me it
> wasn't installed, never mind the folder sitting there. Even better, git
> remove didn't work either. "Fatal: not a git repository"
>
> So I deleted django-trunk the old fashioned way, through my OS. Then I
> activated the virtualenv, reconnected to git, and got django-trunk and the
> admin files where I expected them to be - in the virtualenv. When I saw
> this in my terminal window:
>
>  Adding Django 1.7a2 to easy-install.pth file
> Deleting C:\Envs\VE1\Scripts\django-admin.py
> Installing django-admin-script.py script to C:\Envs\VE1\Scripts
>
> I assumed that meant it was taking care of 1.6.1 at the same time it was
> installing 1.7a2, as I understood the install instructions to say it would
> do. But when I ran print(django.get_version()), I got 1.6.1!
>
> Then I deleted both the django folder and the egg folder through Windows,
> but when I ran get_version again, I STILL got 1.6.1! I don't see how that
> is possible. There is another Django 1.6.1, but it is inside a DIFFERENT
> virtualenv, and when I exited the Python interpreter, I was right back to
> the VE I was working with. There is a django-admin in Python27, but when I
> opened it, it explicitly said that it was 1.7a2! Now it also had a line of
> code I didn't understand:
>
> require('Django==1.7a2')
> del require
>
> What is this doing? Deleting a requirement as soon as it is created? I
> don't understand.
>
> Finally, I decided to runserver. The good news is that my site still works
> as it did before. The bad news is I have no idea how or why. Runserver also
> explicitly stated that it was running 1.6.1.
>
> So, I guess I'll have to muddle along without migrations, which was the
> whole point of this exercise in futility. But I sure would like to
> understand what is happening here, if any of you wiser and more experienced
> heads can enlighten me.
>
>
>
> \
> On Saturday, March 8, 2014 3:10:20 AM UTC-6, Malik Rumi wrote:
>>
>> I am going from 1.6.1 to 1.7a2, mostly to take advantage of the new
>> migrations feature.
>> I followed the directions here http://django.readthedocs.org/en/latest/
>> topics/install.html#removing-old-versions-of-django
>> Since I originally installed with pip, supposedly that would take care of
>> removing the old version for me if I installed with pip now.
>> I changed into the subdirectory where 1.6.1 is, which is inside
>> virtualenvwrapper.
>> The commands they gave ran and reported success. However, 1.7a2 has been
>> installed at Python27/Scripts, not inside my virtualenv
>> 1.6.1 seems to alive and well at its same original location.
>> What do I now? Can I just delete the 1.6.1 folder? Will pip/virtualenv
>> know where to find 1.7a2 for my cuurent projects? Should I start the
>> install over?
>> Thx.
>>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/VnATClf-Wco/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/64ea91d3-f4df-470d-bad2-9c818708cb3c%40googlegroups.com
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.

Re: installing django trunk

2014-03-15 Thread Malik Rumi
First, Dan, thanks for the reply. Second, apologies for the long delay, but 
sometimes the day job gets in the way. Third, I did as you suggested, but 
Django 1.6.1 was NOT removed. My best guess is that the official 
documentation instruction that pip would take care of this for me only 
applies when going from one official release to another, not when going 
from an official release to a development release, though of course it does 
not say so explicitly.
pip did uninstall the 1.7 files from Python27/Scripts when I pointed it to 
them directly. I should add at this point that at the time of my original 
post, I did not realize that there were only 4 of them and that 
django-trunk was in the intended virtualenv alongside 1.6.1. 

However, pip would not only not uninstall django-trunk, it told me it 
wasn't installed, never mind the folder sitting there. Even better, git 
remove didn't work either. "Fatal: not a git repository"

So I deleted django-trunk the old fashioned way, through my OS. Then I 
activated the virtualenv, reconnected to git, and got django-trunk and the 
admin files where I expected them to be - in the virtualenv. When I saw 
this in my terminal window:

 Adding Django 1.7a2 to easy-install.pth file
Deleting C:\Envs\VE1\Scripts\django-admin.py
Installing django-admin-script.py script to C:\Envs\VE1\Scripts

I assumed that meant it was taking care of 1.6.1 at the same time it was 
installing 1.7a2, as I understood the install instructions to say it would 
do. But when I ran print(django.get_version()), I got 1.6.1!

Then I deleted both the django folder and the egg folder through Windows, 
but when I ran get_version again, I STILL got 1.6.1! I don't see how that 
is possible. There is another Django 1.6.1, but it is inside a DIFFERENT 
virtualenv, and when I exited the Python interpreter, I was right back to 
the VE I was working with. There is a django-admin in Python27, but when I 
opened it, it explicitly said that it was 1.7a2! Now it also had a line of 
code I didn't understand:

require('Django==1.7a2')
del require

What is this doing? Deleting a requirement as soon as it is created? I 
don't understand. 

Finally, I decided to runserver. The good news is that my site still works 
as it did before. The bad news is I have no idea how or why. Runserver also 
explicitly stated that it was running 1.6.1.

So, I guess I'll have to muddle along without migrations, which was the 
whole point of this exercise in futility. But I sure would like to 
understand what is happening here, if any of you wiser and more experienced 
heads can enlighten me. 



\
On Saturday, March 8, 2014 3:10:20 AM UTC-6, Malik Rumi wrote:
>
> I am going from 1.6.1 to 1.7a2, mostly to take advantage of the new 
> migrations feature.
> I followed the directions here 
> http://django.readthedocs.org/en/latest/topics/install.html#removing-old-versions-of-django
>  
> Since I originally installed with pip, supposedly that would take care of 
> removing the old version for me if I installed with pip now.
> I changed into the subdirectory where 1.6.1 is, which is inside 
> virtualenvwrapper.
> The commands they gave ran and reported success. However, 1.7a2 has been 
> installed at Python27/Scripts, not inside my virtualenv
> 1.6.1 seems to alive and well at its same original location.
> What do I now? Can I just delete the 1.6.1 folder? Will pip/virtualenv 
> know where to find 1.7a2 for my cuurent projects? Should I start the 
> install over?
> Thx.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/64ea91d3-f4df-470d-bad2-9c818708cb3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: installing django trunk

2014-03-08 Thread Dan Gentry
Malik, in order to install within your virtualenv, you should activate it 
first  /bin/activate .  Then run the pip install command. 
 Cheers!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5d8b2639-fb63-4a35-8d6f-c54283bfd34e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Django

2013-12-15 Thread Frederick Miller
Thank you, Thomas.

On Thursday, December 12, 2013 5:08:19 PM UTC-5, Thomas wrote:
>
> On 12/12/13 1:55 PM, Frederick Miller wrote: 
> > For Windows XP, should Django be installed under the Python27 folder?   
> > Or should Django be on the root of the C: drive? 
>
> I have no experience with Windows installations, but for other platforms 
> virtualenv and pip are a real help for getting repeatable, consistent 
> installations with a minimum of effort. I believe that is the case for 
> Windows boxes too. 
>
> If you use virtualenv, then you will have a complete python and django 
> installation in a location of your choosing, independent of the system 
> installation areas. 
>
> hth 
>
>   - Tom 
>
> > Frederick Miller 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "Django users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> > an email to django-users...@googlegroups.com . 
> > To post to this group, send email to 
> > django...@googlegroups.com. 
>
> > Visit this group at http://groups.google.com/group/django-users. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/django-users/303094d2-2a45-4c56-bcf8-4884e97be365%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/groups/opt_out. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9a580d33-a021-45ec-867f-150e271eb14f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Installing Django

2013-12-15 Thread Frederick Miller
Thank you, Guddu.

On Thursday, December 12, 2013 9:19:40 PM UTC-5, Guddu wrote:
>
> It goes into Lib\site-packages folder.
>
> Regards,
> Anurag
>
>
> On Thu, Dec 12, 2013 at 6:55 PM, Frederick Miller 
>  > wrote:
>
>> For Windows XP, should Django be installed under the Python27 folder?  Or 
>> should Django be on the root of the C: drive?
>>  
>> Frederick Miller
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/303094d2-2a45-4c56-bcf8-4884e97be365%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d57a6802-eda0-4621-922f-2a27d0135760%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Installing Django

2013-12-15 Thread Frederick Miller
Thank you, Mike.

On Thursday, December 12, 2013 10:17:39 PM UTC-5, Mike Dewhirst wrote:
>
> Frederick
>
> On Windows, the easiest (decision-less) way to install Django is using pip 
> or easy-install. Get pip first if you haven't done so already. Django will 
> then end up in exactly the right place and work faultlessly. I recommend it.
>
> Virtualenv becomes important when you want to run multiple separate Python 
> projects (such as Django projects) but it is a complication you can do 
> without if you are just starting. For example, you might have different 
> projects which absolutely require different versions of (say) Python while 
> you are migrating a project from Python 2.7 to 3.x. Or you might be 
> committed to maintaining multiple versions of the same software and they 
> have different 3rd party app requirements between versions.
>
> VirtualenvWrapper makes manipulating Virtualenv easier but it doesn't 
> appear to be available for Windows.
>
> So, Django will end up in the right place if you use pip. If you install 
> Virtualenv and activate it *then* use pip to install Django, it will also 
> end up in the right place but only for the activated (virtual) environment. 
> This is how you can install different versions of software in different 
> virtual environments.
>
> The real answer to your question is "you shouldn't care".
>
> Mike
>
> On Friday, December 13, 2013 8:55:50 AM UTC+11, Frederick Miller wrote:
>>
>> For Windows XP, should Django be installed under the Python27 folder?  Or 
>> should Django be on the root of the C: drive?
>>  
>> Frederick Miller
>>
>
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/64d15c36-c638-4e8c-a127-8be41a09d1a5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Installing Django

2013-12-15 Thread Frederick Miller
Thank you, Mulianto.

On Friday, December 13, 2013 1:10:04 AM UTC-5, Mulianto wrote:
>
> Frederick,
>
> Python installer on windows by default install in c:\python 2.x\
>
> And all package like django and others will be under python folder install 
> in libs\site-package\
>
> Better look to use virtenv so you can create a different environment for 
> different project.
>
> Thanks
> Mulianto
> Blog - Http://muliantophang.blogspot.com
>
>
> Sent from my iPhone
>
> On 13 Des 2013, at 11:17, Mike Dewhirst  
> wrote:
>
> Frederick
>
> On Windows, the easiest (decision-less) way to install Django is using pip 
> or easy-install. Get pip first if you haven't done so already. Django will 
> then end up in exactly the right place and work faultlessly. I recommend it.
>
> Virtualenv becomes important when you want to run multiple separate Python 
> projects (such as Django projects) but it is a complication you can do 
> without if you are just starting. For example, you might have different 
> projects which absolutely require different versions of (say) Python while 
> you are migrating a project from Python 2.7 to 3.x. Or you might be 
> committed to maintaining multiple versions of the same software and they 
> have different 3rd party app requirements between versions.
>
> VirtualenvWrapper makes manipulating Virtualenv easier but it doesn't 
> appear to be available for Windows.
>
> So, Django will end up in the right place if you use pip. If you install 
> Virtualenv and activate it *then* use pip to install Django, it will also 
> end up in the right place but only for the activated (virtual) environment. 
> This is how you can install different versions of software in different 
> virtual environments.
>
> The real answer to your question is "you shouldn't care".
>
> Mike
>
> On Friday, December 13, 2013 8:55:50 AM UTC+11, Frederick Miller wrote:
>>
>> For Windows XP, should Django be installed under the Python27 folder?  Or 
>> should Django be on the root of the C: drive?
>>  
>> Frederick Miller
>>
>
>
>  
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users...@googlegroups.com .
> To post to this group, send email to django...@googlegroups.com
> .
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/3a5619ca-f314-4229-bd97-030b054118d7%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c08b4f89-91b2-40bc-a225-e36f38e1bc9c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Installing Django

2013-12-12 Thread mulianto
Frederick,

Python installer on windows by default install in c:\python 2.x\

And all package like django and others will be under python folder install in 
libs\site-package\

Better look to use virtenv so you can create a different environment for 
different project.

Thanks
Mulianto
Blog - Http://muliantophang.blogspot.com


Sent from my iPhone

On 13 Des 2013, at 11:17, Mike Dewhirst  wrote:

> Frederick
> 
> On Windows, the easiest (decision-less) way to install Django is using pip or 
> easy-install. Get pip first if you haven't done so already. Django will then 
> end up in exactly the right place and work faultlessly. I recommend it.
> 
> Virtualenv becomes important when you want to run multiple separate Python 
> projects (such as Django projects) but it is a complication you can do 
> without if you are just starting. For example, you might have different 
> projects which absolutely require different versions of (say) Python while 
> you are migrating a project from Python 2.7 to 3.x. Or you might be committed 
> to maintaining multiple versions of the same software and they have different 
> 3rd party app requirements between versions.
> 
> VirtualenvWrapper makes manipulating Virtualenv easier but it doesn't appear 
> to be available for Windows.
> 
> So, Django will end up in the right place if you use pip. If you install 
> Virtualenv and activate it *then* use pip to install Django, it will also end 
> up in the right place but only for the activated (virtual) environment. This 
> is how you can install different versions of software in different virtual 
> environments.
> 
> The real answer to your question is "you shouldn't care".
> 
> Mike
> 
> On Friday, December 13, 2013 8:55:50 AM UTC+11, Frederick Miller wrote:
>> 
>> For Windows XP, should Django be installed under the Python27 folder?  Or 
>> should Django be on the root of the C: drive?
>>  
>> Frederick Miller
> 
> 
>  
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/3a5619ca-f314-4229-bd97-030b054118d7%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/E96FF68E-FF27-446C-97A5-D0EFFF4F5DDC%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Installing Django

2013-12-12 Thread Mike Dewhirst
Frederick

On Windows, the easiest (decision-less) way to install Django is using pip 
or easy-install. Get pip first if you haven't done so already. Django will 
then end up in exactly the right place and work faultlessly. I recommend it.

Virtualenv becomes important when you want to run multiple separate Python 
projects (such as Django projects) but it is a complication you can do 
without if you are just starting. For example, you might have different 
projects which absolutely require different versions of (say) Python while 
you are migrating a project from Python 2.7 to 3.x. Or you might be 
committed to maintaining multiple versions of the same software and they 
have different 3rd party app requirements between versions.

VirtualenvWrapper makes manipulating Virtualenv easier but it doesn't 
appear to be available for Windows.

So, Django will end up in the right place if you use pip. If you install 
Virtualenv and activate it *then* use pip to install Django, it will also 
end up in the right place but only for the activated (virtual) environment. 
This is how you can install different versions of software in different 
virtual environments.

The real answer to your question is "you shouldn't care".

Mike

On Friday, December 13, 2013 8:55:50 AM UTC+11, Frederick Miller wrote:
>
> For Windows XP, should Django be installed under the Python27 folder?  Or 
> should Django be on the root of the C: drive?
>  
> Frederick Miller
>


 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3a5619ca-f314-4229-bd97-030b054118d7%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Installing Django

2013-12-12 Thread Anurag Chourasia
It goes into Lib\site-packages folder.

Regards,
Anurag


On Thu, Dec 12, 2013 at 6:55 PM, Frederick Miller wrote:

> For Windows XP, should Django be installed under the Python27 folder?  Or
> should Django be on the root of the C: drive?
>
> Frederick Miller
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/303094d2-2a45-4c56-bcf8-4884e97be365%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CANFgmFAcUFTx_B8mzrz1SCwoEtbMBkHC0VrGhVndXF7R-KAnEw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Installing Django

2013-12-12 Thread Thomas Lockhart

On 12/12/13 1:55 PM, Frederick Miller wrote:
For Windows XP, should Django be installed under the Python27 folder?  
Or should Django be on the root of the C: drive?


I have no experience with Windows installations, but for other platforms 
virtualenv and pip are a real help for getting repeatable, consistent 
installations with a minimum of effort. I believe that is the case for 
Windows boxes too.


If you use virtualenv, then you will have a complete python and django 
installation in a location of your choosing, independent of the system 
installation areas.


hth

 - Tom


Frederick Miller
--
You received this message because you are subscribed to the Google 
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to django-users+unsubscr...@googlegroups.com.

To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/303094d2-2a45-4c56-bcf8-4884e97be365%40googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/52AA33D3.2060409%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Installing django dev

2013-09-12 Thread Germán Larraín
If you are using a virtualenv I don't see why you need to use "sudo".

Where did you clone the git repo? Do you have the "regular" permissions in that 
directory?

Also, consider reading the dev version of the docs, not 1.5 (like the link you 
referenced).

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Installing django dev

2013-09-11 Thread Lachlan Musicman
Ok, so since I actually wanted 1.6b3, I checked out the correct tag
and ran pip install -e again, but with the same results. Except for
the version # obv - that is correctly showing 1.6b3 instead of
1.7.dev20130911220310

cheers
L.

On 12 September 2013 12:01, Lachlan Musicman  wrote:
> Hola All,
>
> I can't seem to install the Django dev code?
>
> Following the instructions here:
> https://docs.djangoproject.com/en/1.5/topics/install/#installing-development-version
>
> details:
> OS: Ubuntu 12.04.3,
> pip 1.4.1,
> virtualenv 1.10.1,
>
> Django 1.5.3 is installed
>
> 1. git cloned
> 2. workon djangoenv
> 3.1 pip install -e django-trunk/
>
> Gives error "error: Django.egg-info/PKG-INFO: Permission denied"
>
> 3.2 sudo pip install -e django-trunk
>
> Gives error...well, no error. But I get the message "Installing
> django-admin.py script to /usr/local/bin"
>
> Sure enough, while in the virtualenv, /usr/local/bin/django-admin.py
> --version gives 1.7.dev20130911220310 but django-admin.py gives 1.5.3
>
> What am I doing wrong or what have I missed?
>
>
> (I am starting a project and wanted to use the dev branch - 1.6b3 has
> some nice features that I'd like to use, but I need to push the beta
> of this out the door roughly the same time as 1.6 final is being
> released.)
>
> cheers
> L.
>
>
> --
> Maya Otos (@maya_otos) tweeted at 9:27 PM on Tue, Jul 30, 2013:
> When you used to be punk, and now you are still punk but not as punk,
> are you post-punk or decaying punk or ex-punk or just not punk anymore



-- 
Maya Otos (@maya_otos) tweeted at 9:27 PM on Tue, Jul 30, 2013:
When you used to be punk, and now you are still punk but not as punk,
are you post-punk or decaying punk or ex-punk or just not punk anymore

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Installing django-allauth

2013-05-02 Thread Avraham Serour
I upgraded from 0.8.3 I believe to 0.10.1

actually the problem was that my own installation on my dev virtualenv got
polluted not sure how.
In any case I migrated until the problematic migrations, migrate the
problematic migration with --fake and then simply ran the rest of the
migrations

so far so good

thanks anyway


On Thu, May 2, 2013 at 7:59 PM, Sam Solomon  wrote:

> Hello,
>
> What version of allauth are you trying to install and where did you get it
> from?
>
>
> https://github.com/pennersr/django-allauth/tree/0.10.0/allauth/socialaccount/migrations
>  is
> the most recent version on pypi and has more than 2 migrations.
>
> Could it be that you have another app installed that also has a
> socialaccount app, meaning you will not be able to use the apps together?
> Please respond with your INSTALLED_APPS.
>
>
> On Wednesday, May 1, 2013 4:51:56 PM UTC-7, אברהם סרור wrote:
>>
>> Hi,
>>
>> I'm trying to install django-allauth in a new project (if anyone can
>> recommend something else for any reason I'm open to suggestions)
>>
>> when running syncdb it says that I need to use south migrate for the
>> allauth apps
>>
>> when running it throws an exception: django.db.utils.**DatabaseError:
>> table "socialaccount_socialapp" already exists
>>
>> Apparently allauth has it's internal migrations in the vcs, but it
>> doesn't support migrations
>>
>> it looks like the app socialaccount has migration 1 - initial and then
>> migration 7 - initial
>> so of course when trying to run 7 it tries to create the table again, and
>> fails.
>>
>> an easy solution would be to delete allauth migration folder, but this
>> would mean to clone it and maintain yet another fork, and having headaches
>> when updating it.
>>
>> does anyone reccomend a workaround/solution to this?
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Installing django-allauth

2013-05-02 Thread Sam Solomon
Hello,

What version of allauth are you trying to install and where did you get it 
from?

https://github.com/pennersr/django-allauth/tree/0.10.0/allauth/socialaccount/migrations
 is 
the most recent version on pypi and has more than 2 migrations.

Could it be that you have another app installed that also has a 
socialaccount app, meaning you will not be able to use the apps together? 
Please respond with your INSTALLED_APPS.

On Wednesday, May 1, 2013 4:51:56 PM UTC-7, אברהם סרור wrote:
>
> Hi,
>
> I'm trying to install django-allauth in a new project (if anyone can 
> recommend something else for any reason I'm open to suggestions)
>
> when running syncdb it says that I need to use south migrate for the 
> allauth apps
>
> when running it throws an exception: django.db.utils.DatabaseError: table 
> "socialaccount_socialapp" already exists
>
> Apparently allauth has it's internal migrations in the vcs, but it doesn't 
> support migrations
>
> it looks like the app socialaccount has migration 1 - initial and then 
> migration 7 - initial
> so of course when trying to run 7 it tries to create the table again, and 
> fails.
>
> an easy solution would be to delete allauth migration folder, but this 
> would mean to clone it and maintain yet another fork, and having headaches 
> when updating it.
>
> does anyone reccomend a workaround/solution to this?
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: installing django extensions

2012-08-16 Thread Alexis Roda

Al 16/08/12 19:16, En/na Sells, Fred ha escrit:

Thanks, that last post was the clue I needed. I have 2 independent, active 
django projects and was erroneously editing the settings.py in the wrong 
project.  Just plain old stupid error, but I may have not seen it for days 
without all your help.  Thanks and apologies for taking up your time.



This mistake sounds familiar :)


Regards

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



RE: installing django extensions

2012-08-16 Thread Sells, Fred
Thanks, that last post was the clue I needed. I have 2 independent, active 
django projects and was erroneously editing the settings.py in the wrong 
project.  Just plain old stupid error, but I may have not seen it for days 
without all your help.  Thanks and apologies for taking up your time.

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



Re: installing django extensions

2012-08-16 Thread Alexis Roda

Al 16/08/12 17:20, En/na Sells, Fred ha escrit:

It seems to import OK, see below:

more manage.bat

\alltools\python26\python manage.py %1 %2 %3 %4 %5

C:\all\projects\AccTherapySchedulerServer\AccTherapySite>manage shell

C:\all\projects\AccTherapySchedulerServer\AccTherapySite>\alltools\python26\python
 manage.py shell
Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] on 
win32
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)


import django_extensions
dir(django_extensions)

['VERSION', '__builtins__', '__doc__', '__file__', '__name__', '__package__', 
'__path__', '__version__', 'str_version']

django_extensions.VERSION

(0, 9)



however if I run manage help I see the following which does not 
seem like it has extensions--
Available subcommand
   cleanup
   compilemessages

...

   test
   testserver
   validate


right, django-extensions' commands are missing.


Now this is a W7 system I use for development FWIW.


I have no experience developing on w7. I have tested it on linux with a 
clean virtualenv (python 2.6.2, django 1.3 and django-extensions 0.9) 
and it works fine.


If I run 'python' by itself I can get the django commands but not the 
d-e ones:


$ python
Python 2.6.2 (r262:71600, May 21 2009, 18:30:52)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from django.core.management import get_commands
>>> get_commands().keys()
['compilemessages', 'dumpdata', 'startproject', 'sqlcustom',
...
'loaddata', 'cleanup', 'sqlindexes']


If I run 'python manage.py shell' I get both django and d-e commands:

$ python manage.py shell
Python 2.6.2 (r262:71600, May 21 2009, 18:30:52)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from django.core.management import get_commands
>>> get_commands().keys()
['show_urls', 'generate_secret_key', 'set_fake_passwords',
...
'describe_form', 'cleanup', 'sqlindexes']


That makes me believe that the problem is somewhat related with the 
settings not being (properly) loaded. Could you try:


$ python manage.py shell
Python 2.6.2 (r262:71600, May 21 2009, 18:30:52)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from django.conf import settings
>>> settings.INSTALLED_APPS
['django.contrib.auth', 'django.contrib.contenttypes', 
'django.contrib.sessions', 'django.contrib.sites', 
'django.contrib.messages', 'django.contrib.staticfiles', 
'django_extensions']

>>> import os
>>> os.environ["DJANGO_SETTINGS_MODULE"]
'foo.settings'


I expect that you'll get an ImportError exception (your environment is 
not properly configured) or that 'django_extensions' is missing (the 
wrong settings.py is being loaded).




Regards

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



RE: installing django extensions

2012-08-16 Thread Sells, Fred
It seems to import OK, see below:
>more manage.bat
\alltools\python26\python manage.py %1 %2 %3 %4 %5

C:\all\projects\AccTherapySchedulerServer\AccTherapySite>manage shell

C:\all\projects\AccTherapySchedulerServer\AccTherapySite>\alltools\python26\python
 manage.py shell
Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] on 
win32
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>>
>>> import django_extensions
>>> dir(django_extensions)
['VERSION', '__builtins__', '__doc__', '__file__', '__name__', '__package__', 
'__path__', '__version__', 'str_version']
>>> django_extensions.VERSION
(0, 9)
>>>
however if I run manage help I see the following which does not 
seem like it has extensions--
Available subcommand
  cleanup
  compilemessages
  createcachetable
  dbshell
  diffsettings
  dumpdata
  flush
  inspectdb
  loaddata
  makemessages
  reset
  runfcgi
  runserver
  shell
  sql
  sqlall
  sqlclear
  sqlcustom
  sqlflush
  sqlindexes
  sqlinitialdata
  sqlreset
  sqlsequencereset
  startapp
  syncdb
  test
  testserver
  validate

Now this is a W7 system I use for development FWIW.

===

-Original Message-
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On 
Behalf Of Amyth Arora
Sent: Thursday, August 16, 2012 11:10 AM
To: django-users@googlegroups.com
Subject: Re: installing django extensions

As Alexis said,

Try importing it in a shell and see what response you get, the INSTALLED_APPS 
dictionary is correct , seems more like a corrupt installation of 
django_extentions.

On Thu, Aug 16, 2012 at 6:53 PM, Sells, Fred <fred.se...@adventistcare.org> 
wrote:
> I'm running python2.6 and django 1.3
>
>
>
> I've installed django_extensions using easy_install  and verified it 
> as shown.
>
> Directory of C:\alltools\python26\Lib\site-packages
>
>
>
> 08/16/2012  07:59 AM  .
>
> 08/16/2012  07:59 AM  ..
>
> 03/12/2012  11:19 AM  django
>
> 05/28/2011  10:47 AM 1,255 Django-1.3-py2.6.egg-info
>
> 08/16/2012  07:59 AM  django_extensions-0.9-py2.6.egg
>
>
>
> And via python as shown below
>
> C:\alltools\python26>python
>
> Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit 
> (Intel)] on win32
>
> Type "help", "copyright", "credits" or "license" for more information.
>
>>>> import django_extensions
>
>>>> dir(django_extensions)
>
> ['VERSION', '__builtins__', '__doc__', '__file__', '__name__', 
> '__package__', '__path__', '__version__', 'str_version']
>
>
>
> I think my problem is in my settings.py file which I configured as 
> shown based on the video 
> http://ericholscher.com/blog/2008/sep/12/screencast-django-command-ext
> ensions/ I have googled for the correct notation, but with no success 
> and the following just "feels" wrong.  I suspect I'm mixing "old" and 
> new configuration styles based on older documentation but have found 
> nothing better.
>
>
>
> INSTALLED_APPS = (
>
> #'django.contrib.auth',
>
> 'django.contrib.contenttypes',
>
> 'django.contrib.sessions',
>
> 'django.contrib.sites',
>
> 'django.contrib.messages',
>
> 'django_extensions',
>
>   ... my stuff
>
>
>
> When I try to use the extensions, they are not there and manage help 
> just shows the normal default commands
>
>
>
> :\all\projects\AccTherapySchedulerServer\AccTherapySite>\alltools\pyth
> on26\python manage.py graph_models -a -g -o test.png
>
> nknown command: 'graph_models'
>
> --
> You received this message because you are subscribed to the Google 
> Groups "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.



--
Best Regards,

Amyth Arora
+91856363
+918800212140

--
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@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 post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: installing django extensions

2012-08-16 Thread Amyth Arora
As Alexis said,

Try importing it in a shell and see what response you get, the
INSTALLED_APPS dictionary is correct , seems more like a corrupt
installation of django_extentions.

On Thu, Aug 16, 2012 at 6:53 PM, Sells, Fred
 wrote:
> I’m running python2.6 and django 1.3
>
>
>
> I’ve installed django_extensions using easy_install  and verified it as
> shown.
>
> Directory of C:\alltools\python26\Lib\site-packages
>
>
>
> 08/16/2012  07:59 AM  .
>
> 08/16/2012  07:59 AM  ..
>
> 03/12/2012  11:19 AM  django
>
> 05/28/2011  10:47 AM 1,255 Django-1.3-py2.6.egg-info
>
> 08/16/2012  07:59 AM  django_extensions-0.9-py2.6.egg
>
>
>
> And via python as shown below
>
> C:\alltools\python26>python
>
> Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]
> on win32
>
> Type "help", "copyright", "credits" or "license" for more information.
>
 import django_extensions
>
 dir(django_extensions)
>
> ['VERSION', '__builtins__', '__doc__', '__file__', '__name__',
> '__package__', '__path__', '__version__', 'str_version']
>
>
>
> I think my problem is in my settings.py file which I configured as shown
> based on the video
> http://ericholscher.com/blog/2008/sep/12/screencast-django-command-extensions/
> I have googled for the correct notation, but with no success and the
> following just “feels” wrong.  I suspect I’m mixing “old” and new
> configuration styles based on older documentation but have found nothing
> better.
>
>
>
> INSTALLED_APPS = (
>
> #'django.contrib.auth',
>
> 'django.contrib.contenttypes',
>
> 'django.contrib.sessions',
>
> 'django.contrib.sites',
>
> 'django.contrib.messages',
>
> 'django_extensions',
>
>   … my stuff
>
>
>
> When I try to use the extensions, they are not there and manage help just
> shows the normal default commands
>
>
>
> :\all\projects\AccTherapySchedulerServer\AccTherapySite>\alltools\python26\python
> manage.py graph_models -a -g -o test.png
>
> nknown command: 'graph_models'
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.



-- 
Best Regards,

Amyth Arora
+91856363
+918800212140

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



Re: installing django extensions

2012-08-16 Thread Alexis Roda

Al 16/08/12 15:23, En/na Sells, Fred ha escrit:


C:\alltools\python26>python

Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit
(Intel)] on win32

Type "help", "copyright", "credits" or "license" for more information.


>> import django_extensions



>> dir(django_extensions)


['VERSION', '__builtins__', '__doc__', '__file__', '__name__',
'__package__', '__path__', '__version__', 'str_version']


Your INSTALLED_APPS snippet looks right to me.

What happens if you import 'django_extensions' from 'manage.py shell' ?

...>\alltools\python26\python manage.py shell
...
>> import django_extensions
>> dir(django_extensions)


Regards

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



Re: Installing Django @ Shared Host

2012-06-22 Thread Kurtis Mullins
I recommend building your application locally (on your own computer). You
can follow the tutorial and use Django's built in server for testing.

Once your application is ready to go live, then find a Django-Friendly
host. They're not too expensive.

I wouldn't recommend getting a django-friendly host before you build your
application because you may, or may not, decide that Django is right for
you.

Good luck!

On Thu, Jun 21, 2012 at 5:51 PM, Miguel Guirao  wrote:

> Hi all,
>
> I have a hosting service from ApolloHosting.com. I don't have SSH access
> neither unsecure telnet to my account.
> I can FTP into my account. I have Python 2.5.
> I'm under Linux.
>
> Is there a way I could install django under these circunstances??
>
> Best Regards,
>
> Miguel Guirao
>
> --
> 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/-/EyZwRUMFIy8J.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@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 post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Installing Django @ Shared Host

2012-06-22 Thread Segundo Acosta Delgado
De ninguna manera, lo mejor es que veas si el hosting soporta django, sino 
deberias cambiar de proveedor.

El jueves, 21 de junio de 2012 16:51:46 UTC-5, Miguel Guirao escribió:
>
> Hi all,
>
> I have a hosting service from ApolloHosting.com. I don't have SSH access 
> neither unsecure telnet to my account.
> I can FTP into my account. I have Python 2.5.
> I'm under Linux.
>
> Is there a way I could install django under these circunstances??
>
> Best Regards,
>
> Miguel Guirao
>

-- 
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/-/mYarjukSnqoJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Installing Django @ Shared Host

2012-06-21 Thread Cal Leeming [Simplicity Media Ltd]
Unless they provide some sort of SaaS service where they take care of
deployment for you, then you need shell access. There are plenty of Django
friendly shared hosts if you are not comfortable deploying your own stack
on a dedi/colo/IaaS cloud - see previous threads on this topic.

Personal advice - don't go with dreamhost... we had the misfortune of
migrating our legacy customer apps from one of their crashed slices.. and
the stupidly random timeouts and stack problems that were intermittent and
impossible to debug.. not a fun experience.

Also, Python 2.5 is almost 6 years old now, and Django doesn't officially
even support 2.5 any more.. you should consider moving to 2.6.6 as a
minimum.

Hope this helps

Cal

On Thu, Jun 21, 2012 at 10:51 PM, Miguel Guirao  wrote:

> Hi all,
>
> I have a hosting service from ApolloHosting.com. I don't have SSH access
> neither unsecure telnet to my account.
> I can FTP into my account. I have Python 2.5.
> I'm under Linux.
>
> Is there a way I could install django under these circunstances??
>
> Best Regards,
>
> Miguel Guirao
>
> --
> 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/-/EyZwRUMFIy8J.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@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 post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Installing Django

2012-03-06 Thread James Bennett
On Tue, Mar 6, 2012 at 7:42 AM, Sophia  wrote:
> python setup.py install
>
> but it keeps giving me this error :
>
>   File "setup.py", line 70
>     if u'SVN' in version:
>     ^
> SyntaxError: invalid syntax

Most likely, you installed a 3.x version of Python. Django does not
support Python versions 3 and up yet; for Django 1.3, you need a
Python 2.x installation, minimum Python 2.4 For Django 1.4, you need
minimum Python 2.5.

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



Re: Installing Django from GIT/Subversion - package dependency in virtual environment

2012-02-21 Thread shacker
Even easier, just 

pip install django

or in requirements.txt, simply:

Django

To upgrade later:

pip install --upgrade django

./s

-- 
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/-/UsTxK-PKGCAJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Installing Django from GIT/Subversion - package dependency in virtual environment

2012-02-20 Thread Denis Darii
Yes Mateusz, you understood right.

On Mon, Feb 20, 2012 at 4:07 PM, Mateusz Marzantowicz <
mmarzantow...@gmail.com> wrote:

> Yes, it works!
>
> Although I was previously installing Django according to docs at
> https://docs.djangoproject.com/en/1.3/topics/install/#installing-development-version,
>  your method works perfectly so far.
>
> I understand that keep in sync with trunk/master is as easy as invoking
> git pull (svn up) and then setup.py install in src/django directory in
> virtualenv root?
>
>
> Mateusz Marzantowicz
>
>
> On Mon, Feb 20, 2012 at 1:53 PM, Denis Darii wrote:
>
>> Do you mean django-trunk installation?
>>
>> If so, I use this in my requirements.txt:
>>
>> -e svn+http://code.djangoproject.com/svn/django/trunk/#egg=django-trunk
>>
>> or directly with pip:
>>
>> $ pip install -e svn+
>> http://code.djangoproject.com/svn/django/trunk/#egg=django-trunk
>>
>> Hope it helps.
>>
>> On Mon, Feb 20, 2012 at 1:36 PM, Mateusz Marzantowicz <
>> mmarzantow...@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I'm having a problem with managing Django installation which was done
>>> from git repository
>>> (might be svn as well) in clean virtual environment. The problem is that
>>> when I install some
>>> other package via pip which has a Django as a dependency, it doesn't
>>> find my django installation
>>> and then downloads official release. I really need only one Django
>>> installation in my virtualenv,
>>> the one from git :) It is more related to how pip works but does anyone
>>> has any idea how to do it the right way?
>>>
>>>
>>> Thanks,
>>> Mateusz Marzantowicz
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To post to this group, send email to django-users@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> django-users+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/django-users?hl=en.
>>>
>>
>>
>>
>> --
>> This e-mail and any file transmitted with it is intended only for the
>> person or entity to which is addressed and may contain information that is
>> privileged, confidential or otherwise protected from disclosure. Copying,
>> dissemination or use of this e-mail or the information herein by anyone
>> other than the intended recipient is prohibited. If you are not the
>> intended recipient, please notify the sender immediately by return e-mail,
>> delete this communication and destroy all copies.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@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 post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>



-- 
This e-mail and any file transmitted with it is intended only for the
person or entity to which is addressed and may contain information that is
privileged, confidential or otherwise protected from disclosure. Copying,
dissemination or use of this e-mail or the information herein by anyone
other than the intended recipient is prohibited. If you are not the
intended recipient, please notify the sender immediately by return e-mail,
delete this communication and destroy all copies.

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



Re: Installing Django from GIT/Subversion - package dependency in virtual environment

2012-02-20 Thread Mateusz Marzantowicz
Yes, it works!

Although I was previously installing Django according to docs at
https://docs.djangoproject.com/en/1.3/topics/install/#installing-development-version,
your method works perfectly so far.

I understand that keep in sync with trunk/master is as easy as invoking git
pull (svn up) and then setup.py install in src/django directory in
virtualenv root?


Mateusz Marzantowicz

On Mon, Feb 20, 2012 at 1:53 PM, Denis Darii  wrote:

> Do you mean django-trunk installation?
>
> If so, I use this in my requirements.txt:
>
> -e svn+http://code.djangoproject.com/svn/django/trunk/#egg=django-trunk
>
> or directly with pip:
>
> $ pip install -e svn+
> http://code.djangoproject.com/svn/django/trunk/#egg=django-trunk
>
> Hope it helps.
>
> On Mon, Feb 20, 2012 at 1:36 PM, Mateusz Marzantowicz <
> mmarzantow...@gmail.com> wrote:
>
>> Hello,
>>
>> I'm having a problem with managing Django installation which was done
>> from git repository
>> (might be svn as well) in clean virtual environment. The problem is that
>> when I install some
>> other package via pip which has a Django as a dependency, it doesn't find
>> my django installation
>> and then downloads official release. I really need only one Django
>> installation in my virtualenv,
>> the one from git :) It is more related to how pip works but does anyone
>> has any idea how to do it the right way?
>>
>>
>> Thanks,
>> Mateusz Marzantowicz
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>
>
> --
> This e-mail and any file transmitted with it is intended only for the
> person or entity to which is addressed and may contain information that is
> privileged, confidential or otherwise protected from disclosure. Copying,
> dissemination or use of this e-mail or the information herein by anyone
> other than the intended recipient is prohibited. If you are not the
> intended recipient, please notify the sender immediately by return e-mail,
> delete this communication and destroy all copies.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@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 post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Installing Django from GIT/Subversion - package dependency in virtual environment

2012-02-20 Thread Denis Darii
Do you mean django-trunk installation?

If so, I use this in my requirements.txt:

-e svn+http://code.djangoproject.com/svn/django/trunk/#egg=django-trunk

or directly with pip:

$ pip install -e svn+
http://code.djangoproject.com/svn/django/trunk/#egg=django-trunk

Hope it helps.

On Mon, Feb 20, 2012 at 1:36 PM, Mateusz Marzantowicz <
mmarzantow...@gmail.com> wrote:

> Hello,
>
> I'm having a problem with managing Django installation which was done from
> git repository
> (might be svn as well) in clean virtual environment. The problem is that
> when I install some
> other package via pip which has a Django as a dependency, it doesn't find
> my django installation
> and then downloads official release. I really need only one Django
> installation in my virtualenv,
> the one from git :) It is more related to how pip works but does anyone
> has any idea how to do it the right way?
>
>
> Thanks,
> Mateusz Marzantowicz
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>



-- 
This e-mail and any file transmitted with it is intended only for the
person or entity to which is addressed and may contain information that is
privileged, confidential or otherwise protected from disclosure. Copying,
dissemination or use of this e-mail or the information herein by anyone
other than the intended recipient is prohibited. If you are not the
intended recipient, please notify the sender immediately by return e-mail,
delete this communication and destroy all copies.

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



Re: Installing Django

2011-10-11 Thread Cal Leeming [Simplicity Media Ltd]
Nice :)

Karen, do you think it's worth updating the Django windows documentation to
mention this?

On Tue, Oct 11, 2011 at 2:52 PM, Bob Peene  wrote:

> FYI you were right.  Wiping and reinstalling did the trick.  I'm back
> in the tutorial.  Thank you very much!
>
>
>
> On Oct 10, 10:16 am, Bob Peene  wrote:
> > Kejun/Cal/Karen: Thank you very much for the info!!
> >
> > I did rerun setup.py, but given this info, it probably didn't improve
> > anything.  I'll wipe the directory and start again.
> >
> > Cal;  The 'Django 1.0' is the title of the book by Ayman Hourieh (not
> > my install version) - from reviews I've read this seems like a good
> > beginner tutorial but not so much a comprehensive reference.
> > I'm not a computer scientist nor programmer - I'm an engineering
> > project manager who wants a better web sol'n for my work.
> > If you have any other good books for beginners, I'd love to hear them.
> >
> > After some research, Python/Django seemed like a good sol'n to bring
> > up a web app without having to become an expert.  I loaded Python 2.7
> > ( I understand the best version to work with Django), then Django
> > 1.3.1.
> > Windows - just happens to be what I use on my machine.  I could use
> > Mac OS X as I have a dual boot MacBook.
> >
> > Will post a response with the results of my reinstall.
> >
> > -Bob
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@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 post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Installing Django

2011-10-11 Thread Bob Peene
FYI you were right.  Wiping and reinstalling did the trick.  I'm back
in the tutorial.  Thank you very much!



On Oct 10, 10:16 am, Bob Peene  wrote:
> Kejun/Cal/Karen: Thank you very much for the info!!
>
> I did rerun setup.py, but given this info, it probably didn't improve
> anything.  I'll wipe the directory and start again.
>
> Cal;  The 'Django 1.0' is the title of the book by Ayman Hourieh (not
> my install version) - from reviews I've read this seems like a good
> beginner tutorial but not so much a comprehensive reference.
> I'm not a computer scientist nor programmer - I'm an engineering
> project manager who wants a better web sol'n for my work.
> If you have any other good books for beginners, I'd love to hear them.
>
> After some research, Python/Django seemed like a good sol'n to bring
> up a web app without having to become an expert.  I loaded Python 2.7
> ( I understand the best version to work with Django), then Django
> 1.3.1.
> Windows - just happens to be what I use on my machine.  I could use
> Mac OS X as I have a dual boot MacBook.
>
> Will post a response with the results of my reinstall.
>
> -Bob

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



Re: Installing Django

2011-10-10 Thread Bob Peene
Kejun/Cal/Karen: Thank you very much for the info!!

I did rerun setup.py, but given this info, it probably didn't improve
anything.  I'll wipe the directory and start again.

Cal;  The 'Django 1.0' is the title of the book by Ayman Hourieh (not
my install version) - from reviews I've read this seems like a good
beginner tutorial but not so much a comprehensive reference.
I'm not a computer scientist nor programmer - I'm an engineering
project manager who wants a better web sol'n for my work.
If you have any other good books for beginners, I'd love to hear them.

After some research, Python/Django seemed like a good sol'n to bring
up a web app without having to become an expert.  I loaded Python 2.7
( I understand the best version to work with Django), then Django
1.3.1.
Windows - just happens to be what I use on my machine.  I could use
Mac OS X as I have a dual boot MacBook.

Will post a response with the results of my reinstall.

-Bob






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



Re: Installing Django

2011-10-10 Thread Cal Leeming [Simplicity Media Ltd]
Wow - that's pretty retarded :X

Thanks for clarifying this Karen!

On Mon, Oct 10, 2011 at 12:25 PM, Karen Tracey  wrote:

> On Mon, Oct 10, 2011 at 6:25 AM, Cal Leeming [Simplicity Media Ltd] <
> cal.leem...@simplicitymedialtd.co.uk> wrote:
>
>> I've seen quite a few people now with this problem of corrupt Django
>> installs - specifically for users who are new to Django.
>>
>> Perhaps someone could shed some light as to why this keeps happening.
>>
>
> Some (apparently popular) unzip utility on Windows (quietly) fails to
> extract 0-byte files. So lots of missing __init__.py files.
>
> Karen
> --
> http://tracey.org/kmt/
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@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 post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Installing Django

2011-10-10 Thread Karen Tracey
On Mon, Oct 10, 2011 at 6:25 AM, Cal Leeming [Simplicity Media Ltd] <
cal.leem...@simplicitymedialtd.co.uk> wrote:

> I've seen quite a few people now with this problem of corrupt Django
> installs - specifically for users who are new to Django.
>
> Perhaps someone could shed some light as to why this keeps happening.
>

Some (apparently popular) unzip utility on Windows (quietly) fails to
extract 0-byte files. So lots of missing __init__.py files.

Karen
-- 
http://tracey.org/kmt/

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



Re: Installing Django

2011-10-10 Thread Cal Leeming [Simplicity Media Ltd]
I've seen quite a few people now with this problem of corrupt Django
installs - specifically for users who are new to Django.

Perhaps someone could shed some light as to why this keeps happening.

Bob - why are you using version 1.0, and is there any particular reason you
are using it within a Windows environment?

Cal

On Mon, Oct 10, 2011 at 4:45 AM, Bob Peene  wrote:

> Django and Python newby
> Following Django 1.0 by Hourieh
> 'setup.py install' seemed to go ok
> error running django-admin.py (it is in my Win7 path)
>
> 'django.core import management'
> 'no module named core'
>
> Any insight as to why?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@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 post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Installing Django

2011-10-10 Thread Kejun He
Reinstall Django

On Mon, Oct 10, 2011 at 11:45 AM, Bob Peene  wrote:

> Django and Python newby
> Following Django 1.0 by Hourieh
> 'setup.py install' seemed to go ok
> error running django-admin.py (it is in my Win7 path)
>
> 'django.core import management'
> 'no module named core'
>
> Any insight as to why?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@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 post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: installing django

2011-09-13 Thread Babatunde Akinyanmi
You could at least try to be more specific

On 9/13/11, re64  wrote:
> I am having trouble installing django.  I cant seem to do it any
> suggestions
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
Sent from my mobile device

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



Re: installing django

2011-09-13 Thread Steven Elliott Jr
What exactly is the problem? Can you provide more detail? Platform, error 
messages, python version? What have you tried already?


On Sep 13, 2011, at 1:21 PM, re64  wrote:

> I am having trouble installing django.  I cant seem to do it any
> suggestions
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@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 post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: installing django

2011-09-13 Thread Shawn Milochik

On 09/13/2011 01:21 PM, re64 wrote:

I am having trouble installing django.  I cant seem to do it any
suggestions



https://code.djangoproject.com/wiki/UsingTheMailingList

Pay special attention to the 'Prepare the Question' section.


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



Re: installing django

2011-07-15 Thread Javier Guerra Giraldez
On Fri, Jul 15, 2011 at 3:40 PM, Andre Terra  wrote:
> Do you have a strong reason for running windows on your host?
> Developing/deploying django on linux is about a billion times easier.

could be wrong; but i think the hard part is not because of the OS,
but because of IIS, which doesn't support any standard webapp
protocol.

if you use another webserver, things should be almost as easy as on
*nix, except for being somewhat more limited (no nginx, no uWSGI), but
i think at least Apache and FastCGI or mod_wsgi work as intended

-- 
Javier

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



Re: installing django

2011-07-15 Thread Andre Terra
Do you have a strong reason for running windows on your host?
Developing/deploying django on linux is about a billion times easier.


Cheers,
André

On Fri, Jul 15, 2011 at 5:35 PM, Charles  wrote:

> I have a windows account on Hostgator.com and would like to install and
> django. Hostagator is a little lacking in documentations, so does anyone
> have any idea of how to get things going?
>
> Charles
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> 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 post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Installing Django on Ubuntu

2011-05-28 Thread Nikhil Somaru
Hi,

To add to what Martin said, I use a bash alias  to
activate my environments, which makes it easier than navigating to that
directory every time I wanted to activate a specific environment.

There's a great guide for this here:
http://www.saltycrane.com/blog/2009/05/notes-using-pip-and-virtualenv-django/

It's slightly old but it covers most of what is required.

On Sat, May 28, 2011 at 1:14 PM, Martin Tiršel  wrote:

> Hello,
>
> only short reply:
>
> 1.) Don't use distro packages for python packages
> 2.) Instal some libraries you will need (libmysqlclient-dev, python-dev,
> build-essential, python-setuptools, ...)
> 3.) Install virtualenv (either using distro package or easy_install/pip if
> you want/need newer one), create new empty virtual environment (I am using
> ~/.virtualenv for all environments):
>
> virtualenv --no-site-packages ~/.virtualenv/django-1.2
>
> 4.) switch into that environment:
>
> source ~/.virtualenv/django-1.2/bin/activate
>
> 5.) install python packages using pip or easy_install you will need:
>
> pip install "django=1.2.5"
> pip install mysql-python
> pip install south
> ...
>
> 6.) start your project:
>
> django-admin.py startproject someproject
>
> and so on.
>
> Remember, everytimes you want to work with that environment, you need to
> switch into it (uning source path/bin/activate). Many people beginnning with
> virtualenv forget this :)
>
> Regards,
> Martin
>
>
>
>
> On Sat, 28 May 2011 04:27:42 +0200, DogGoesOut <
> elizabethfalkne...@gmail.com> wrote:
>
>  Hey, can anyone help me out? For some reason, django is not as easy as
>> it would appear to install on my ubuntu laptop. Here are the stats:
>> I'm running Ubuntu 10.10 Maverick Meerkat, and have Python 2.6
>> installed already,
>>
>> So far, I've installed a subversion successfully, and am attempting to
>> create a symbolic link from django to python:
>>
>> ln: creating symbolic link `/usr/local/bin/django-admin.py': File
>> exists
>> kyle@kyle-HP-Compaq-nx9420-GU760US-ABA:~$ cd ~/sites/dev
>> bash: cd: /home/kyle/sites/dev: No such file or directory
>> kyle@kyle-HP-Compaq-nx9420-GU760US-ABA:~$ python /path/to/django-trunk/
>> django/bin/django-admin.py startproject djangoblog
>> python: can't open file '/path/to/django-trunk/django/bin/django-
>> admin.py': [Errno 2] No such file or directory
>> kyle@kyle-HP-Compaq-nx9420-GU760US-ABA:~$ python /usr/local/bin/django-
>> admin.py startproject djangoblog
>> python: can't open file '/usr/local/bin/django-admin.py': [Errno 2] No
>> such file or directory
>> kyle@kyle-HP-Compaq-nx9420-GU760US-ABA:~$
>>
>> Ignoring the middle (which included a typo or two) there's a statement
>> at the end of this code that makes no sense to me. The third line up
>> from the bottom, calls the file from the first line
>>
>>  /usr/local/bin/django-admin.py
>>
>> In the first line, this file is stated to exist. In the error message,
>> the computer states that it can't open the same file, and that no such
>> file or directory exists. This seems self-contradictory, and I'm not
>> sure where to go from here, as my python interpreter cannot understand
>> django yet. Any advice would be very much appreciated!
>>
>> Thanks!
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>


-- 
Yours,
Nikhil Somaru

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



Re: Installing Django on Ubuntu

2011-05-28 Thread Martin Tiršel

Hello,

only short reply:

1.) Don't use distro packages for python packages
2.) Instal some libraries you will need (libmysqlclient-dev, python-dev,  
build-essential, python-setuptools, ...)
3.) Install virtualenv (either using distro package or easy_install/pip if  
you want/need newer one), create new empty virtual environment (I am using  
~/.virtualenv for all environments):


virtualenv --no-site-packages ~/.virtualenv/django-1.2

4.) switch into that environment:

source ~/.virtualenv/django-1.2/bin/activate

5.) install python packages using pip or easy_install you will need:

pip install "django=1.2.5"
pip install mysql-python
pip install south
...

6.) start your project:

django-admin.py startproject someproject

and so on.

Remember, everytimes you want to work with that environment, you need to  
switch into it (uning source path/bin/activate). Many people beginnning  
with virtualenv forget this :)


Regards,
Martin



On Sat, 28 May 2011 04:27:42 +0200, DogGoesOut  
 wrote:



Hey, can anyone help me out? For some reason, django is not as easy as
it would appear to install on my ubuntu laptop. Here are the stats:
I'm running Ubuntu 10.10 Maverick Meerkat, and have Python 2.6
installed already,

So far, I've installed a subversion successfully, and am attempting to
create a symbolic link from django to python:

ln: creating symbolic link `/usr/local/bin/django-admin.py': File
exists
kyle@kyle-HP-Compaq-nx9420-GU760US-ABA:~$ cd ~/sites/dev
bash: cd: /home/kyle/sites/dev: No such file or directory
kyle@kyle-HP-Compaq-nx9420-GU760US-ABA:~$ python /path/to/django-trunk/
django/bin/django-admin.py startproject djangoblog
python: can't open file '/path/to/django-trunk/django/bin/django-
admin.py': [Errno 2] No such file or directory
kyle@kyle-HP-Compaq-nx9420-GU760US-ABA:~$ python /usr/local/bin/django-
admin.py startproject djangoblog
python: can't open file '/usr/local/bin/django-admin.py': [Errno 2] No
such file or directory
kyle@kyle-HP-Compaq-nx9420-GU760US-ABA:~$

Ignoring the middle (which included a typo or two) there's a statement
at the end of this code that makes no sense to me. The third line up
from the bottom, calls the file from the first line

 /usr/local/bin/django-admin.py

In the first line, this file is stated to exist. In the error message,
the computer states that it can't open the same file, and that no such
file or directory exists. This seems self-contradictory, and I'm not
sure where to go from here, as my python interpreter cannot understand
django yet. Any advice would be very much appreciated!

Thanks!


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



Re: installing django

2011-05-24 Thread Piotr Zalewa

On 05/24/11 07:40, bh.hoseini wrote:

hi there,
i installed django on vista, but i don't know how to combine it with
python, i read installation guide but it wasn't ussefull! :

I had some troubles install Django on Win7
In the end I used cygwin - it worked fine, although it's not clean Win.
I removed Windows anyway.

zalun

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



Re: installing django

2011-05-24 Thread Stuart MacKay
Without any more information on what problems you are experiencing it is 
very dificult to know where to start. I would recommend reading the 
First Steps section of the Django Documentation, 
http://docs.djangoproject.com/en/1.3/


That will help in two ways, first it is a good guide for installing 
Django and second it will give everybody on this list who can help you 
with a good reference point for the steps you carried out. So when you 
say "I am having trouble with X" then it will be a lot easier to 
identify what the problem might be.


Regards,

Stuart MacKay
Lisbon, Portugal

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



Re: Installing Django on Linux-Derbian using virtualBox on Windows 7 Machine

2011-01-21 Thread Matteius
I want to let you know that I have written some documents that could
really help with precisely what you are trying to do:

http://code.google.com/p/classcomm/wiki/CreateFromScratch

Then you can demo my application and learn about deploying a Django
based project for prod use here:

http://code.google.com/p/classcomm/wiki/ClasscommInstall

Hope this helps!


On Jan 20, 3:40 pm, Kimberly Harvey  wrote:
> Right now, I am having problem with the installation of linux ( I will try
> to figure that out if not, will contact you about that). I do have a problem
> with installing the Django on Linux. I am new to the Django world, so I've
> already downloaded the Django to my usb drive. Is there a certain way I have
> to install it into Linux--Derbian? I also have Python 2.5.2 (before I've
> installed linux), so do I also need a certain way to install python in linux
> ( if it is not there)?

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



Re: Installing Django on Linux-Derbian using virtualBox on Windows 7 Machine

2011-01-21 Thread Celso González
On Fri, Jan 21, 2011 at 07:10:25AM +0530, Kenneth Gonsalves wrote:
> On Thu, 2011-01-20 at 22:58 +0100, Ivo Brodien wrote:
> > > But in order to do that, don't I need to have the Django source file
> > somewhere in my  computer/ or in my case.
> > 
> > apt-get gets packages from the internet.
> > 
> > And btw. Ubuntu is based on Debian. 
> 
> and btw, the django version in debian is too old to be of use

anyway you are able to use virtualenv
 

-- 
Celso González (PerroVerd)
http://mitago.net

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



Re: Installing Django on Linux-Derbian using virtualBox on Windows 7 Machine

2011-01-20 Thread Kimberly Harvey
That is exactly what I am doing right now, I between the crawl and walk
phrase now, lol.

On Thu, Jan 20, 2011 at 9:23 PM, Mike Ramirez  wrote:

>  On Thursday, January 20, 2011 07:09:10 pm Kimberly Harvey wrote:
>
> > Thanks for the tips and advices. I still believe Django can be run on the
>
> > linux-Debian version.
>
> No one is saying otherwise.
>
> > There are some updated Django which I've already
>
> > saved on my usb flash drive which I will soon run some commands on the
>
> > linux as some other people has advised me to do so. The person wants me
> to
>
> > learn more about django but NOT right away. However, I like to pick up on
>
> > things quick.
>
> Remember: Crawl, Walk, Run. Otherwise you're in for a hell of a time.
>
> Mike
>
>  --
>
> All generalizations are false, including this one.
>
> -- Mark Twain
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@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 post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Installing Django on Linux-Derbian using virtualBox on Windows 7 Machine

2011-01-20 Thread Mike Ramirez
On Thursday, January 20, 2011 07:09:10 pm Kimberly Harvey wrote:
> Thanks for the tips and advices. I still believe Django can be run on the
> linux-Debian version.

No one is saying otherwise.

> There are some updated Django which I've already
> saved on my usb flash drive which I will soon run some commands on the
> linux as some other people has advised me to do so. The person wants me to
> learn more about django but NOT right away. However, I like to pick up on
> things quick.

Remember: Crawl, Walk, Run.  Otherwise you're in for a hell of a time.

Mike


-- 
All generalizations are false, including this one.
-- Mark Twain

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



Re: Installing Django on Linux-Derbian using virtualBox on Windows 7 Machine

2011-01-20 Thread Kimberly Harvey
Thanks for the tips and advices. I still believe Django can be run on the
linux-Debian version. There are some updated Django which I've already saved
on my usb flash drive which I will soon run some commands on the linux as
some other people has advised me to do so. The person wants me to learn more
about django but NOT right away. However, I like to pick up on things quick.
I am getting the hang of some of the materials I've read but it takes some
time for me to fully grasp it since I am new to this. If any more advices
regarding to commands, let me know. Some people sent different commands on
how to install the Django/ Django-Python... I will test it out and see what
happens.

On Thu, Jan 20, 2011 at 7:40 PM, Kenneth Gonsalves
wrote:

> On Thu, 2011-01-20 at 22:58 +0100, Ivo Brodien wrote:
> > > But in order to do that, don't I need to have the Django source file
> > somewhere in my  computer/ or in my case.
> >
> > apt-get gets packages from the internet.
> >
> > And btw. Ubuntu is based on Debian.
>
> and btw, the django version in debian is too old to be of use
> --
> regards
> KG
> http://lawgon.livejournal.com
> Coimbatore LUG rox
> http://ilugcbe.techstud.org/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@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 post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Installing Django on Linux-Derbian using virtualBox on Windows 7 Machine

2011-01-20 Thread Kenneth Gonsalves
On Thu, 2011-01-20 at 22:58 +0100, Ivo Brodien wrote:
> > But in order to do that, don't I need to have the Django source file
> somewhere in my  computer/ or in my case.
> 
> apt-get gets packages from the internet.
> 
> And btw. Ubuntu is based on Debian. 

and btw, the django version in debian is too old to be of use
-- 
regards
KG
http://lawgon.livejournal.com
Coimbatore LUG rox
http://ilugcbe.techstud.org/

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



Re: Installing Django on Linux-Derbian using virtualBox on Windows 7 Machine

2011-01-20 Thread Steven Elliott Jr
> Ubuntu IS Debian for all intents and purposes. Why does your boss insist that 
> you use a particular distro? It shouldn't really matter what your development 
> OS is (at least with *nix systems). Is there an existing Django application 
> that needs to be supported or is this a new project?
> 
> On Thu, Jan 20, 2011 at 3:58 PM, Ivo Brodien  wrote:
> 
> 
> > But in order to do that, don't I need to have the Django source file 
> > somewhere in my  computer/ or in my case.
> 
> apt-get gets packages from the internet.
> 
> And btw. Ubuntu is based on Debian.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@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 post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Installing Django on Linux-Derbian using virtualBox on Windows 7 Machine

2011-01-20 Thread Mike Ramirez


On Jan 20, 1:47 pm, Kimberly Harvey  wrote:
> I cannot install the Ubuntu, I have to use Derbian for work purposes.
>


Ok, I have some suggestions, as someone said this is not a linux
support group.

Before you start working with django, you should take this one step at
a time and get to know your working environment first. As a newbie to
linux, you should be going over the debian manuals [1].  That link
will take you through the installing debian on a i386 system. With
virtualbox the instructions are basically the same with some minor
vbox specific instructions (suggest reading up on vbox docs for how to
mount the iso, setup the environment, and configuring networking).

Once you get through this and you have a working install, do NOT jump
in with django at all, just don't, you'll end up with a few headaches.
Learn your environment, learn the basics of using the operating
system, learn how to admin it (no need to be an expert, but you can
learn how to use the operating system and manage files and create/
delete directories and permisions, understand what a root user and
your user and then move to package installation and how apache works
with the debian system.

linux.org lessons for beginners[2] will help (and also has a debian
install guide, not sure how outdated the install guide is actually).
The debian admin guide[3] will help you with some of the more advanced
techniques of managing packages and apache.

At this point if you still have problems it'll be best to direct them
to the debian lists and the debian irc channels.


If you can't take time to learn your environment like this because
your boss is demanding you do something django _NOW_... find a new
boss or explain to him he's putting you in an unfair position (unless
you bullshitted him into believing you're up to this point of
understanding with linux/debian, then you're s.o.l.).

Now when you get to here, you're ready to install django and have a
great understanding on how to do that already with apt-get (as the
suggestions given in other replies about apt-get are correct but way
above where you are at right now)

>From this point on if you have problems with django, come on back and
we'll be glad to help with most issues (including linux specific
stuff).

Mike.

[1] http://www.debian.org/releases/stable/i386/index.html.en
[2] http://www.linux.org/lessons/beginner/toc.html
[3] http://www.debian-administration.org/

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



Re: Installing Django on Linux-Derbian using virtualBox on Windows 7 Machine

2011-01-20 Thread Michael
Debian maintains a repository of software that is available to download
and install easily.  The fastest way to do this is from the command
line.  "apt-get" is the program that will do this for you, you just give
it the name of the program you want, and it will download and install it
for you automatically.

In the case of Django, you probably just need to run "sudo apt-get
install python-django", and it will find django in the repository, plus
whatever dependencies it has, like python, and then install them for
you.  If apt-get finishes running without any errors, then you have
django installed.

If you're curious, the "sudo" part of the command just says to run it
with administrator privileges.  It will ask you for your user's
password.

-- 
Michael 

On Thu, 2011-01-20 at 15:46 -0600, Kimberly Harvey wrote:
> But in order to do that, don't I need to have the Django source file
> somewhere in my  computer/ or in my case.. I've downloaded the Django
> tar file to my usb flash drive? The command you gave me, that works in
> the linux world, right? Like I said, I am new to this Djando
> materials. 
> 
> On Thu, Jan 20, 2011 at 3:42 PM, Michael  wrote:
> You can probably just run "sudo apt-get install python-django"
> from the
> command line.
> 
> --
> Michael 
> 
> 
> On Thu, 2011-01-20 at 13:26 -0800, Kimberly wrote:
> > Hello, I am new to the Django world and I was wondering if
> someone can
> > help me step by step on how to install the Django on my
> Linux program.
> > I've read some tutorial guides and I am abit lost and faced
> some
> > issues. I am currently on linux and need to know how to add
> packages,
> > and things in order to run the Django. Please contact me.
> Thanks!
> >
> 
> 
> 
> --
> You received this message because you are subscribed to the
> Google Groups "Django users" group.
> To post to this group, send email to
> django-users@googlegroups.com.
> To unsubscribe from this group, send email to django-users
> +unsubscr...@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 post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to django-users
> +unsubscr...@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 post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Installing Django on Linux-Derbian using virtualBox on Windows 7 Machine

2011-01-20 Thread Kimberly Harvey
MY boss never mentioned about using the Ubuntu, just want me to use the
Debian.

Thanks

On Thu, Jan 20, 2011 at 3:58 PM, Ivo Brodien  wrote:

>
>
> > But in order to do that, don't I need to have the Django source file
> somewhere in my  computer/ or in my case.
>
> apt-get gets packages from the internet.
>
> And btw. Ubuntu is based on Debian.

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



Re: Installing Django on Linux-Derbian using virtualBox on Windows 7 Machine

2011-01-20 Thread Ivo Brodien


> But in order to do that, don't I need to have the Django source file 
> somewhere in my  computer/ or in my case.

apt-get gets packages from the internet.

And btw. Ubuntu is based on Debian.

smime.p7s
Description: S/MIME cryptographic signature


Re: Installing Django on Linux-Derbian using virtualBox on Windows 7 Machine

2011-01-20 Thread Kimberly Harvey
I cannot install the Ubuntu, I have to use Derbian for work purposes.

On Thu, Jan 20, 2011 at 3:45 PM, Shawn Milochik  wrote:

> On 01/20/2011 04:40 PM, Kimberly Harvey wrote:
>
>> Right now, I am having problem with the installation of linux ( I will try
>> to figure that out if not, will contact you about that). I do have a problem
>> with installing the Django on Linux. I am new to the Django world, so I've
>> already downloaded the Django to my usb drive. Is there a certain way I have
>> to install it into Linux--Derbian? I also have Python 2.5.2 (before I've
>> installed linux), so do I also need a certain way to install python in linux
>> ( if it is not there)?
>>
>
> This list doesn't support Linux installations, but you shouldn't have much
> trouble with a modern distribution. If you have the freedom to do so, try
> installing Ubuntu instead of Debian.
>
> Once you get there, you'll be able to install Django using these docs:
> http://docs.djangoproject.com/en/1.2/intro/install/
>
> Shawn
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@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 post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Installing Django on Linux-Derbian using virtualBox on Windows 7 Machine

2011-01-20 Thread Kimberly Harvey
But in order to do that, don't I need to have the Django source file
somewhere in my  computer/ or in my case.. I've downloaded the Django tar
file to my usb flash drive? The command you gave me, that works in the linux
world, right? Like I said, I am new to this Djando materials.

On Thu, Jan 20, 2011 at 3:42 PM, Michael  wrote:

> You can probably just run "sudo apt-get install python-django" from the
> command line.
>
> --
> Michael 
>
> On Thu, 2011-01-20 at 13:26 -0800, Kimberly wrote:
> > Hello, I am new to the Django world and I was wondering if someone can
> > help me step by step on how to install the Django on my Linux program.
> > I've read some tutorial guides and I am abit lost and faced some
> > issues. I am currently on linux and need to know how to add packages,
> > and things in order to run the Django. Please contact me. Thanks!
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@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 post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



  1   2   3   >