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

1
vote
1answer
33 views

Project Explorer for Python in Ubuntu 16

What are the project explorers or IDEs available for python programmer in Ubuntu? I am aware about Eclipse and Pydev plugin, but I find it pretty slow. I then usually use Sublime text editor, but that ...
5
votes
1answer
2k views

Alsa problems with python2.7- Unable to open slave

I am using python's module pyaudio to process sound but ALSA returns: ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open ...
0
votes
1answer
50 views

Unable to use python3

Unknowingly i deleted the python folders in the / (root) directory, so I got this error when I tried to run python3. I reinstalled python3.2.3 version by manually downlading and installing with the ...
0
votes
2answers
48 views

what is gi.repository in python? [closed]

I see from a lot of tutorials that in python the statement "from gi.repository" is used to import lots of different things, like gtk,etc etc.. what library is it? is it correlated with github? ...
16
votes
3answers
19k views

Ubuntu 14.04 LTS and Python 3.4.2

Is it possible update default Python 3.4 to 3.4.2? How?
1
vote
1answer
34 views

Python 3.3 installation error - abort installation

When I try to upgrade python3 version, I am getting the following error sudo apt-get build-dep python3.2 Reading package lists... Done Building dependency tree Reading state information... ...
0
votes
0answers
50 views

Errors in installing virtualenv after installing to python 3.3.0 also

I am getting this error when I run the sudo pip install virtualenv command. I tried installing the python 3.3.0 version also which you can notice below. but I am not able to make the python3.3.0 ...
0
votes
1answer
897 views

installing nylas N1.deb

raymond@akornor:~/Downloads$ sudo gdebi N1.deb Reading package lists... Done Building dependency tree Reading state information... Done Building data structures... Done ...
0
votes
1answer
37 views

How do I run mulitple pythons with virtualenv in production?

I have installed virtualenv to run a different version of Python than the system Python for my django app. I installed Python 2.7.11 using the method described here. I've modified my uwsgi.ini file to ...
0
votes
0answers
32 views

importerror: no module named eyed3

python 2.7.6 , ubuntu 14.04 I installed the eyed3 module but it still gives an import error. Importerror: no module named eyed3
0
votes
1answer
4k views

Python PIP ImportError: No module named encodings

Bonjour, I've just installed pip by doing sudo apt-get install python-pip But I am facing a problem... When I want to download a module (pygame for exemple) it fails by throwing these errors :...
1
vote
1answer
113 views

Install python 3.5.1 on ubuntu 14.04 [duplicate]

I would like to know how to install python 3.5.1 on Ubuntu 14.04.
0
votes
1answer
106 views

gcc-5: internal compiler error: Bus error (program as)

I'm trying to install Python 2.7.11 on my Ubuntu 14.04 LTS vServer (hosted at strato), because it's a requirement for letsencrypt. I'm using this tutorial, basically just replacing 2.7.9 with 2.7.11. ...
3
votes
2answers
2k views

How to control gnome-terminal from Python scrypt?

I am developing an application in PyGtk, and would like to launch a gnome-terminal and output commands to it. My user should then be able to modify the command, or maybe ignore using the up arrow ... ...
11
votes
5answers
74k views

What are the best Python IDEs? [duplicate]

Possible Duplicate: What IDEs are available for Ubuntu? What are some of the best Python IDEs for Ubuntu 12.04? Would you benefit from me learning Python?
0
votes
0answers
21 views

Ubuntu 14.04 all python2 programs not launching

If I try and launch Glances or ranger from a terminal it will just hang forever until I cancel it. I think the issue was caused by something I messed up with python2 when trying to use django. I used ...
1
vote
0answers
49 views

Didn't work with pip, but worked with apt-get?

I asked an SO question, where I was trying: pip install -U scikit-image where in fact what was needed was: sudo apt-get install -U scikit-image What's the difference? I mean how the later worked,...
2
votes
1answer
44 views

“sudo pip” differs from normal “pip”

