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'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 have been trying to install the NumPy package for Python on to my home directory, as I run as part of a server and do not have permissions to install new packages in the Linux server.
I have set up Python in my home directory, and have configured ~/.bash_profile to find my local Python (which works, confirmed by testing).
However, when I attempt to install the NumPy package, I get the message error: could not create '/usr/local/lib/python2.6': Permission denied Which I find strange because I do not see why it would need to install files anywhere except my local Python directory.
how I might be able to specify the directory in which files are installed?
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
Is there a formal documented way? I have found a method of doing it, but I find it difficult to believe the ability to uninstall is not formally supported. [URL]
Essentially: When you install - python setup.py install --record files.txt When you uninstall - cat files.txt | xargs rm -rf
This will, however, require the user to look through files.txt like a hawk. It is really not an ideal situation I would think.
I'm currently running Debian Wheezy (upgrading to Jessie is not possible since I'm using OpenMediaVault which only supports Wheezy) but ever since I installed Deluge BitTorrent client that I've had this python-libtorrent package as "kept back". I'd like to fix this system state but how...
A few things I've tried:
Code: Select all$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done
The following packages have been kept back: python-libtorrent 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Code: Select all~$ sudo apt-get install python-libtorrent Reading package lists... Done Building dependency tree Reading state information... Done
[Code] .....
I have the following APT repositories on my sources which I believe are causing my problem:
Code: Select alldeb http://dh2k.omv-extras.org/debian/ stoneburner-miller main deb http://ppa.launchpad.net/deluge-team/ppa/ubuntu precise main
They were added through OpenMediaVault's interface when I enabled some checkboxes to be able to install Deluge.
I'm trying to install some virtual machines to a dedi using KVM. So far everything seems to be working, I tested the KVM install with virsh -c qemu:///system list and it responded, however, I'm trying to now install the script for generating new vps's python-virtinst but putty is returning this error:
I am writing a python package deployment tool for linux based platforms. I have tried various existing tool sets but none of them is up to the mark and they have their own issues. Initially I'll start with simple approach. 1. Find all the modules/packages and copy to "lib" directory. 2. Find python's *.so dependencies (system libs) and copy them to "syslib" 3. Copy python (executable) and libpython2.6.so.1.0 into "dist" directory. 4. Set up temp environment 5. Run main script using "python <main script>.py"
The idea is to produce a cleaner directory structure. Neither I am creating a boot loader nor I am converting main script file into executable. It's plain vanilla stuff. Using above steps I have pulled down a package using wxPython's demo example "pySketch.py". You can download the archive from here: [URL]. After extracting the contents, run the executable file using "./run". This file sets temporary environment variables and execute "pySketch.py". This is eventually not working. I think I am not able to set up temporary environment properly or may be missing some other stuff.
I want to install CmapTools in my desktop, which runs v.10.04. I have downloaded the .bin file from their site.Is there a way to install it using Synaptic Package Manager?
I originally attempted to compile and install xmonad package by package, and the end result was this:
Code: $ xmonad /home/adx/.xmonad/xmonad-x86_64-linux: executeFile: does not exist (No such file or directory) X Error of failed request: BadAccess (attempt to access private resource denied) Major opcode of failed request: 2 (X_ChangeWindowAttributes) Serial number of failed request: 7 Current serial number in output stream: 8 I figured I left out a flag on the make file or something, so I tried the slackbuild packages next; however, the same error was present at launch.
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.
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.
Sometimes i have on some magazines or Internet Zip packages that are the answer of what i am looking for.
Wich tool and how can i do it? c Well, i am in position to say that i had downloaded from Internet or located the package in the Cd or DVD that comes with the magazine.
But now comes the big question. How can i put this package ( install) on my distro ???
Do i have to be a normal user or should it be root or su (superuser) ?
The packages that come with the distro is easy, because i select them and everything is done
As i told before, maybe this is a silly question, but i simple don't know how to install them and i need some of them to leave MS for good.
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??