hello everyone please can someone help me with my problem is very important please Environment: Request Method: GET Request URL: http://127.0.0.1:8000/user/ Django Version: 4.0.4 Python Version: 3

2022-04-30 Thread ray nkamwa
ogle.com/d/msgid/django-users/afc98569-1c64-4322-a533-d62a1a297115n%40googlegroups.com. Environment: Request Method: GET Request URL: http://127.0.0.1:8000/user/ Django Version: 4.0.4 Python Version: 3.10.4 Installed Applications: ['django.contrib.admin',

Re: regarding virtualenv and python version 3.5 or 3.4 or other versions

2017-08-16 Thread Seo Brain
it out. >> >> Thanks >> >> Ross >> >> >> >> On Sunday, August 13, 2017 at 8:11:57 AM UTC-7, Avraham Serour wrote: >>> >>> I suggest using 3.6, which is the current stable release >>> if your machine or the server doesn'

Re: regarding virtualenv and python version 3.5 or 3.4 or other versions

2017-08-16 Thread Avraham Serour
, Avraham Serour wrote: >> >> I suggest using 3.6, which is the current stable release >> if your machine or the server doesn't have this version installed you may >> compile it yourself and create the virtualenv for the project from there >> >> There are so

Re: regarding virtualenv and python version 3.5 or 3.4 or other versions

2017-08-15 Thread Seo Brain
yourself and create the virtualenv for the project from there > > There are some projects that help you with that, I like pythonz > https://github.com/saghul/pythonz > > > On Sun, Aug 13, 2017 at 9:33 AM, Seo Brain > > wrote: > >> Hi, the question is about which

Re: regarding virtualenv and python version 3.5 or 3.4 or other versions

2017-08-14 Thread Andréas Kühne
achine, next year you will have three and the year after that you will > have ten or more. Don't use practices that don't scale well. > > What I'd do would be to install Python 3.6 on my development machine and > deploy on whatever Python version Ubuntu 14.04 has. I'

Re: regarding virtualenv and python version 3.5 or 3.4 or other versions

2017-08-14 Thread Simon Charette
stall python3.5. Best, Simon [0] https://launchpad.net/~fkrull/+archive/ubuntu/deadsnakes Le dimanche 13 août 2017 08:51:17 UTC-4, Seo Brain a écrit : > > Hi, the question is about which python version suppose to use. On web > server is ubuntu 14.4 - python v3.4 (i assume) with virtualen

Re: regarding virtualenv and python version 3.5 or 3.4 or other versions

2017-08-14 Thread Antonis Christofides
deal, but if today you have one production machine, next year you will have three and the year after that you will have ten or more. Don't use practices that don't scale well. What I'd do would be to install Python 3.6 on my development machine and deploy on whatever Python version U

Re: regarding virtualenv and python version 3.5 or 3.4 or other versions

2017-08-13 Thread Seo Brain
irtualenv for the project from there > > There are some projects that help you with that, I like pythonz > https://github.com/saghul/pythonz > > > On Sun, Aug 13, 2017 at 9:33 AM, Seo Brain > > wrote: > >> Hi, the question is about which python version suppose to use.

Re: regarding virtualenv and python version 3.5 or 3.4 or other versions

2017-08-13 Thread Avraham Serour
aghul/pythonz On Sun, Aug 13, 2017 at 9:33 AM, Seo Brain wrote: > Hi, the question is about which python version suppose to use. On web > server is ubuntu 14.4 - python v3.4 (i assume) with virtualenv, my local is > python v3.5 or may be using v3.4 if i have to keep the same version o

regarding virtualenv and python version 3.5 or 3.4 or other versions

2017-08-13 Thread Seo Brain
Hi, the question is about which python version suppose to use. On web server is ubuntu 14.4 - python v3.4 (i assume) with virtualenv, my local is python v3.5 or may be using v3.4 if i have to keep the same version on web server ? v3.4 seems has issue to install on one of my windows 7, but no

Re: Advice on python version for new project

2016-08-16 Thread Rich Shepard
On Tue, 16 Aug 2016, Avraham Serour wrote: https://virtualenv.pypa.io/en/stable/ Thanks, Avraham. Looks interesting. Rich

