Ubuntu :: Need Both Python V2.5 And 2.6?
Mar 27, 2010It says in my package manager that i have both 2.5 and 2.6 installed. I'm trying to clean up my laptop, can i delete one of them or do i need both?
View 3 RepliesIt says in my package manager that i have both 2.5 and 2.6 installed. I'm trying to clean up my laptop, can i delete one of them or do i need both?
View 3 RepliesI want to be able to do
sudo ./program.py
instead of always having to do
sudo python program.py
What do I need to change?
I've already used line split stuff to transform my data into something like this in a text file:
Code:
['1', '1', '3', '20.7505207']
['2', '1', '3', '23.0488319']
['3', '1', '3', '-1.5768747']
['4', '1', '3', '-26.4772491']
[code]....
How can I get this on a python program so I can manipulate it as an array?
in ubuntu 10.10, I have installed python 2.7. I would like to use apt-get to install packages to this version of python but I haven't been able to figure out howThings I have tried without success:changing the symlink at /usr/bin/python to point to /usr/bin/python2.7 - even after doing this apt-get still installs stuff to python2.6.Set up python2.7 as the primary alternative using update-alternatives - doesn't work
View 3 Replies View RelatedPython 3 want situation for python 2?Python 2 become stop?
View 1 Replies View Relatedyum dependency problem please? I am running Centos 5.5. I need to install python-devel, but when I do so I get:
[Code]....
I have a function definition in a Python 2.x script which take a tuple as one of its arguments, but 2to3 has no answers nor any of my searching on how to represent the same in Python 3.x
Code:
def blah(self, (string1, string2))
How can I upgrade python-2.4.3 to python-2.5?
View 1 Replies View RelatedThis problem has to do with Python's interactive help (To get to the interactive help, just type help() at any interactive session). I like to browse all my installed Python modules, to see if I can find something that would be useful for my hobby programming projects. However, recently, typing modules (which is the command to list all installed modules) freezes the interactive session.
View 1 Replies View RelatedFedora 12 officially uses Python 2.6, good. But the Google AppEngine still goes by Python 2.5 and is showing import errors while i try to start the SDK. Here is the stack trace.
[URL]
Just installed Python 3 but every time I enter Python at the terminal I get 2.6. How do I use 3.1
View 2 Replies View RelatedI already have the Python 2.6 interpreter installed on my system. I was reading A Byte of Python, and it said to get Python 3.1. So I typed in 'sudo apt-get install python3.1' in the terminal, followed the prompts and it installed. However, now I can't find it anywhere. I go either to the PyCrust of PyShell and it still says I'm using version 2.6.6. Any advice?
View 2 Replies View RelatedI tried to downloaded and installed from the Internet directly but it gives me error message. Also I tried to downloaded it from Ubuntu but when I go to the software package and click on python it show me hundreds of python types. I'm a beginner and I need to use Python for my class this summer, I only need to use python GUI. how to install python on Ubuntu and also how to find it after installation.
View 6 Replies View RelatedI've done command line work in Linux, so I need a refresher.I have downloaded and extracted Python 3.1.2. How do I install? All of the HELP and README files are a little vague for me. but when I type in "./configure" in a terminal session, it says "command not found".
View 2 Replies View RelatedIve recently needed to downgrade to python2.5 so i added the main repository for karmic. Then i downgraded _tkinter to the karmic version and installed python2.5. Previously i had gotten import _tkinter to work in python2.6 by doing the same procedure as above expect with python 2.6. However, now _tkinter isn't working, giving me the error 'no module named _tkinter'.
View 1 Replies View Relatedhow to install Python 2.6 on Ubuntu 8.04, I checked and the latest ver. on the ubuntu repository is 2.5 I need 2.6 I just compiled it using the following guide.[URL] I just didn't get how to set my PATH I followed all the steps that were there exactly.
View 2 Replies View Relatedi have been trying to set up vim for python development but i cant seem to find vim-python package has it been removed or has it been combined with some other package
View 1 Replies View RelatedI am super new to Linux and Ubuntu. I am trying to install python and I downloaded it from the website. I do not know how to actually install it though. I have Ubuntu 10.10.
View 6 Replies View RelatedI am running a linux server with Ubuntu 10.04. It runs a deluge daemon. Deluge 1.2.2 with python 2.6. I have the client running in Ubuntu 11.04.
The problem is, some of the plugins require python 2.6 while I have 2.7. After some digging I have found that 11.04 supports and has installed python 2.6 /usr/bin/python2.6
I have edited all the deluge files
Code:
/usr/local/bin/deluge
/usr/local/bin/deluge-gtk
/usr/local/bin/deluge-console
[Code].....
I am having a problem with Python. I type "import" and it will not import. It will only import locally.
View 2 Replies View RelatedI have to install this file - python-dev 2.6 - to run FreeCAD. I found the file by googling it however the site 'strongly suggests downloading this file via the synaptic package manager'. How do I do this?
View 3 Replies View RelatedI'm trying to manipulate the existing windows from within a python script similar to the BASH wmctrl. I've got the basics down with PyWnck, but I need to be able to tell when a window is actively being dragged (or just when the title bar is being clicked). I doubt this is a wnck function. direction of the right python package?
View 1 Replies View Relatedmy laptop fan was blazing like crazy for a while with only firefox and pidgin open. and even after closing firefox, it still continued. i took a look in htop, and appears that python is sucking 100% of 1 of the two cores all the time. it occasionally swaps core, but it always keeps 1 core completely occupied. i'm currently on lucid x64.
screenshots of htop and system monitor attached.
I need to know what version of python I am running. I am running ubuntu 10.04 and am going to be downloading wxpython but need to know what version of python I am running.In php there is a built in command phpinfo() that tells you everything you need to know about your installation of php, does python have something like this?Also, learned of python 2.7 today, I am currently learning python and am wondering if i should go ahead and upgrade or wait??
View 3 Replies View RelatedI have a python script that I would like to run every hour regardless of whether I am logged in. I have tried putting a link to the script in cron.hourly, however, it does not run.
View 9 Replies View Relatedhow do i get a python shell and idle on Ubuntu? so i can start learning how to write codes.
View 1 Replies View RelatedI am trying to import some Python modules into Ubuntu 10.10 (PySCeS and PyDSTool). If I download the modules and extract them into a directoy in my home directory, open that directory in terminal, and then import them into python (>>>import module_x) then it loads fine. However, if I am outside of the directories then it always returns an error saying the module is not found. I have tried putting the modules into usr/local/lib/python2.6/site-packages or dist-packages and usr/shared/pyshared etc but it never sees any of my modules. It also does this with modules installed from the repository. They are always "not found" but if placed manually in the working directory they are.
View 2 Replies View Relatedi want to become a programmer and don't know any thing about the codeing. linux has python buit in so i tried it seems ok. C++ i heard is hard. Java is also hard but i managed a hello world on it. Objective C i hear is for writing in ipod language or something.I am a beginner so where should i start? Any good places to learn?
View 5 Replies View Relatedi update my ubuntu(10.10) to 11.04 when it update i got one error that say can not install python or upgrade . the installation finsh and i reboot my pc then ubuntu wont start i try to use
Code:
sudo dpkg --configure -a --force-all
my system repair but i still Have problem with python
the real issue is that when i install a package that require python the package wont install and say error:
Code:
Package python is not configured yet
I have 2 netbooks, one desk top and a server on my home network. I would like to have all my machines running the same version of Python. The Lucid machine repositories seem stuck at 2.6x and 3.1x ... I want them to be 2.7x and 3.2 so that I am consistant.
Is there a way to upgrade the repositories for Python without having to upgrade the whole system?