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

learn more… | top users | synonyms

0
votes
0answers
13 views

Facing problem while running python3 tkinter while python 2.7.11+ exists on my ubuntu

I am new in python, trying to run a very simple python GUI program just for testing i get the following error $ python3 Desktop.py Traceback (most recent call last): File "Desktop.py", line 1, in ...
-1
votes
0answers
28 views

Python Beginner [on hold]

I'm trying to use python, and after some week of video tutorial and books I decided to write a piece of code. The program itself it's childish, basically what it does is to give you the real name of a ...
0
votes
0answers
23 views

IPython3 launch error

Simply, I typed $ ipython3 in a bash shell, only to get Traceback (most recent call last): File "/usr/local/bin/ipython3", line 9, in <module> load_entry_point('ipython==1.2.1', ...
-1
votes
0answers
13 views

Python,Gtk3: How to make the Progress bar pulsing while other stuffs are running

Based on Classes, i have window which contain a button and progressbar, whenever the button is clicked there two things should happen : 1 - should entried value from dialog pass to class ABCD ...
-3
votes
0answers
31 views

dpkg: unrecoverable fatal error [duplicate]

Trying to run Software Update and get message Package Installation Failed. Then in terminal I ran: Update && Upgrade sudo apt-get update && sudo apt-get upgrade Got the following ...
0
votes
1answer
14 views

Cannot reinstall python3 on ubuntu 14.04

I think that I accidentally broke Python3 and was unable to do anything. I read somewhere that the solution was to remove python3 and reinstall it, but I got yet another problem: I was able to remove ...
0
votes
0answers
12 views

terminator not starting when default python is python3.4 but works if it is python2.7

On Ubuntu 15.10 when changing the symlink /usr/bin/python from python2.7 to python3.4 then terminator won t start anymore. Do you know what the problem could be and how to fix it? Thank you :)
0
votes
2answers
56 views

Can't upgrade pip for python3 [duplicate]

I have pip installed for python3: $ pip3 -V pip 1.5.4 from /usr/lib/python3/dist-packages (python 3.4) If I try to upgrade to Version 8, this is what I get: $ sudo pip3 install --upgrade pip ...
-1
votes
0answers
30 views

Python on Ubntu

I m using the below version of ubuntu. 3.13.0-77-generic #121-Ubuntu I want to learn python and I am completely new to python. Rather than downloading the python bundle I directly moved to python ...
0
votes
1answer
15 views

Python 3 AppIndicator3: What is the dependency?

I'm packaging an app I wrote in Python 3 which uses: from gi.repository import AppIndicator3 As I'm listing the dependencies, I have been unable to determine what package contains AppIndicator3. I ...
0
votes
0answers
20 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 ...
-1
votes
0answers
71 views

MAAS 1.9 on UBUNTU 16.04 , Main Problem Python Version

UBUNTU 16.04 I noticed MAAS 2.0.0 Beta4 not support juju until MAAS 2.0.0 Beta 7. Until then I need: 1) Install MAAS 1.9 on my machine I can find MAAS 1.9 related package here: ...
-2
votes
0answers
34 views

how do i use pyton 2 and 3 in jupyter?

I installed today python 3.5.1 and jupyter but i can only use python 2 in jupyter notebook?. I just started with linux kali before this i used only windows and wanted to learn linux and ...
0
votes
2answers
33 views

Eclipse, for python project not jumping to function definition

In Eclipse, I created a Python project properly by installing all the plug-ins. But now I'm unable to jump to respective module (source file) and method (function definition). Please suggest me ...
1
vote
0answers
33 views

Biogeme fails to install and run on Ubuntu 16.04