When I execute which pip3 it points to /usr/.../anaconda3/bin/pip3 However, when I run sudo which pip3 the result is /usr/bin/pip3 Where does this problem comes from and how do I ...
1
vote
1answer
40 views

Save commandline commands for Python [closed]

I have a tool that's in Python- it resides in a git repository. Whenever this tool is started (say, $mytool start is the command that starts the tool)- I want to save all the following command line ...
0
votes
0answers
25 views

how does python work on ubuntu? [duplicate]

I am new to ubuntu.I was using windows before .Just wanted to know how to practice coding on it.what is the compiler in ubuntu.please explain step by step.can I get an IDE?
0
votes
0answers
37 views

How to resolve ERROR: virtualenvwrapper could not find virtualenv in your path

Other such posts didn't solve my error. I followed this post to install virtualenv and virtualenvwrapper . Now when try running mkvirtualenv Addon-Tests in my project's root directory, I get an error :...
0
votes
0answers
43 views

Play on Linux not working with python error

I tried to google for an hour but did not find a fix. Suggestions? I tried with the regular play on linux version and the devel verison, but have the same error. I tried all suggestions on installing ...
0
votes
0answers
50 views

Install python and django on ubuntu 14.04

I am new in python/django and following this link and "Global Install through pip(section)" for installation, when I run apt-get install python-pip, I get below error aagyat@ubuntu:~$ sudo apt-get ...
0
votes
1answer
266 views

Ubuntu 16: pip install installs to python 3 instead of 2

I upgraded to Ubuntu 16.04. I know it came with only python 3 installed, but somehow python 2 got in there ( I guess as a dependency). That's ok because i would add it anyway. Both python versions are ...
0
votes
0answers
21 views

Problems with Python running apt-get upgrade

When I'm trying to make apt-get upgrade I'm getting the following errors: Preparing to unpack .../python-samba_2%3a4.3.9+dfsg-0ubuntu0.14.04.3_amd64.deb ... Traceback (most recent call last): File "...
1
vote
0answers
14 views

How to set Python 3 as default on Ubuntu 16.04 [duplicate]

According to the release notes Ubuntu 16.04 uses Python 3 by default and should not even include include Python 2: Python 3 Python2 is not installed anymore by default on the server, cloud ...
0
votes
0answers
12 views

How to ensure threading and parallel computing with cado-nfs

I tried to run CADO-NFS 2.1.1 to factor 512-bit number (155 digits) using 4 machines with this command : t=/tmp/c155 factor.sh ...
-1
votes
1answer
62 views

OverGrive not launching

I installed OverGrive and it worked fine for a few days before it suddenly stopped launching. I've tried a few things, including reinstalling pip, python, etc. When I run: python /opt/thefanclub/...
0
votes
1answer
1k views

Making webpy framework accessible from outside the local network

I am using ubuntu 12.04.03. I have some basic experience with webpy and I had it working for my LAN just by following the tutorial. The framework needs to be able to be used from outside the local ...
6
votes
3answers
15k 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 ...
0
votes
2answers
48 views

Python code to GET (not set) the current desktop wallpaper image

Like the title says, I'd like to slurp in the entire 1920x1080 background wallpaper image into a readable object regardless of what windows, panels, launchers, etc. may currently be on top of it. ...
1
vote
1answer
128 views

Tensorflow for python 3 throws an error when installing on ubuntu

Today I was attempting to install google's Tensorflow for python 3 without gpu. When I run the command: sudo -H pip3 install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp34-...
0
votes
1answer
30 views

How to `conda install ipython`?

System: Ubuntu 14.04, python 2.7.6, pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7). I am trying to setup my packages by conda because of this table here in my system. I did successfully ...
1
vote
1answer
156 views

How to install Matplotlib in Ubuntu 14.04?

Motivation in 14.04: 16.04 is buggy for production use. 14.04 is the only stable one. 15.10 is also buggy. Their upstart/systemd with runit is horrible. I run masi@masi:~/BitTorrentSync/IPython$ sudo ...
0
votes
1answer
49 views

