Python 3 is the latest major version of Python, a scripting language used my very many open source developers.

learn more… | top users | synonyms

1
vote
0answers
20 views

libtiff module not found on 64-bit Ubuntu 14.04 python 3.5.1 (or 3.4)

My problem is pretty much identical to here except none of the solutions there are working for me. I'm assuming the issue there was for python 2.7 because my issue is specific to python 3.5.1 TL;DR: ...
0
votes
0answers
28 views

How can I modify this script to only copy certain file types? [on hold]

The script is here: How can I automatically copy the content of a usb (flash) drive to another directory? I would like modify the script to only copy media files (jpg, png, mov, avi, wmv, mp4). ...
0
votes
1answer
36 views

cant install python3 on ubuntu

I try to download python on ubuntu I get the following errors: ali@CCVL-4GPU:/media/work$ sudo apt-get install python3-dev Reading package lists... Done Building dependency tree Reading state ...
0
votes
1answer
22 views

Ubuntu 14.04 Menu and Side bars NOT displaying after Python3 uninstalled

I've uninstalled Python3 and now my Side and Menu Bars are not displaying. I'm running Ubuntu 14.04 LTS. I can still see my other icons on the desktop. I've tried to launch Terminal( Alt+Cntrl+T) - ...
0
votes
0answers
11 views

What to do if I have python 3, but I cannot install a program designed to python3?

I have the following problem: I need to download a file that is designed for python 3, I already install it in my shell using the code. sudo apt-get install python3 The I tried sudo pip3 install ...
1
vote
1answer
232 views

Installing python 3.x on Ubuntu 15.10

I have already python 2.7 on my machine. I can't recall if I installed it or it is a built-in install. Anyhow, I would like to install work with python 3.x and I wonder if I need first to uninstall ...
0
votes
2answers
25 views

python 2.x beside 3.4

From noob to all... Is it possible to have py2.x beside 3.4, preferably with launcher icons for both? If not, how can I start py2 IDE from command line? I prefer py3, but need py2 and it's modules ...
1
vote
1answer
89 views

How to install Python Matplotlib 1.5.1 on Ubuntu

I want to install matplotlib 1.5.1 for python 3.4 on ubuntu 14.04, but when I type in the terminal sudo apt-get install python3-matplotlib I just get matplotlib 1.3.1. I tried to use pip to install ...
0
votes
1answer
37 views

Installing Python3.4 + Pygame on Ubuntu 15.04

The issue has been discussed before, but I have failed to find an answer for the problem. I have tried both to compile Pygame from the official website and install from PPA but nothing works for me. ...
0
votes
0answers
47 views

Can't remove Python 3 pip on ubuntu 14.04 LTS

I have the following python directories on my machine: me@pc:/usr/lib$ ls --directory python* python2.6 python2.7 python3 python3.4 python3.5 python-tz where python2.7,python3.4 and python3.5 ...
1
vote
1answer
112 views

No module named 'gdbm'

I just finished installing python 3.5.1 on my Ubuntu, but am faced with this error message, regardless if I'm installing with Anaconda or with apt-get: No module named 'gdbm' that normally displays ...
1
vote
0answers
23 views

What is the ETA of python-3.5.1on wily werewolf?

python3-config is broken on python 3.5.0: mga@aria:~>python3-config --extension-suffix @SO@ There is a patch for this on python-dev since 2015/10/19, which made it to the 3.5.1 release. What is the ...
0
votes
0answers
10 views

How to lock GUI created by python program to launcher

In python, I used the module tkinter to create a GUI program. However, when I right-click it, select Lock to Launcher, and right click again, the option to lock it to the launcher is still available. ...
0
votes
0answers
8 views

How do I install python 3.4 to my chromebook? [duplicate]

I installed Ubuntu on the chromebook, but now whenever I enter a command it asks me for a password? I never set one up and I'm not sure how to proceed from here.
0
votes
1answer
372 views

How to safely install Python 3.5.1? [duplicate]

Python 3.5.1 came out on December 7th 2015 and as a beginner Python coder I would like to try the very newest version on my Ubuntu installation. At the moment both Trusty Tahr 14.04 LTS and Wily ...
3
votes
3answers
56 views

How can I reorganize files by extension, and sort them into folders by category?

Below code was posted by @JacobVlijm. I've tried to modify it, because I want other folder names then the file extensions, and I'd like to group file extensions into categories. The code does not work ...
1
vote
0answers
251 views