Re: Advice on python version for new project

2016-08-16 Thread Avraham Serour
https://virtualenv.pypa.io/en/stable/ On Tue, Aug 16, 2016 at 1:36 AM, Rich Shepard wrote: > On Tue, 16 Aug 2016, Avraham Serour wrote: > > you should also create a virtualenv for the project >> > > Avraham, > > OK. Please point me to some docs for this. > > Regards, > > Rich > -- You recei

Re: Advice on python version for new project

2016-08-15 Thread Rich Shepard
On Tue, 16 Aug 2016, Avraham Serour wrote: you should also create a virtualenv for the project Avraham, OK. Please point me to some docs for this. Regards, Rich

Re: Advice on python version for new project

2016-08-15 Thread Avraham Serour
you should also create a virtualenv for the project On Tue, Aug 16, 2016 at 12:07 AM, Rich Shepard wrote: > On Mon, 15 Aug 2016, Rich Shepard wrote: > > I'll have to learn how to get it to install in -3.5.2, too. >> > > Found the answer: pip3. > > Rich > -- You received this message because

Re: Advice on python version for new project

2016-08-15 Thread Rich Shepard
On Mon, 15 Aug 2016, Rich Shepard wrote: I'll have to learn how to get it to install in -3.5.2, too. Found the answer: pip3. Rich

Re: Advice on python version for new project

2016-08-15 Thread Rich Shepard
On Mon, 15 Aug 2016, Ari Davidow wrote: If you're doing a CRM app, many advantages to using Python 3 and not having to deal with 2's Unicode issues. Ari, This is for my use only. I've outgrown the tools I've been using for my consulting business and need to consolidate them in a single appl

Re: Advice on python version for new project

2016-08-15 Thread Rich Shepard
On Mon, 15 Aug 2016, Nick Santos wrote: I'd recommend Python 3 at this point unless you encounter a good, specific reason to use Python 2. Nick, I'll take your advice. I have both -2.7.5 and -3.5.2 installed. Using pip to install django puts it in only the 2.7.5/site/packages/ subdirectory.

Re: Advice on python version for new project

2016-08-15 Thread Ari Davidow
If you're doing a CRM app, many advantages to using Python 3 and not having to deal with 2's Unicode issues. Names do not respect a lack of Unicode, and you want people to be able to cut and paste and/or import names as people want to spell them. On Mon, Aug 15, 2016 at 3:37 PM, Rich Shepard wrot

Re: Advice on python version for new project

2016-08-15 Thread Nick Santos
I'd recommend Python 3 at this point unless you encounter a good, specific reason to use Python 2. If you use the six module, it's really easy to write code that can be used for both versions without writing conditionals everywhere. If you then encounter something th

Advice on python version for new project

2016-08-15 Thread Rich Shepard
The django web site suggests that new projects use python3 unless required dependencies are not yet available for that version. I've no idea what python dependencies I'll need for this job. What I want to do is convert an abandoned php application (last upgraded a decade ago) to django. The a

Re: Incorrect Python Version Being Used

2012-11-15 Thread Fred Stluka
Tom, Excellent article! Thanks! --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we nee

Re: Incorrect Python Version Being Used

2012-11-15 Thread Tom Evans
On Thu, Nov 15, 2012 at 3:49 PM, rh wrote: > In the djangocon lightning talk there was mention of this disconnect > between "works on runserver" but not in production env. > > Not a problem restricted to django. I've been checking out a lot of > frameworks in different languages and most suffer th

Re: Incorrect Python Version Being Used

2012-11-07 Thread Bestrafung
Thanks for the info. I built mine using: ./configure --with-apxs=/usr/local/apache/bin/apxs --with-python=/opt/python2.7/bin/python I'm fairly certain everything is good there. I'm able to load both projects individually using "python manage.py runserver 0.0.0.0:8000" without issue. The trouble

Re: Incorrect Python Version Being Used

