which version of pydev should I install with python 2.6.6 - python

New to python, hence the question...
I am going to be working with python 2.6.6 and I am trying to set up my eclipse on CentOS for the same. While trying to get the pydev version I don't know which version I should get? I see a bunch of them listed for 2.6.x.x and 2.7.x.x. Can I select the latest one in the version series 2.7?
How does this matter with me working with a specific older version of python.
Appreciate the help.

According to http://pydev.org/download.html, the latest version of PyDev supports Python 2.1 or later, no qualifications. So you should be OK with Python 2.6.6 and at least could ask for support if you run into a problem with it.
Sorry to hear your initial experiences with Python have to be with an older version of the interpreter!

Related

Want to use a specific version of python in linux

Respected users,
While post processing data with the help of a script which was originally written in python not in python3.x. So now while I am running it it gives too many error. How I can i use the older version of python I have both installed 2.7 as well as 3.8.3. It would be very helpful if somebody gives an idea.

Python on Yosemite

Just got a new Mac with Yosemite. Ran the Migration Assistant to move files over from older machine. Now I find myself with an "old" (2.7.2) version of Python that doesn't work on Yosemite (crash at second line of interactive command line).
Either Apple ships Yosemite with a really old version of Python, or MA decided to overwrite the one that was there with an older one from my old machine?
Hoping that there is a way to solve this that doesn't involve multiple manual steps... but I haven't found an obvious way. Any Pythonistas out there that have a magic bullet for me?
Also - is this the right forum for this question or should I move it to Ask Different (apple.stackexchange.com)?
You undoubtedly had another version of Python installed, independent of the Apple-supplied system Pythons, which was migrated. If you used python.org installers, that Python would be in /Library/Frameworks. If you use a third-party package manager, like MacPorts or Homebrew, it is likely somewhere else. You can use type python to find out where you are picking up Python from and then either upgrade it or remove it. Do not try to remove the Apple Pythons in /System/Library/Frameworks. With Yosemite, Apple ships 2.7.6. You can either upgrade the additional Python, for example, by downloading and installing the latest Python 2 from python.org (currently 2.7.9), or follow the instructions here to remove it.

Running python 3.2 programs from cygwin(windows 7 user)

I need to be able to run python 3.2 scripts from cygwin.However,the current setup of cygwin shows it isnt compatible with that.I searched on the internet and saw in some other forums that people have ben unable to do it.Anyone here has any idea how to do it?
You can install Python 3.1.5 using Cygwin Ports.
Python 3.2 hasn't been ported to Cygwin, almost certainly because it's relatively unstable compared to 3.1, which is now only taking security fixes. If you want Python 3.2, you'll need to port it to Cygwin yourself.
As of yesterday (Wed 25 July 2012), Python 3.2.3 is included in the standard Cygwin installer. Just run Cygwin's setup.exe again (download it from cygwin.com again if you need to), and you should be able to select and install it like any other package.
Ok.one solution i have found is that i can invoke cygwin through command window and then pass instructions using subprocess.However being able to run python 3.2 codes from cygwin would have been more preferable to me rather than the other way round!!

python 2.6 vs 2.7, for pylons/pyramid projects

What problems can I have if I will use python 2.7 instead python 2.6 for my pylons/pyramid projects? Before I use python 2.6 on my ubuntu 10.04 but now I have ubuntu 11.04 on my laptop with python 2.7.
If you're using Ubuntu the package manager will fix most of the minor issues such as finding the packages you used to have in 2.6.
But there are some Packages that isn't compliant with Python2.7.
Mainly Python2.7 is a backwards compatible version from 3.X, or at least Python 2.7 was an upgrade from 2.6 towards the 3.X syntax and all it's new functions while the translation to 3.X was made.
Here's some info:
http://docs.python.org/dev/whatsnew/2.7.html
http://www.python.org/getit/releases/2.7/
Mainly Python2.7 should just give you more functions but can cause unexpected problems,
Go ahead and upgrade it on a seperate machine, run your code, if it works, upgrade your real machine to Python2.7.
The problems that might occur are minor, you should be able to fix them within 1h.
According to this post, Pyramid 1.2 (as is 1.1) is fully supported on Python 2.5.x, 2.6.x, and 2.7.x so you should be all set. From my own personal experience,I haven't run into any issues with Pyramid/Python2.7.
These days my Pyramid stack consists of:
python 2.7
khufu
sqlalchemy 0.7.x
and it works quite well.
Take a look at http://docs.python.org/dev/whatsnew/2.7.html
You'll find what all you'll ever need to know.

How can I install Python 3x and 2x into same machine? [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Can I install python 3.x and 2.x on the same computer?
I am learning Python which I started with 3.2. Now I know basics and want to use some frameworks to learn web development. Here, I came to notice Django doesn't supports Python 3x yet.
So, I need to use Python 2x on same machine. How can I install both?
PS. I am currently using Windows XP.
Just install them normally. By default each version of Python is installed to a different path, and won't conflict. Python 3 and Python 2 don't even use the same executable name (python vs python3), so there's not a lot to worry about.
they will install into C:\Python27, and C:\Python32 by default.
no conflicts.
i didn't want to answer this but i have to since you might have a problem that no one is talking about lol
first don't install python from the official website go to activestate and download activepython for python 2,7
here's a direct link
http://downloads.activestate.com/ActivePython/releases/2.7.2.5/ActivePython-2.7.2.5-win32-x86.msi
activepython will help a lot when downloading packages trust me, so to install django, open pypm and type pypm install django
learn python 2.x and not 3.x because:
1-All the modules work on 2.x and not 3.x, python is a modular language, it's useless if you can't find modules
2- python 2.x will be there for at least 5 years so there's a long time for you to get started on 3.x maybe by then it will be more supported
3-now we are using 2.7, starting from 2.5 python started doing small changes to help programmers have a smooth transition from 2.x and 3.x, so when 2.9 arrives it will look a lot like 3.x
4-if you installed 2.7 and 3.2 on xp and lets say you made 2.7 your default version, which is the right thing to do, then there's a big possibility that 3.2 won't work, it will give you this error: Error runtime
program C:\python32\pythonw.py
this application has requested the runtime to terminate it in an unusual way, please contact the application support team for more information
so it will just give you a headache lol

Categories

Resources