How to Restore Pip installation and its Installations in Ubuntu 14.04? [closed]

I messed up my Pip installation. There was one missing when I run sudo apt-get install python-pip. Then, I run after sudo apt-get install python-dev. Then, I started to get 404 errors in ipython ...
1
vote
1answer
47 views

How to Install Pycosat in Ubuntu?

I run pip install pycosat but I get: Downloading/unpacking pycosat Downloading pycosat-0.6.1.tar.gz (59kB): 59kB downloaded Running setup.py (path:/tmp/pip_build_masi/pycosat/setup.py) egg_info ...
-1
votes
1answer
100 views

Ubuntu 16.04 32 bit. Problems with PyCharm Community

I've got a same problem as a guy here. But I have 32 bit system. I've tried to fix it as the top answer advices, but instead of working pycharm I catch much more problems, which are wroten at this ...
0
votes
2answers
5k 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 ...
0
votes
2answers
448 views

How to download easygui for python3.3?

I have python 2.7 and python 3.3 in my Ubuntu 13.10 system.I have easygui in-built for python2.7 but not for python3.3.But when I download the zip file of easygui and unzip it and type "python3 setup....
0
votes
1answer
37 views

Can't use Python console on Gedit

The error message is: Plugin loader python3 was not found Python3 is installed... Using Ubuntu 16.04 LTS
1
vote
1answer
31 views

how to install a specific package version

I'm building my first debian package (django), which needs some dependencies, so I was wondering if it's possible to install a specific package version with apt-get. For example instead of pip ...
0
votes
0answers
27 views

Unable to source virtualenvwrapper.sh file

I have two versions of python installed, version 2.7 at /usr/local/lib/python2.7/dist-packages another version at /home/kv/.pythonbrew/pythons/Python-2.7.5/bin/python running the command kv@kv:...
0
votes
1answer
31 views

Python script in CRON is not running in AWS ubuntu 14.04 instance

I want to schedule a CRON job into AWS Ubuntu instance. I have a simple cron sample like the following - import pandas as greatPanda import pprint import uuid df = greatPanda.read_csv('/home/soumik/...
0
votes
1answer
965 views

installing pip3 (for python3) on ubuntu 16.04 LTS using a proxy

I have tried entering: sudo apt install python3-pip The error I get is: $ sudo apt install python3-pip Reading package lists... Done Building dependency tree Reading state information......
-1
votes
0answers
38 views

PIP does not see a Python

amigo421: ~$ pip bash: /usr/local/bin/pip: /usr/bin/python: bad interpreter: No such file or directory amigo421: ~$ python --version Python 3.4.3 amigo421: ~$ alias alias python='...
22
votes
7answers
97k views

What version of Python do I have?

How can I find out what versions of Python I have? I am using Ubuntu 14.04 (Trusty Tahr).
0
votes
0answers
36 views

What's the most convenient GUI framework in Ubuntu 14.04 to create a graphical interface for a Kinect 2.0?

I want to create a graphical interface for the Kinect 2.0 (for Xbox One) in Ubuntu 14.04 LTS combining Python and C programming languages, in order for anybody to be able to easily use it, i.e., ...
1
vote
2answers
7k views

Fatal Python error: Py_Initialize: Unable to get the locale encoding … SyntaxError: invalid syntax Aborted (core dumped)

I installed anaconda by running the bash Anaconda-2.2.0-Linux-x86_64.sh command on my Ubuntu 14.04 system , which installed successfully, after which I was asked to export my new /home/username/...
1
vote
0answers
66 views

Launch python script fullscreen on startup (Ubuntu 14.04)

I have a python program that I would like to automatically run after logging in. This shouldn't be much of a problem, however, I would like the terminal to be in fullscreen mode while running the ...
1
vote
3answers
2k views

which version of python is installed?

I installed Ubuntu 12.10 in my VirtualBox. Is python installed by default? If not, How can I install python?