1
vote
2answers
30 views

Using specific python version for apt-get in Ubuntu 12.04 LTS

On Ubuntu 12.04 LTS I have python2.7.3-0Ubuntu3.5 package installed. One of the libraries i am trying to install has dependency on (>=2.7.3.6). I went ahead and installed python 2.7.6 and even python ...
2
votes
2answers
53 views

How to isolate Python 2.7.X on Ubuntu 12.04 which has default Python 2.7.3?

I want to build Python 2.7.8 on my Ubuntu 12.04 machine, which has Python 2.7.3 as default distribution. I would like to "install" Python 2.7.8 but isolate it completely from Python 2.7.3 - meaning, I ...
0
votes
1answer
51 views

how to tell ubuntu to use python 3.4 instead of 2.7? [duplicate]

I have python 2.7 and 3.4 versions installed. But when I say say "python -V", it shows version as 2.7 not 3.4 How to tell ubuntu to use newest python? where is this setting configured ?
-1
votes
0answers
38 views

bloomberg python api blpapi3.5.5 install gcc error in ubuntu

i am try install bloomberg python api blpapi-3.5.5 in ubuntu but gcc error are show when i am install..how to solve this issue. there error massage.. /home/najeeb/Desktop/pyqt1/blpapi-3.5.5# python ...
3
votes
1answer
107 views

python-nltk on Ubuntu 12.04 LTS: nltk.download('brown') results in HTML error 401

I have installed python-nltk on Ubuntu Server 12.04 using apt-get. But when I try to download a corpus, I get the follwoing error: $ python Python 2.7.3 (default, Feb 27 2014, 19:58:35) [GCC 4.6.3] ...
0
votes
0answers
53 views

fresh install, python-software-properties unmet dependencies

attention: This might be more a question for "gis.stackexchange" but it is Ubuntu-related Geonode 2.0 is available for Ubuntu 12.04 but not for Ubuntu 14.04. According to the docs it should be ...
1
vote
0answers
20 views

How do I run .ui files in ubuntu 12.04?

I created a very basic .ui file and edited it using pyqt. Now when I click the ui file, it opens in QT Designer. How do I run it? All it does in print ham (hehe). I'm sorry about my language, Please ...
1
vote
1answer
37 views

How do I install pygame in a pyenv virtualenv for Python 2.7 on Ubuntu 12.04?

I found instructions for Python 3.3 but nothing specifically for 2.7. I sorted it out and figured I'd record it here for future reference.
2
votes
1answer
537 views

Install Python 2.7.8 on Ubuntu 12.04

I have to use Ubuntu 12.04 for some reason. In the other hand, i have to use Python 2.7.8 but the newest python version for 12.04 is 2.7.3. Is there any ppa repository i can use to upgrade my python ...
2
votes
1answer
55 views

Removing idle-python2.7 in Ubuntu 12.04

I'm having some issues when updating packages on Ubuntu 12.04: Processing triggers for menu ... Errors were encountered while processing: idle-python2.7 Setting up idle-python2.7 (2.7.3-0ubuntu3.5) ...
1
vote
1answer
33 views

echo to /etc/sudoers causing pasrse error

