Python is an interpreted programming language that is often, but not solely, used as a scripting language. A version of Python is included by default on all Ubuntu distributions.

learn more… | top users | synonyms

0
votes
2answers
25 views

python not remove

i install python but is not remove i try apt-get remove pythone and install pythone dpkg: error processing package python-zope.interface (--configure): dependency problems - leaving unconfigured ...
0
votes
1answer
12 views

Unable to start anaconda even after installing?Screen shot attached

Unable to run ipython correctly even after installing the whole package of anaconda.Anaconda successfully installed but conda update conda ,conda update ipython does not execute. Can someone help? Can ...
4
votes
0answers
44 views

How to recover a completely messed up ubuntu system

I have a system about 3000km away, so I have no access to it. The machine is running ubuntu 13.04 (yes, it's EOL passed long ago), and the python module is completely messed up. when I tried to use ...
0
votes
0answers
10 views

Why is my canvas not a surface

if canvas.collidepoint(mx,my): screen.set_clip(canvas) drawing=True if tool=="pencil" and mb[0]==1: draw.line(canvas,draw_col,(bx,by),(mx,my),1) elif tool=="eraser" ...
6
votes
6answers
12k views

How do I set up a python development environment?

Ok so I have decided to delve into the realms of casual coding and I have been told Python is a great language for beginners like myself. I know (not really sure though) the Python interpreter is ...
0
votes
2answers
56 views

How do I fix python?

I mistakenly thought that Ubuntu only came pre-loaded with Python 2.x, so I ran the command sudo apt-get remove python-minimal so I could install python3 as default. I soon learned this was ...
1
vote
1answer
17 views

Can't isntall PySensors. “sudo pip install PySensors” generates “ValueError: /usr/bin/python: undefined symbol: libsensors_version”

I'm just trying to get "Glances" working as per the accepted post in this question: System Monitoring Tools For Ubuntu But I can't install PySensors. The command "sudo pip install PySensors" throws ...
0
votes
0answers
20 views

Conda update <package>: Permission issues

I have a frequent issue with python packages, in this case with conda updating packages: ipython update user:~$ conda update ipython Proceed ([y]/n)? y Fetching packages ... Error: ...
-1
votes
3answers
109 views

The following packages have unmet dependencies!

I am writing this because I am very confused about installing postgresql 9.3 on mine Ubuntu 14.04. First I need it for mine Python/Django development, and I ran in to the problem, when i tried to ...
0
votes
2answers
24 views

Installing Apache Cordova, unable to locate package

Got Cordova installed and able to make an app. I have to run sudo click chroot -a armhf -f ubuntu-sdk-14.10 create to install the Ubuntu SDK, so I can later build to Ubuntu. When I run the command, I ...
0
votes
1answer
47 views

pip won't run. throws errors instead [closed]

I am running into problems when ever I run pip with any arguments or flags. I've tried doing apt-get install --reinstall python-pip but it does not help and am at a loss how to fix this Version of ...
0
votes
2answers
34 views

MySQL-Python-Web good Tutorials anyone?

does anyone know any good tutorial videos or webpages that can teach me how in a linux environment create a mysql db then use python to access the mysql db and create a webpage using python to display ...
-2
votes
1answer
35 views

My Python files opens in gedit instead of Python [duplicate]

My Python files opens in gedit instead of Python. Is there a way to fix this? I have tried to allow them to execute in the properties setting, but that didn't work. I can open them in the terminal, ...
0
votes
0answers
20 views

LinConnect failure to install

When I ran the commands from github (as per http://www.techrepublic.com/article/get-android-notifications-on-your-linux-desktop/ ) on Lubuntu 12.04.1, I got this before the install stopped: ...
0
votes
1answer
10 views

Get commit message and diff from Launchpad

Is it possible to get the commit message and the associated diff (changed file contents) of a project on Launchpad without cloning the repository? I tried using bzrlib as follows: from bzrlib.branch ...
1
vote
0answers
18 views

Gtk.HeaderBar not appearing in Python Application [closed]

I've created a Python Application to which I'd like to add a Gtk.HeaderBar. However, when I try to run the code below, the window opens with no titlebar whatsoever. I have the code below: class ...
0
votes
3answers
6k views

Python: module not found after manual install

I've recently updated to the current version of Ubuntu, 13.04 and Python 2.7.4. Since then I have problems importing the gobject module and dunno what to do to fix it. I'd like to use dreampie which ...
1
vote
2answers
137 views

Python setup icon

I am using Ubuntu 13.04. I have never coded or know how to. I can only click on an icon and hope it runs. Now, I want to learn Python. I extracted a Python 3.3.2 xzipped source tarball to a file I ...
10
votes
3answers
15k views

How do I make the terminal run python 3.1?

Currently, when I type "python" at the terminal I get v2.6 which is all fine and dandy but how can I set it to use v3.1 instead? Is there a "path" variable out there somewhere that I can change like ...
1
vote
3answers
60 views

How to get custom desktop file to be the default program for certain files

I have written a python wrapper for vlc that sits as an appindicator and monitors keystrokes to vlc and loads next/prev files in folder. I have the script working from nautilus scripts. Now I need ...
1
vote
1answer
1k views

Cannot import gnuradio. Is python set correctly?

When launching gnuradio companion it gives this error message: Cannot import gnuradio. Is the python path environment variable set correctly? All OS: PYTHONPATH Is the library path environment ...
0
votes
0answers
9 views

Revkit Gui Interface Error

I am trying to install Revkit 1.3 in Ubuntu 10.04 LTS. Successfully ran ./make.py bootstrap and ./make.py build, but after giving the command /tools/gui/gui.py I get the following message: Traceback ...
6
votes
4answers
2k views

Python: no module named datetime?

OS: Ubuntu 14.04 LTS Python: 2.7.6 My installation of Gourmet Recipe Manager suddenly stopped loading. When I run it in a terminal window, I get the following at the end of the traceback: import ...
2
votes
3answers
216 views

How to deploy: ubuntu | apache | python | C++ | mysql [closed]

What if you want to make a non trivial web site and/or web service? How to deploy production server Apache with python for frontend and C++ for backend and MySQL for persistance? What glue should ...
0
votes
3answers
1k views

apt-get ends up with errors after nvidia 331 installation

I recently installed nvidia-331 driver via Software & Updates -> Additional Drivers tab. Now when I use: sudo apt-get install <package> or sudo apt-get remove <package> ...
0
votes
3answers
3k views

Broken python (2.7) after manually building and installing python 2.6

running Ubuntu 12.04, I had the usual python 2.7 in place . I needed python 2.6 , so I downloaded the source and did ./configure make sudo make install A mistake, as I did not want to replace my ...
2
votes
1answer
3k 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 ...
0
votes
1answer
24 views

Extending Python lightblue module to use multiple bluetooth dongles

I'm using the lightblue module and pybluez to send files via bluetooth to obex protocol object push. But I need to use multiple bluetooth dongles (3 and more) to send files to multiple devices (20 and ...
0
votes
0answers
24 views

What is the safest way of parsing /etc/network/interfaces (5)?

Context: /etc/network/interfaces holds configuration for network interfaces, in this format. I doubt the format has changed significantly in years. The auto and iface lines are the most commonly ...
0
votes
2answers
656 views

A problem with youtube-dl

I am trying to use the youtube video downloader youtube-dl but when trying to use for downloading videos I get Traceback (most recent call last): File "/usr/bin/youtube-dl", line 29, in ...
0
votes
1answer
489 views

Installing Graphite on Ubuntu 12.10

I am trying to install and run Graphite on Ubuntu 12.10. To do it I followed this manual. Unfortunately on the step: Next, we will configure the Graphite database. Go to the Graphite webapp ...
1
vote
2answers
18 views

failed mysql.connector python script [closed]

Why the below script get error 1064 (4200): You have an error in your SQL syntax; check the manual the corresponds to your MySQL server version for the right syntax to use near '%s' at line 1. #! ...
14
votes
4answers
17k views

Make default `python` command to use Python 3

I can access Python 3 via python3 command. But I want to make the default interpreter to use python command for Python 3. Simple typing python takes me to Python 2. How to upgrade?
0
votes
0answers
20 views

PyKEP: python 2.7 vs python 3.3

I try to install PyKEP package (pyKEP) and following the instruction in the web page at the and I obtain this error massage: [ 95%] Building CXX object PyKEP/core/CMakeFiles/_core.dir/core. ... ...
0
votes
1answer
29 views

Installing software with python pip

I know that building software from source on my system using root privileges usually causes various problems and that the preferred way to install anything is to use a packet management system ...
0
votes
0answers
23 views

Application relies on Python 3, system uses Python 2. How to fix this?

This issue that I have is causing an application (MySQL Workbench) to run UNsmoothly. Basically, after I upgraded MySQL I had problems connecting to a database through SSH. It was suggested that ...
0
votes
0answers
29 views

nvidia-settings ImportError: No module named 'dbus'

I try to switch my graphics card via NVIDIA X Server Settings. However when I click on NVIDIA: Traceback (most recent call last): File "/usr/share/screen-resolution-extra/nvidia-prime.py", ...
2
votes
2answers
1k views

Cannot install python module urlparse

some program written in Python 2.7 complains that ImportError: No module named 'urlparse'. So I need to install the module, but I am not able to do it. The module does exist, it is described e.g. at ...
1
vote
2answers
22 views

Install PyCharm IDE from repo (without wget)

Is there a way to install the PyCharm IDE (community version) from a repo (without wget). I think the wget method found in many blogs is too complicated.
0
votes
1answer
16 views

ipython vs ~/.local/bin/ipython

Since installing ipython notebook via pip, as I understand, I have two versions of python, ipython (and other packages): the Ubuntu system version and the local pip version. $ which ipython ...
1
vote
2answers
4k views

Installing Pygame Ubuntu 13.04

I recently installed Ubuntu 13.04 and want to install pygame. I've attempted doing as instructed on the pygame page (using the source code) however I am unable to install the dependencies and I get ...
1
vote
2answers
40 views

How to make a program use python2.7 instead of default python3.4 on ubuntu 14.04 [duplicate]

I am using ubuntu 14.04 and I have a program that depends on python 2.7 and does not support any of python 3.x. Ubuntu 14.04 comes with python3.4 by default. I would like to know if there is a ...
0
votes
0answers
42 views

how do I terminate “Uninterruptible” and “Zombie” processes?

This is most likely a Wine issue that's causing this but I have 2 python.exe processes that are just sitting there, and I can't kill them... they sit there when a SDL (pygame) window doesn't close ...
1
vote
0answers
65 views

Update Manager doesn't work “ImportError: No module named 'codecs'”

Hello, Dear awesome community Each time I try sudo update-manager it returns Fatal Python error: Py_Initialize: Unable to get the locale encoding Traceback (most recent call last): File ...
0
votes
1answer
35 views

how to install numpy in ubuntu 12.04 [closed]

I need to install numpy in my ubuntu 12.04. I am new to linux so please give me step by step orders to terminal. I downloaded the numpy 1.9.tar.gz and unpacked it. now please tell me how to proceed. ...
0
votes
0answers
28 views

Problem importing a module (mpl_toolkits.basemap) in Python

So the issue is this: I'm attempting to learn how to plot maps with Python, using shapefiles. There are plenty of examples available on the internet, but just about all of them start with something ...
1
vote
1answer
54 views

Get Window Title or Application Name with Python

I'm working with multitouch and I try to do different stuff on different applications with the same gestures. I have a python script, basic works. Bot how can I decide between the applications? How ...
4
votes
3answers
30k views

Copying multiple specific files from one folder to another

I have a large folder of pictures (thousands), and I have a long list of files, by exact file name, that I need to copy to another folder. I want to know if there is a way I can select several ...
0
votes
0answers
76 views

How to update PyCharm 3.4 to 4 in Ubuntu 14.04

I have Pycharm 3.4 community edition installed. I want to update my installation to 4.0. Going to Help > Check for update shows me that I am in latest version which is 3.4.1. Manual download and ...
0
votes
1answer
123 views

Problem with installing IPython on Ubuntu 14.04 LTS

When I used pip install ipython or pip install "ipython[notebook]" I get the following error: Downloading/unpacking ipython Downloading ipython-2.3.1-py27-none-any.whl (2.8MB): 2.8MB ...