2012-11-06 Thread Nikolas Stevenson-Molnar
If you're running via mod_wsgi, then you need to look at which version of Python mod_wsgi was built with. Probably /not /2.7 in that case. http://code.google.com/p/modwsgi/wiki/InstallationIssues#Multiple_Python_Versions _Nik On 11/6/2012 10:02 AM, Bestrafung wrote: > Thank you for the info. Tha

Re: Incorrect Python Version Being Used

2012-11-06 Thread Bestrafung
I'm not familiar with how to do this but the suggestion is noted. I will look into it. Thanks. On Tuesday, November 6, 2012 11:26:41 AM UTC-5, Thomas wrote: > > Use virtualenv. Always. > > - Tom > > -- > > You received this message because you are subscribed to the

Re: Incorrect Python Version Being Used

2012-11-06 Thread Bestrafung
Thank you for the info. That's how I've been doing it but assumed something wasn't right as it wasn't working and I keep getting errors. I think I've ruled out python as the problem Need to start looking at the mod_wsgi and Apache setup. I have another post regarding Apache errors I will get ba

Re: Incorrect Python Version Being Used

2012-11-06 Thread Thomas Lockhart
On 11/6/12 7:09 AM, Bestrafung wrote: I have been running into this problem for a long while trying to setup my first Django project and I keep coming back to this problem. I am relatively new when it come to Linux, I'm learning but still have a long way to go. I am using CentOS 5.8 cPanel whic

Re: Incorrect Python Version Being Used

2012-11-06 Thread Nikolas Stevenson-Molnar
Whenever you run a Django command (e.g., startapp, runserver), just use the full path to your Python 2.7 interpreter. For example: $ /opt/python2.7/bin/python manage.py runserver 80 Similarly, if you're installing packages via pip or easy_install: $ /opt/python2.7/bin/pip install some_package $

Incorrect Python Version Being Used

2012-11-06 Thread Bestrafung
I have been running into this problem for a long while trying to setup my first Django project and I keep coming back to this problem. I am relatively new when it come to Linux, I'm learning but still have a long way to go. I am using CentOS 5.8 cPanel which comes with Python 2.4. Following ins

Re: Django/Python version compatibility

2012-03-19 Thread Simone Federici
On Mon, Mar 19, 2012 at 21:52, Chiproller wrote: > So will 1.4 be compatible with Python 3.X? I am wondering how best to > learn Python for Django if I'm learning from Python books that cover > (like most new books) 3.X. Any suggestions? > Django 1.4 => [ Python2.5, Python2.6, Python2.7 ] Djan

Re: Django/Python version compatibility

2012-03-19 Thread Chiproller
So will 1.4 be compatible with Python 3.X? I am wondering how best to learn Python for Django if I'm learning from Python books that cover (like most new books) 3.X. Any suggestions? On Mar 19, 12:50 pm, Joel Goldstick wrote: > On Mon, Mar 19, 2012 at 11:41 AM, Shawn Milochik wrote: > > Django

Re: Django/Python version compatibility

2012-03-19 Thread Joel Goldstick
On Mon, Mar 19, 2012 at 11:41 AM, Shawn Milochik wrote: > Django won't support 3.x for a while. You can't go wrong with 2.7 for now. > > https://www.djangoproject.com/weblog/2012/mar/13/py3k/ > > Shawn > > > -- > You received this message because you are subscribed to the Google Groups > "Django u

Re: Django/Python version compatibility

2012-03-19 Thread Shawn Milochik
Django won't support 3.x for a while. You can't go wrong with 2.7 for now. https://www.djangoproject.com/weblog/2012/mar/13/py3k/ 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@googlegro

Django/Python version compatibility

2012-03-19 Thread Chiproller
I am just learning Python and plan to use it for web development so I will be using Django. Python version 2.7 was pre-installed on my macbook and I'm wondering if I installed the latest 3.* version would Django not work at all when I get to the point of learning Django? Reason I ask, is

Re: python version

2009-04-05 Thread alexarsh
k. > > If I call: "python2.5 manage.py dumpdata" the first server won't > > work. > > I mean, I will get the following error: > > > Traceback (most recent call last): > >  File "manage.py", line 2, in > >    from django.core.manageme

Re: python version