Using fabric if I echo to sudoers file for second time the file got corrupted works fine for first echo. What could be the reason? First echo: sudo('echo "django ALL=(ALL:ALL) ALL" | sudo tee -a ...
3
votes
1answer
51 views

How can I make Ubuntu to run only one application on startup [duplicate]

I am currently developing a quad copter controller that is touch screen and powered by Raspberry Pi. I already know how to program using Python, but I am having trouble making it run my only app on ...
0
votes
2answers
144 views

Unable to use “pip install scp” command in ubuntu 12.04

I am new to the ubuntu/linux world. While try to run my python script I get the following error: root@ubuntu:/home/haris/Downloads/# python install.py Traceback (most recent call last): File ...
-1
votes
1answer
67 views

How to connect to sql server 2008?

I am using ubuntu 12.04, and i have a microsoft sql server 2008 which is running on a windows server 2008 on port 1433, but windows server 2008 is virtualized it is running on vmware and further this ...
1
vote
1answer
67 views

Will installing Python 3.2 from software center replace the original Python 2.7 on 12.04?

Will installing Python 3.2 from the software center replace the default Python 2.7 on 12.04? I would like to keep using Python 2.7, because I am afraid Python 3.2 will not recognize code written for ...
3
votes
1answer
418 views

Python scripting - How to execute linux commands? [closed]

I have to do a bunch of file copying, moving, svn check out commands, directory checking etc. and I'm trying to make a script to do it for me. I have basic python syntax, but I'm not sure how to use ...
1
vote
1answer
43 views

Installing pycairo on Python 3

I'm trying to install pycairo, but my symlink is sending it to python 2, though it requires 3. How do I get around this error? # ./waf build ./options() The project was not configured: run "waf ...
-1
votes
1answer
48 views

Desktop background after logging in Ubuntu 12.04

I am new to ubuntu and I don't know what to do in this problem. I wanted to completely uninstall python so i did sudo get-apt purge python in between this process I closed the terminal as I saw ...
0
votes
0answers
46 views

Run Twisted server on startup

I am pretty new to Ubuntu and tried to install portia according to this howto: https://github.com/scrapinghub/portia#running-portia Everything worked fine after I run the command twistd -n slyd. I ...
1
vote
0answers
31 views

Error when installing python-guestfs on Ubuntu 12.04 [closed]

I am trying to set up OpenStack on 3 vms using Vmware. I am at the part of configuring a compute node and the first step is to install nova-compute-kvm and python-guestfs. After I issue the apt-get ...
0
votes
0answers
138 views

/usr/bin/ld: error: cannot find -lpython2.7

While installing pyscard.py I get this error, gcc -pthread -shared -Wl,-rpath,$ORIGIN/../lib -g -L/home/builder/jenkins/workspace/Python_Masters/ARCH/x86_64/label/Linux/core/lib ...
2
votes
1answer
111 views

Can't install python-pandas on ubuntu

I am trying install python library pandas on ubuntu system, and it seems to work, but it it does not. Here is what I did: sudo pip install pandas This seemed to install pandas properly. I got this ...
0
votes
1answer
46 views

Ubuntu 12.04 desktop with no launcher and no shortkeys working [duplicate]

I have accidentally uninstalled python 2.7 and python-minimal from my Ubuntu. It gave me an error saying wicd has shut down and there are broken packages. When I restarted the system, only the ...
1
vote
1answer
173 views

How to use UPSTART feature of ubuntu to restart the python script but not as root?

I am running my Python script using upstart feature of Ubuntu so that if for whatever reason my Python script dies or gets killed, it can be restarted automatically and everything is working fine - ...
1
vote
1answer
2k views

Python 2.7.6 on Ubuntu 12.04 How to?

I'm developer and I need to make my enviroment work with Python 2.7.6 (not 2.7.3) on the Ubuntu 12.04. Please, provide me some notes how to do that?
1
vote
1answer
1k views

Install python setup tools for Ubuntu 12.04

I am trying to install Savanna in OpenStack but I am getting this error that I have posted on askubuntu.com Someone told me that it might happen because I have not right version of python-setup-tools ...
1
vote
1answer
63 views

how do I make a python program write directly to the command line?

This is the code I have, I want it so that I can write to the command-line from the window after I press the "SEND" button. If I want to see my "ifconfig" in the terminal, the command gets writen in ...
0
votes
0answers
201 views

OpenERP server problem message when installing an app

I recently installed open erp v7 on ubuntu 13.10, I could install the warehouse app fine, as well as the sales app , but I'm having trouble installing a few other apps. It looks like it is either a ...
0
votes
1answer
144 views

undefined symbol: PyExc_TypeError

I'm using Ubuntu 12.04 and I have weird problem that started appearing. I've been using virtualenv command for working with my Python projects and I never had trouble with it. However, for some reason ...
0
votes
1answer
310 views

Python urlopen function raises an error when an https site is given as input [duplicate]

Please don't mark the question as a duplicate. I have gone through every possibility, but I didn't find an answer. I use Ubuntu 12.04(LTS) Python urlopen function raises this error message when an ...
1
vote
0answers
89 views

Cannot access horizon, python compiling issue [closed]

I've successfully deployed OpenStack Havana using Juju over Ubuntu precise. Each charm on dedicated server and everything looks normal. When I tried to access horizon, I get the login page and ...
4
votes
2answers
61 views

What is the correct location for a maintained virtualenv service?

I will be installing and maintaining a Python 2.7-based server application on Ubuntu server (12.04). The model of maintenance will be to create a virtualenv and install application standard libraries ...
2
votes
1answer
147 views

Install both libmemcached10 and libmemcached6 ubuntu 12.04

Just wondering if someone can help me here, I'm still quite new to Ubuntu an Linux in general and seem to be having a problem with two packages: libmemcached10 is required for php5-memcached but ...
-2
votes
1answer
1k views

Uninstall Python 2.7 on Ubuntu 12.04 [duplicate]

I have just installed Ubuntu 12.04 which comes with Python 2.7. I have installed Python 3.3, so now I have both versions. For example, if I type python in the terminal I get version 2.7 and if I type ...
1
vote
1answer
283 views

How to restart python script after one second of going down using UPSTART?

I am running my Python script using upstart feature of Ubuntu so that if for whatever reason my Python script dies or gets killed, it can be restarted automatically and everything is working fine - ...
-1
votes
1answer
460 views

couldn't load image in opencv(python)

I installed opencv & python in ubuntu12.04. I'm unable to load the image. I tried $ from cv2.cv import * which showed the error "from: can't read /var/mail/cv2.cv" How to solve this?
1
vote
1answer
4k views

How to install the latest IPython notebook in Ubuntu 12.04?

The solution here asks to install the latest notebook, but I was unable to find how to do so. http://stackoverflow.com/questions/16496687/unable-to-open-an-existing-notebook-in-ipython-notebook
1
vote
2answers
188 views

How we can change linux environment variable in python?

Let's say we are on a command line and we declare an environment variable: export x=100 When i go to python and type : os.environ['x'] = '100000' If I came back to command line x stays 100. Is ...
-1
votes
2answers
69 views

Numpy installation?

I used VIRTUALBOX to install Ubuntu 12.04 on my windows pc. I used apt-get to install Python 2.7 that shipped with 12.04. I followed the directives I saw on this site to install Numpy, Scipy, Matplot ...
0
votes
0answers
319 views

How can I use the python GstVideo module in 12.04?

I'm trying to get the gstreamer1.0 demos to work on 12.04, python 3.2.3 and am getting the following (precise)raymond@localhost:~/workspace/nexense$ python video-player-1.0.py \ ERROR:root:Could ...
0
votes
0answers
74 views

WebKit WebView cause error

I try to write simple GUI application using Ubuntu Quickly and Python. So, I need to use WebKit in it and I write something like this: webview = WebKit.WebView() But this line in my code ruined ...
0
votes
0answers
88 views

How to control wpa_supplicant via DBus control interface?

I am trying to control the wpa_supplicant by DBus control interface. Any one knows how to do it using python ?
0
votes
2answers
699 views

How to see if wxpython is installed?

I would like to know how can i determine if wxpython is installed on ubuntu 12.04? And i would like to know as well if ubuntu 12.04 already has wxpython installed by default?
-1
votes
1answer
711 views

Can't run python program in terminal

(I am using ubuntu 12.04) I made this python program: #!/bin/sh # -*- coding: utf-8 -*- #Created on Tue Nov 12 19:44:50 2013 #@author: matthew import os print "Multiple Command Runner" print ...
1
vote
1answer
836 views

ubuntu 12.04 python problem or?

Hi i am trying to fix this for a long time but without success. When i open my zsh terminal i get this error: (terminal is working but error appear) Welcome to the world of tomorrow! ...
1
vote
0answers
201 views

Can't Start Carbon - 12.04 - Python Error

I am really hoping someone can help me as I have spent at-least 15 hours trying to fix this problem. I have been given a task by a potential employer and my solution is to use ...
0
votes
0answers
56 views

Control Media via Arduino

I want to create an application that controls the volume, play next\last, stop\play and things like this (I don't know what they called) like in a keyboard. I have tried to find how to do this with ...
2
votes
1answer
495 views

Assign Spyder to open python files by default [closed]

I'm using elementary OS which has as a base Ubuntu 12.04. I have both Canopy and Spyder installed to manage my python files. When I installed Canopy it set itself as the default app to open files ...
1
vote
1answer
65 views

How to block all the interrupts in linux

I am working on a python project, Where i am displaying a graphical window with log in screen, I've also disabled the close, re size and minimize buttons My problem: I have to disable all the ...
2
votes
1answer
2k views

Ubuntu - 12.04 Update manager and software center is not working

I have Ubuntu 12.04 LTS installed in my machine. Update manager and software center is not working after applying some packages through update manager. The following is the error trace I got, when I ...