Python - pip pip2 pip3 pip3.5 packages are installed but cannot be imported in any Python session

As I am using Xubuntu I thought perhaps this was a better forum than Stackexchange for some questions relating to pip and Python Today I have encountered troubles with pip and Python. For some reason ...
0
votes
0answers
39 views

Running python script in Python interpreter

I have recently started using Ubuntu 14.04. I am learning Python and have both Python 2.7 and 3.4 installed. I made some simple scripts and executed them using command python filename.py and it ...
3
votes
1answer
37 views

How can I use DBus to create a client and server without dbus configuration files on recent releases of Ubuntu?

I want to use a bridge between a flask webapp and python subprocesses under python3. I couldn't find a copy paste-able example of a service instantiated without config files for the same. The ...
0
votes
1answer
24 views

Configuring Kdevelop for Python 3

I've installed kdevelop 4.7.1 & kde-python 1.7.1 The default configuration is using Python 2 in the code autocompletion & the console. How do I set things up for Python 3? Also, code ...
0
votes
0answers
30 views

python3 won't import LCM

I am not sure if this problem is given by some incompatibility between LCM (lightweight communications and marshalling) and python3 or by the fact that I have more than one python version (python 3 ...
0
votes
1answer
190 views

Installing scikit-learn with Python3, _superlu.cpython-34m.so: undefined symbol: dtrsm_

I am using ubuntu 14.04 and trying to install scikit-learn using python 3. An I run into the following error: In [4]: import sklearn produces: ImportError: ...
2
votes
2answers
121 views

Accidentally deleted /usr/lib/python3.4

I am on ubuntu 14.04 and I accidentally deleted python3.4 I am trying apt-get install python3.4 dpkg-reconfigure -a apt-get install -f But I am seeing the following errors dpkg: error processing ...
0
votes
0answers
132 views

Cant' properly install PyInstaller

Something went wrong while installing, but nonetheless I got message 'success' message: $ sudo pip3 install pyinstaller [sudo] password for user: Downloading/unpacking pyinstaller Downloading ...
0
votes
1answer
463 views

cannot install Pygame for Python 3.5.1

I am trying to use Kivy 1.8.0 with Python 3.5.1 on my Ubuntu 15.04 Kivy generates an Error 'Fatal Error : Window no available :abort..After some time I came to know it needs PyGame but I cannot figure ...
1
vote
0answers
343 views

Cannot create Python 3.5 virtualenv ImportError: No module named 'gdbm'

I'm experiencing the same issue as this individual but unfortunately switching back to Python 3.4 is not an option for me, I need to be running 3.5. I've broken command not found? Here is what ...
0
votes
1answer
22 views

Need help with depixel in Ubuntu 14.04

I'm trying to use a program called "depixel" in Ubuntu 14.04 which seems to be written in python3. I'm trying to use it so I can smooth out a pixel art image I made. Here is a link to the program. I ...
0
votes
1answer
176 views

Python3 + ipython + pylab on Ubuntu 14.04

I really want to switch to Python 3, but Ubuntu 14.04 makes it difficult to do so when using the IPython+pylab framework. My settings: I have installed most of the important packages using pip rather ...
0
votes
1answer
272 views

Jupyter installation

Everytime I try to install jupyter using pip3 install jupyter I get Command /usr/bin/python3.5 -c "import setuptools, ...
0
votes
0answers
79 views

glade import error as a gtk.glade [duplicate]

I am trying to port Python 2 to Python 3, but I am having trouble importing Glade: import gtk.glade ImportError: cannot import name glade, introspection typelib not found Any idea how to fix this? ...
0
votes
1answer
113 views

AttributeError: 'gi.repository.Gtk' object has no attribute 'gdk'

I am porting python 2 to python 3. When running application giving below error: AttributeError: 'gi.repository.Gtk' object has no attribute 'gdk' Any idea to fix this!! Thanks
0
votes
2answers
131 views

python3 is not supporting gtk module

I have Ubuntu 14.04 with python-2.7 and python-3 support. I am porting my python application from python-2.7 to python-3. I have example.py file which is importing below modules. and I ...
1
vote
1answer
266 views

Python is soft link to python2.7, how to change link to python 3 [duplicate]

on Ubuntu 14.04 has python-3, python-2.7 and python is linked to python-2.7 by default. I have to run python-3 code on ubuntu -14.04. Can I modify /usr/bin/python link to python3? Any idea? Thanks
1
vote
1answer
246 views

ImportError: No module named builtins

I am porting my python application from python 2 to python 3. As python-3 provides utility 2to3 which converts python-2 code to python-3. import builtins giving error as ImportError: No module named ...
0
votes
1answer
61 views

python application migration from python-2.6 to python-3

I'm migrating my python application from python-2.6 to python 3. My application has been developed on Ubuntu 10.04 system having python 2.6 support. Now i want to make it work on Ubuntu 14.04 with ...
0
votes
1answer
149 views

Unmet dependencies with python3

My server is currently running Ubuntu Server 15.10. Yesterday I tried installing Gnome GUI with the command sudo apt-get install xorg gnome-core gnome-system-tools gnome-app-install Now whenever I ...
1
vote
1answer
34 views

Python os.getlogin() vs BASH : who

I have formed 3 sessions with user accounts and I got no problem with Unix: who command but why I am unable to get correct response with python : getoslogin() function. Please find attached image for ...
0
votes
1answer
66 views

Software Center doesn't work after installing Python 3.4.3 [duplicate]

I have a problem with my Ubuntu 15.04, after installing Python 3.4.3 I couldn't run the Software Center and this message appears: File "/usr/bin/software-center", line 140 print time.time() ...
0
votes
1answer
235 views

Cannot import Zlib in Python 3.5 on Wily

After an upgrade to Wily, the new Python 3.5 package seems to be broken. I've tried doing a complete re-install of all the Python3 packages but it's not fixed the problem: ...
1
vote
1answer
48 views

OCR-Software sought

What is recommended commercially free usable OCR-Software? It should be accessible via Python or a Python library. And it should run under Linux. The one I came across myself is tesseract. Are there ...
1
vote
2answers
362 views

terminal won't launch after install python 3.5

After I installed Python 3.5 and ran the commands below, my terminal and many other programs won't launch any more. cd /usr/bin sudo rm python3 sudo ln -s python3.5 python3 How can I restore the ...
1
vote
1answer
47 views

Mathplot lib error on Python

I am trying to run a code on python which needs mathplotlib. By typing: python3 mouse_click.py gives the error ImportError: No module named 'matplotlib' For installing sudo apt-get install ...
4
votes
2answers
2k views

Unable to install python3-dev ubuntu

When I tried to install python3-dev using sudo apt-get install python3-dev I got the following message python3-dev : Depends: libpython3-dev (= 3.4.0-0ubuntu2) but it is not going to be installed ...
0
votes
1answer
91 views

How to solve problem in Python 3: No module named 'unix' [closed]

I installed pymouse using pip3. In python interpreter I tryed to do import of pymouse: import pymouse and got this: Traceback (most recent call last): File "<stdin>", line 1, in ...
3
votes
1answer
830 views

How to update to the latest numpy and scipy on Ubuntu 14.04LTS

On my Ubuntu 14.04LTS, for python3, I have >>> import numpy >>> import scipy >>> numpy.__version__ '1.8.2' >>> scipy.__version__ '0.13.3' I want to update ...
1
vote
1answer
171 views

What's up with python3.4 in the last updates to 14.04

Something strange happened to python3.4 in the last update cycle. It now appears in Synaptic Package Manager under "installed - local or obsolete" along with all its dependencies. Why is this? I ...
6
votes
1answer
775 views

pyvenv-3.4 disappeared in Ubuntu 14.04.3?

This is what I was doing to create a venv in Python 3.4 on Ubuntu 14.04.3 LTS until last week: » pyvenv-3.4 --without-pip venv I was doing that because of this. But since yesterday: » pyvenv-3.4 ...
2
votes
1answer
88 views

how to install python3 in wine?

How can we install python3 in wine for 32bit ubuntu ? Using winetricks python2.7 is possible but my app is written in python3 I don't have windows to test my application so I am going this hard ...
0
votes
1answer
23 views

Getting a setup script to install in the correct library destination. (Pmw 2.0.0)

Problem: I'd like to install Pmw 2.0.0 (project page here) so that I can use it with tkinter in python3. The setup script from the package detects which version of python you're using and installs ...
1
vote
0answers
17 views

How do you detect time since user has touched mouse or keyboard?

I'm writing a custom lockscreen/screensaver. I need to determine how long it's been since the user has touched the mouse or keyboard in Python.