2009-04-05 Thread Alex Gaynor
Traceback (most recent call last): > File "manage.py", line 2, in >from django.core.management import execute_manager > ImportError: No module named django.core.management > > How can I find the right python version to call? Maybe I can take it > from PYTHONPATH? If yes, where c

python version

2009-04-05 Thread knight
execute_manager ImportError: No module named django.core.management How can I find the right python version to call? Maybe I can take it from PYTHONPATH? If yes, where can I find it? Thanks, Alex A. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: How to change python version in ubuntu???

2009-01-27 Thread Steve Holden
DragonSlayre wrote: > > On Jan 27, 4:11 pm, Steve Holden wrote: > >> DragonSlayre wrote: >> >> >>> On Jan 27, 3:15 pm, Steve Holden wrote: >>> DragonSlayre wrote: >>> How do you do this? >>> >> http://www.swc.scipy.org/lec/shell02.html >> >> regards >> S

Re: How to change python version in ubuntu???

2009-01-27 Thread shaleh
t, is there some way to tell it to install into a specific >version of python, or does it use the python symlink /usr/bin/python, >or something else? - Waylan installed easy_install for each python >version in his example (so he could install packages for different >python versions). >

Re: How to change python version in ubuntu???

2009-01-27 Thread DragonSlayre
else? - Waylan installed easy_install for each python version in his example (so he could install packages for different python versions). Thanks a lot, Things are becoming much clearer now. --~--~-~--~~~---~--~~ You received this message because you are subscribe

Re: How to change python version in ubuntu???

2009-01-27 Thread shaleh
referral ID in that link). The lady who wrote it does a great job. It explains all of the common shell tools. Read it, pass it around to your friends. I leave a copy at work to hand over to new hires. Now back to the topic at hand. In Debian and ubuntu, great care is taken to support upgrading a

Re: How to change python version in ubuntu???

2009-01-27 Thread shaleh
On Mon Jan 26 17:51 , DragonSlayre sent: > > > >On Jan 27, 1:41 pm, sha...@speakeasy.net> wrote: > >> Does this help? Found via google and ubuntu forums.https://launchpad.net/~doko/+archive >> >> Sorry, I run Debian (which ubuntu is based on), I just apt-get install all >> of the >> available

Re: How to change python version in ubuntu???

