I 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.
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
I'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".
how 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.
I 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.
I need to install python-xml on my kubuntu 9.10 but I cant do it with apt-get.I downloaded it from somewhere else but still I cant install it because of python 2.6.
I am trying to install the MySQLdb package for python and the instructions tell me that I need to add mysql_config to my path. This file does not appear to exist in my mysql installation, or anywhere on my machine. I installed mysql-server from the ubuntu package manager, and then did a search of my system for that file.
Code:
sudo find / -name mysql_config
This gave me no results. where I can find this? Is it part of some extra toolkit for mysql?
I am trying to install the python-matplotlib package but I get E:broken packages. I have tried the apt-get -f install, apt-get update, apt-get clean all in various permutations but it doesnt solve the problem.I also tried uninstalling the dependednt packages and then reinstalling them but that doesnt work either.
root@ubuntu:~# apt-get install python-matplotlib Reading package lists... Done Building dependency tree Reading state information... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
I downloaded this programs source and I'm having a hard time figuring out how to install it. I assume it is python source? I tried downloading the debian file but could not figure out how to install it aswell. I downloaded the software from [URL]
I can't install Python 2.6 on Fedora 15 - I have only Python 2.7. Also I can't add EPEL repository to try to install: yum install python26 I didn't find any info about how can I solve this problem.
I'm running Ubuntu 10.4 64bit, and I would like to run python 32bit.The current Python version used is the 64bit one.What can be some good ways for installing the python 32bit version without compromising the OS. I'm kind of new to this, so I don't really know if I could substitute the python version, or know how to make it available by using short commands such as python or easy_install.
So I was trying to upgrade kupfer when it told me it couldn't, as python-keyring was a virtual package and could not be installed. I'm using Karmic, so the package python-keyring is not available, although it is in Lucid. How would I go about upgrading kupfer/installing python-keyring??
I'm trying to install Python and a LaTeX editor and can't really get either to work out. For texlive, I used 'sudo apt-get texlive-full', which didn't generate any errors, but I now can't seem to open the application. For Python, I used 'sudo apt-get update sudo apt-get install python2.6' which generated the error "Unable to lock directory /var/cache/apt/archives." I tried to remove a lock file that I read about on another post and open up SPM, but the error persisted.
how can i install python 3 and idle in fedora 12? yum search for any plausible variation on python3 (python-3, Python-3.1, etc.) that i could think of yields nothing, same in add/remove software. so i got the tarball from python.org and followed book instructions on it (summerfield's python 3, p. 4), namely unpack it, run './configure', run 'make' and finally run 'make install'
in my add/remove programs window, for idle, it says i have the one for python 2.6 installed, but i can't find where to open the program. but i'd like to use 3.1.2 python anyway. additional note: if i type python -V i get Python 2.6.x (can't remember the last digit, i think it's 2), and if i type python3 -V i get Python 3.1.2. so, how do i get python 3 installed and idle for python 3 running?
I am fairly new to Linux. I have OpenSuse Desktop 11.3. For a software package I need to install, I have to have Python 2.4 or 2.5 - it will not run with Python 2.6. I cannot find any way in Yast to install the older version of Python. So my question is this: How do I first uninstall Python 2.6 so I don't screw anything up, and then install Python 2.5? Is it as simple as using Yast for the uninstall, then finding the tarball for 2.5, unpacking it, ./configure, sudo make, sudo make install?
I ran 'sudo apt-get install python', which completed successfully. According to [url, this should have created the directory /usr/lib/python2.6, but I do not see any such directory.
This is causing problems:
I've tried 'apt-get purge python' and then reinstalling but this has not resolved the issue.
I've a 64-bit Ubuntu Linux machine. Linux version 2.6.28-14-generic (buildd@yellow) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #47-Ubuntu SMP Sat Jul 25 01:19:55 UTC 2009 Ubuntu 9.04 Linux Debian 5.0 ( 2.6.28-14-generic x86_64)
When I tried to install the python-dev package on it using the command sudo apt-get install python-dev, I got following messages.
Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: python-dev 0 upgraded, 1 newly installed, 0 to remove and 271 not upgraded. Need to get 978B of archives. After this operation, 24.6kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! python-dev Install these packages without verification [y/N]? y Err http://in.archive.ubuntu.com jaunty/main python-dev 2.6.2-0ubuntu1 404 Not Found [IP: 91.189.88.45 80] Failed to fetch http://in.archive.ubuntu.com/ubuntu/...buntu1_all.deb 404 Not Found [IP: 91.189.88.45 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Tried with --fix-missing option as well. Same errors in this case also. How I can install python-dev package on 64-bit Ubuntu Linux machine?
I get an error when trying to install python-virtualenv package:
Quote: # yum install python-virtualenv Loaded plugins: presto, refresh-packagekit Setting up Install Process Resolving Dependencies --> Running transaction check
[Code]...
AFAIK, python-virtualenv package does not really require any development packages (at least in ubuntu, debian, opensuse). Is it a bug? I didn't find anything with search engines...
But apart from that, what basic concept am I not understanding about installing packages on Linux?
I am used to installing packages using package managers - mostly apt-get and zypper. I have occasionally installed from source, often with no trouble. However I recently installed Gnash and discovered that it has a Python binding that must be compiled from source and this has led down a rabbithole making me feel stupider at each turn.
First, I attempt do a ./configure --enable-python in the gnash source dir. This ends up failing with an error that
package pygtk-codegen-2.0 isn't found
The lead developer, Rob Savoye, was kind enough to point me at packages.debian.org, telling me I just need to locate this package. After many failed searches, I found that the python-gtk2-dev package contains this ... file? script? Great, but I couldn't figure out how to obtain the python-gtk2-dev package. It doesn't exist in any of my openSUSE configured repositories.
So I headed to the GNOME site and searched, found that the PyGTK package contains pygtk-codegen. Download the tarball, cd, ./configure, and this fails because I don't have GLIB. After some more searching I use zypper to install glib2-devel (libglib-2.0 was already installed), and now PyGTK fails to configure because I don't have GObject.
Find that, download tarball, cd, ./configure, fail. I don't have gobject-introspection-1.0, apparently. I DO have gobject-introspection installed, and it's version is ≥ 1.0, but that's what the script says.
So I will readily admit I am new to Linux, but I have to be missing some basic step here. Can anyone give me a clue about any of the above? Is it normal to have to install one dependency after another like this? Is OpenSUSE the wrong distro? What would make this process not so horrible?
i am trying to install torrentflux that requires python. but it says python path invalid . though it is installed and path is valid. i have chmoded it to 777 but same problem. I am using centos with LAMP.