I wanted to ask about the installation of one of most important open source freeware for discrete choice modeling data estimation: Biogeme. I am trying to install it on my machine (Thinkpad x201, ...
4
votes
1answer
287 views

Install TensorFlow with Python3 on Ubuntu 16.04

When I try to install tensorflow package with pip3 on Ubuntu 16.04 I obtained this error message: The directory '/home/federico/.cache/pip/http' or its parent directory is not owned by the current ...
1
vote
1answer
34 views

missing package CommandNotFound

I recently updated from 15.10 to 16.04 and now my python3 seems to be messed up. Before the upgrade I had python3.4 and python3.5.1(manually) installed. The upgrade removed python3.4 and replaced it ...
0
votes
0answers
37 views

rhythmbox crashes due “Failed to import the site module”

I updated my machine from 15.10 to 16.04 a few days ago. Now I have to face this strange Issue: rhythmbox tells me, that it Failed to import the site module and crashes, because python3.5 is missing ...
0
votes
1answer
63 views

how to install numpy for python3

I need help with installing numpy to Ubuntu 16.04. after: $ pip3 install numpy come up always: PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/numpy' What to ...
0
votes
0answers
15 views

Why is the network unreachable whenever I don't use avahi-autoipd

I'm building a mobile mesh server and whenever I attempt to send broadcasts (shortest path determination), in python3, it fails. I run the following shell commands on both devices (currently ...
1
vote
2answers
973 views

Ubuntu 16.04 VIM without python support!

Although Ubuntu 16.04 release notes mention that: The default VIM package has been built against python3 instead of python2. Yet after I installed vim with the following command: sudo apt-get ...
2
votes
1answer
25 views

How to install a simle python script [closed]

How do I 'install' a python script so I can run it when ever I want? My script looks like: #/usr/bin/env python import os; while True: comm = input(); os.system(comm); But when i try to ...
0
votes
1answer
35 views

Want to run a .py program as in terminal at start up

I want to run a .py program as my computer starts up . I went to startup application and selected that .py program to run. But that did not work , terminal did not open. What to do?
5
votes
2answers
1k views

No python intepreter in vim for Ubuntu 16.04

I've recently installed Ubuntu 16.04 and in the Release Notes it says VIM defaults to python3 On my fresh install of Ubuntu 16.04 I installed vim with the following commands $ python3 -V Python ...
1
vote
2answers
90 views

ANACONDA - I have to type export PATH=~/anaconda3/bin:“$PATH” everytime I rerun the terminal

Whenever I open a terminal, I have to write export PATH=~/anaconda3/bin:$PATH to use any feature of anaconda I want a persistent path.
1
vote
2answers
39 views

Compiling python3 code in terminal with interpreter [closed]

When I compile my code simply with the command python3 name.py, it's being run, but then the whole story ends and I can't do anything with the compiled data. I want to somehow compile my program to ...
0
votes
0answers
42 views

Python3-venv not installed ubuntu 14.04

Fresh install of ubuntu gnome 14.04, followed by dist-upgrade one of the first things I tried to do was create virtual environment for python python3 -m venv flask gave me The virtual ...
0
votes
0answers
51 views

How to make python script executable upon double-click?

I have tried ticking the execute as application box in properties but still doesn't execute. I want the program to run when I double-click instead of opening the code in gedit. Any suggestions?
0
votes
0answers
31 views

How do I uninstall python2.7 on 15.10?

I have 2 versions of python installed on my computer, not using pythonbrew but as 2 seperate packages (2.7 as python and 3.5 as python3), I'd like to remove 2.7 and reinstall 3.5 because this causes ...
0
votes
0answers
62 views

Buildozer asking for AIDL install

I am having Ubuntu 15.10 with Python 3.5 libraries installed. Pycharm-Community as my IDE and kivy installed. I am trying to build a simple project for my android application, everything goes fine, ...
1
vote
2answers
33 views

I removed Python 3.4 physically, is there anything I can do to avoid having to reinstall system?

Fristends, So while trying to install a python package I made a horrible mistake and removed Python 3.4 (if you are interested in how did I come up with it below is the link to my question on ...
0
votes
1answer
48 views

Problem installing python3-scipy

I've got ubuntu 15.10 and started a transition to python3. So I installed python3, python3-numpy and python3-matplotlib (and maybe a few more), but when I install python3-scipy, I get the following ...
0
votes
0answers
43 views

Install uwsgi via pip

I am running on 15.10 and I have tried the following command: pip install uwsgi but it complains that it is unable to find iconv during linking gcc -pthread -o ...
0
votes
0answers
31 views

How to create a portable Python?

Is it possible to install Python (the Python interpreter together with some of the dependencies it needs to run) into a folder on the users home directory or a usb drive and move this installation ...
-1
votes
1answer
33 views

how to import pymongo in python3 without virtualenv?

I'm new in python and I am starting a new project with mongodb and python3, but when I import pymongo in my script it give me the following error: ImportError: No module named 'pymongo' Here is my ...
0
votes
1answer
17 views

QtWidget couldnt be configured for installation after running configure.py of PyQt5.5.1 source

I am triyng to install PyQt5 on xubuntu 14.04 but after the procedure completes successfully there is no QWidgets.so file in directory "/usr/lib/python3/dist-packages/PyQt5/" as well as other Qt*.so ...
0
votes
3answers
209 views

No module named 'numpy'

Actually I am shifting from Windows to Linux. Using pycharm on Windows I have a python script that requires numpy and matplotlib to run, so I installed them on my Linux system using sudo apt-get ...
0
votes
1answer
26 views

How can I save to an external HD, using IDLE3?

I'm using the IDLE3 GUI on Ubuntu 14.04 Trusty, and I was wondering if anybody knows of a way to save to a different partition/external drive (from what Ubuntu is installed on) from the IDLE GUI? The ...
0
votes
2answers
28 views

Why am I getting notices about File Manager needing to restart?

For a week now I have been getting this notice that File Manger needs to restart with a restart button and cancel button. When I press the restart button nothing happens, that I can tell. The notice ...
3
votes
1answer
201 views

How do I switch back to python2 after Anaconda set python3 as the default?

Recently, I installed Anaconda3-2.5.0-Linux-x86_64.sh on my 15.04 and ended up with this! :~$ python --version Python 3.5.1 :: Anaconda 2.5.0 (64-bit) :~$ python2 --version Python 2.7.9 :~$ python3 ...
1
vote
1answer
26 views

Should I install these packages for python3?

I'm learning python3 now and I want to ask a question about it. My Ubuntu has Python2 and Python3 already. I'm just learning python3. Should I install these packages? Packages: sudo apt-get ...
3
votes
2answers
397 views

Do “python3” and “python” use different path variables?

The command python opens a Python 2.7.6 environment. If I want to interpret a Python 3 script, I need to rewrite the command to python3. I've just installed the numpy package. In order to test the ...
0
votes
0answers
96 views

Python Gtk-ERROR **: GTK+ 2.x symbols detected

I was trying to run my first OpenCV program in python on Ubuntu 14.04. import cv2 import numpy as np import matplotlib.pyplot as plt img =cv2.imread('share.jpg',0) ...
0
votes
1answer
60 views

14.04.2 pip python3 behind proxy doesn't work

I am behind a corporate proxy and I have both python2 and python3 installed with separate pip files (pip for python2 and pip3 for python3). With pip on python2 I can install and update even with sudo. ...
1
vote
0answers
112 views

How to “reset” python installation in ubuntu 14.04?

after installing several packages with the package manager, some others using eggs, some others using pip, for 2 versions of python, with some packages that in the meantime changed name (iPython --> ...
1
vote
0answers
148 views

ImportError: Gtk* backend requires pygtk to be installed (python3.4)?

l stuck with this error please help File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_gtk.py", line 16, in <module> raise ImportError("Gtk* backend requires pygtk to be ...
0
votes
1answer
1k views

how to install cPickle on pyhton3.4?

Please help : l tried sudo apt-get install cPickle and python3.4-cPickle it doesn't work. Thanks
0
votes
1answer
47 views

Issues with installing packages : theano , sklearn?

How to install scipy, theano, sklearn for python3.4? l've tried: sudo apt-get install python3.4-theano but it failed.
1
vote
1answer
107 views

Install libdnet Python wrapper for ScaPy

How to install the Python (3) wrapper for libdnet on Ubuntu 14.04.4 LTS? I need is as it is a pre-requisite to ScaPy, however the Python 3.x wrapper does not seem to exist yet.
0
votes
0answers
15 views

Issue with the package idle-python3.4

When I run my source code directly from my terminal it's works without a problem whereas when I run it under idle environment: ImportError: No module named 'scipy' ImportError: No module named ...