2009-01-27 Thread waylan
On Jan 26, 7:28 pm, DragonSlayre wrote: > Ok, well I reinstalled ubuntu. > > It'd still be good to know how to change python versions easily, if > anybody knows how to do this - it seems like it's not documented > anywhere :( A little while back I wrote up how I installed all versions from 2.3 u

Re: How to change python version in ubuntu???

2009-01-26 Thread DragonSlayre
On Jan 27, 4:11 pm, Steve Holden wrote: > DragonSlayre wrote: > > > On Jan 27, 3:15 pm, Steve Holden wrote: > > >> DragonSlayre wrote: > > How do you do this? > > http://www.swc.scipy.org/lec/shell02.html > > regards >  Steve WOW, that explains it all... Looks about as good as every other th

Re: How to change python version in ubuntu???

2009-01-26 Thread Steve Holden
DragonSlayre wrote: > > On Jan 27, 3:15 pm, Steve Holden wrote: > >> DragonSlayre wrote: >> That's most easily done by controlling your PATH so the the version you >> want to prefer is found first when python is called for. >> >> regards >> Steve >> > > How do you do this? > http://ww

Re: How to change python version in ubuntu???

2009-01-26 Thread DragonSlayre
like export PYTHONHOME=/usr/ lib/python2.5 I'm just hacking around as I couldn't find anything explicit enough to say how to change the python version. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &qu

Re: How to change python version in ubuntu???

2009-01-26 Thread DragonSlayre
On Jan 27, 3:15 pm, Steve Holden wrote: > DragonSlayre wrote: > That's most easily done by controlling your PATH so the the version you > want to prefer is found first when python is called for. > > regards >  Steve How do you do this? --~--~-~--~~~---~--~~ You

Re: How to change python version in ubuntu???

2009-01-26 Thread Steve Holden
DragonSlayre wrote: > > On Jan 27, 1:41 pm, wrote: > > >> Does this help? Found via google and ubuntu >> forums.https://launchpad.net/~doko/+archive >> >> Sorry, I run Debian (which ubuntu is based on), I just apt-get install all >> of the >> available python versions and then run /usr/bin/p

Re: How to change python version in ubuntu???

2009-01-26 Thread DragonSlayre
On Jan 27, 1:41 pm, wrote: > Does this help? Found via google and ubuntu > forums.https://launchpad.net/~doko/+archive > > Sorry, I run Debian (which ubuntu is based on), I just apt-get install all of > the > available python versions and then run /usr/bin/python to test > things. The prob

Re: How to change python version in ubuntu???

2009-01-26 Thread shaleh
On Mon Jan 26 16:28 , DragonSlayre sent: > >Ok, well I reinstalled ubuntu. > >It'd still be good to know how to change python versions easily, if >anybody knows how to do this - it seems like it's not documented >anywhere :( Does this help? Found via google and ubuntu forums. https://launchpad

Re: How to change python version in ubuntu???

2009-01-26 Thread DragonSlayre
Ok, well I reinstalled ubuntu. It'd still be good to know how to change python versions easily, if anybody knows how to do this - it seems like it's not documented anywhere :( --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

How to change python version in ubuntu???

2009-01-26 Thread DragonSlayre
to python 2.5. So I deleted the python2.6 files and folders from /usr/local/lib, /usr/ local/bin, /usr/lib/, /usr/bin/. when I run python though, it still says it's python 2.6.1.. I thought that trying to reinstall python2.5 again might overwrite the python version, but unfortunately it

mod_python Python version and executable don't match

2008-06-03 Thread Alex Robbins
d the mod_python source and compiled against the new python installation. Then I did the traditional ./configure; make; make install (with all of the --with-python=... --with-apxs=...). At this point I have mod_python running, and the error pages report Python version 2.5.2. Unfortunately, the Python Execu

Re: which python version?

2008-05-15 Thread Valts Mazurs
Latest stable Python version. Currently it is Python 2.5.2 Regards, Valts. On Thu, May 15, 2008 at 6:03 PM, bcurtu <[EMAIL PROTECTED]> wrote: > > Which python version do you use with your django project? Any special > issue with any

which python version?

2008-05-15 Thread bcurtu
Which python version do you use with your django project? Any special issue with anyone? Cheers. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: Selecting Python version for mod_python

2008-04-09 Thread Graham Dumpleton
On Apr 10, 1:54 am, Peter Rowell <[EMAIL PROTECTED]> wrote: > > This means that a python version has to be selected before the PythonPath > > directive is processed. > > "Selected" is not quite the right way to think of it.mod_pythonhas > the Python interpr

Re: Selecting Python version for mod_python

2008-04-09 Thread Peter Rowell
> This means that a python version has to be selected before the PythonPath > directive is processed. "Selected" is not quite the right way to think of it. mod_python has the Python interpreter linked in at build time, not run time. To change which version you have, you

Selecting Python version for mod_python

2008-04-09 Thread jurian
How can I go about selecting the python version for mod_python to use? Using PythonPath doesn't seem to be the way to do this, as stated in the mod_python documentation, this strign is evaluated. This means that a python version has to be selected before the PythonPath directive is proc

Python version of Weborb

2007-05-25 Thread [EMAIL PROTECTED]
I recently emailed the Weborb guys at: http://www.themidnightcoders.com to see about the possibility of a python version that we could use with django and he responded like this: "I would love to add Python to our product line. The biggest challenge is finding talent to do it We do not hav

Re: FYI: Primitive Python Version of GWT Working

2006-05-25 Thread Siah
Good work. Sia --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED]

FYI: Primitive Python Version of GWT Working

2006-05-24 Thread nkeric
http://jtauber.com/blog/2006/05/23/primitive_python_version_of_gwt_working Someone posted this to our site: James Tauber has built "a Python equivalent to the Google Web Toolkit (GWT)" - http://code.google.com/webtoolkit It's interesting :) --~--~-~--~~~---~--~~