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

learn more… | top users | synonyms

0
votes
1answer
15 views

how to use python 3's pip?

I want to switch my project from python 2.7 to python 3.4 and I want to use python3's virtualenvwrapper and pip. I have tried sudo apt-get install python3-pip, easy_install3 pip and python3 ...
1
vote
0answers
46 views

vim with python3 compatibility

So I followed this way What's the easiest way to get vim with python 3 support? which didn't work and this one http://www.xorpd.net/blog/vim_python3_install.html that did work. the thing is each ...
0
votes
0answers
47 views

How to install python3-pyqt5 on Ubuntu 12.04?

I was trying to install M64py (N64 emulator) in 12.04 and it showed me this. This installed well without much trouble in 14.04, but not working in 12.04. When i tried using sudo apt-get install ...
0
votes
0answers
14 views

Help writing an Upstart script

On my Ubuntu 14.04.2 server there's an installation of ownCloud with its News app. Now, for some reason or another, a couple of days ago the app stopped pulling new articles via owncloud cron.php. ...
0
votes
2answers
51 views

pip3 installs failing

I installed pip3 using apt-get install python3-pip however when I try to install any package I'm getting this type of error. xxxxx@xxx:~$ pip3 install requests Traceback (most recent call last): ...
0
votes
1answer
28 views

how to send desktop notification using python3.4?

I have a python3.4 script. I would like to send to the desktop at a moment a notification. How do I handle this in python? Can I use notify-send? I'm using Ubuntu 14.04 #in my script if something: ...
1
vote
0answers
62 views

iPython frontend and kernel versions are incompatible

I have just upgrade my OS from 14.10 to 15.04. Spyder(Python 3.4) with iPython was working perfectly in 14.10. However, after the upgrade, iPython console failed to start up. My python version I am ...
0
votes
1answer
29 views

index out of range? [closed]

# load parameters file yml = yaml.load(open(sys.argv[1])) # imports for pkg, functions in yml['imports'].iteritems(): stri = 'from ' + pkg + ' import ' + ','.join(functions) exec(stri) ...
0
votes
1answer
98 views

VIM error after installing python3 in ubuntu 15.04

I have a fresh installation of the latest ubuntu 15.04. I installed VIM using sudo apt-get install vim It was working fine. Later I installed python3 and pip3. sudo apt-get install python3 ...
-1
votes
0answers
12 views

What is a good sql manager in ubuntu?

i'm planning to do some python programs that add, edit and delete data from an sqlite3 database, and i would like to know about a database manager in Ubuntu in case i happen to need it.
0
votes
0answers
18 views

Ubuntu-sdk Kits, mkspec and dbus errors

This is a double part issue : When I launch the ubuntu sdk I get the following message in the General Messages pane: Traceback (most recent call last): File ...
2
votes
1answer
29 views

How to install PyQt for python3 in ubunt 14.10?

I found some tutorials online for earlier versions of Ubuntu but they didn't seem to work on Ubuntu 14.10, either that or I was doing it the wrong way, I want to use QtDesigner to design a GUI, use ...
2
votes
1answer
35 views

Missing REQUIRED dependency: python3-dbus [how to install python dependencies]

I am trying to update HPLIP 3.14.3 to 3.15 but is not available through the software centre thus I am installing it from here. However I am having difficulties in the automatic installation due to ...
1
vote
0answers
32 views

Ubuntu 14.04 - Python 3.4 UnicodeDecodeError

Recently I've made an update, and I've started getting these errores in some programs (in 2 indicators for Unity, specifically): File ...
0
votes
1answer
21 views

How update pygobject without breaking any dependency?

I want update the Pygobject of my system from the official repository. The last version on official repository is 3.16.1, but in the official package for Ubuntu is 3.12.0. I tried uninstall this ...
0
votes
1answer
33 views

Gtk Drawing Area not always rendering when inside a scrolled window

I have a Drawing Area inside a Viewport inside a Scrolled Window. The image renders fine when the Drawing Area fits inside the Scrolled Window. But when i request a size larger than the Scrolled ...
0
votes
1answer
188 views

Python's ImportError: No module named repository

I had three versions of Python installed; 2.7, 3.2 and 3.4 When I had just 2.7 and 3.2, everything was fine. But after installing 3.4 manually from source, things began to break down. 3.4 did not have ...
0
votes
0answers
68 views

sudo apt-get install python3-pip not working

I installed pip3 using the command sudo apt-get install python3-pip After installing, I checked the version using pip3 --version However, it gives an error bash: /usr/local/bin/pip3: No such ...
1
vote
1answer
29 views

How to transform the unity launcher into a led chaser?

To celebrate April Fools' Day, I'd like to have a super notification mechanism. Would it be possible to transform my unity launcher into a led chaser? Like this:
2
votes
1answer
49 views

pip not included in python3 [duplicate]

I have 14.04. I read on the pip readthedocs that pip is included by default with python 3, and when I installed python 3 on Windows it was there. But I'm getting pip command not found on Ubuntu. I ...
0
votes
0answers
67 views

How to deploy python3+django 1.7+uwsgi+nginx on a fresh ubuntu server 14.04 64bit

I am a newbie. I find there is few detailed guide for this. So I come here for help. related information: django project path: /root/uxn/exam My site ip: 120.44.244.38
0
votes
2answers
27 views

How can I use the site-package of python?

I have Ubuntu 14.04 LTS. I have got some site-packages for python via pip, but they work for python2.7. how can I use these site-packages in python3.4 IDLE?
2
votes
0answers
86 views

Huge Python Problem

Preamble: I tried looking up a solution and nothing worked for me. First, when I run the following command $ sudo python --version Python 2.7.5+ Similarly for python2 and 3 $ sudo python2 ...
-1
votes
1answer
70 views

python3 - ImportError: No module named '_chipset'

I tried to run python3 script as follows : $python3 quick_dump.py ...but every time I get output as : ImportError: No module named '_chipset' I just watched the quick_dump.py script imports ...
0
votes
1answer
21 views

Two IDLEs for Python 3, help me get rid of one

Without doing an existence check, I used the Software Center to install IDLE to do scripts in Python 3. Now I have two slightly different IDLEs, the difference between which is not obvious to this ...
2
votes
2answers
285 views

How to install pygame and livewires in ubuntu 14.04

This thread is not only about pygame but also about livewires. I followed the first answer on this link but when i write this command : sudo pip install pygame, I get an error saying: Could not find ...
1
vote
1answer
143 views

How to use Selenium with aliased Python 3

I have recently moved on to Ubuntu 14.04, which has both Python 2 (2.7.6) and Python 3(3.4.0) installed by default. For writing test scripts, I have Selenium installed. If I use the aliasing method ...
3
votes
2answers
60 views

Python3 cannot import gi

I was attempting to run an indicator for pushbullet without avail. I attempted to run through the terminal when I noticed python3 can not import gi bin > python3 pushbullet-indicator Traceback ...
1
vote
1answer
197 views

How to install numpy, scipy, and other packages from source for Python3 in Ubuntu 14.04.2 LTS

I just recently installed Ubuntu 14.04.2 LTS alongside Windows-7 (64-bit). I wanted to install the latest versions of numpy, scipy, matplotlib, and other packages for Python3. I saw the we can use ...
0
votes
1answer
26 views

Is it safe to change the system python3 to point to python3.4 on Ubuntu 12.04?

I've installed python3.4 from the deadsnakes repo, and I'd like to make it my default python3 (which is currently python3.2). Is it safe to simply change the python3 link? sudo ln -s ...
1
vote
0answers
61 views

If you install anaconda, how can you inactivate the anaconda environment?

I'm currently using Anaconda to get access to a "standard" set of packages on nearly any platform. The issue is, on the linux side of the house, my current approach is to tell the installer to ...
0
votes
0answers
40 views

apt-get fails to do anything

After upgrading Ubuntu from Ubuntu-12.04-adm64 to Ubuntu 14.04.1 LTS via ssh (on VDS) For most of commands apt-get returns something like this: Setting up python3-minimal (3.4.0-0ubuntu2) ... ...
4
votes
1answer
919 views

What's the easiest way to get vim with python 3 support?

I have ubuntu 14.04 installed and vim in its repos is compiled without python 3 support. Because of that python-mode plugin can't work with python 3 code. What's the easiest way to get vim with python ...
0
votes
1answer
212 views

Unable to install/unistall because of python3 broken package

Unable to install or uninstall any package through both terminal and software center. Reading package lists... Done Building dependency tree Reading state information... Done You might want to ...
0
votes
3answers
2k views

Import error :No module named MYSQLdb

I have a problem so a connection a python to database local of MySQLdb. Message of error is: import MYSQL ImportError:No module named MYSQLdb. This is a script in python 3.4 to connection my ...
1
vote
1answer
149 views

How to fix unmet python3 dependencies [closed]

I was trying to get mysql working on my computer so I tried to install the necessary packages with: sudo apt-get install libmysqlclient-dev And ran into the errors: E: Failed to fetch ...
1
vote
1answer
458 views

Plotting with Matplotlib in Python 3 pylab: Tkinter and Qt FontManager errors

I'm trying to use pylab (i.e., $ ipython3 --pylab) in Python 3 on Ubuntu 14.04. I'm running into the same error regardless of whether I use the Tkinter or Qt4 backends. AttributeError: 'FontManager' ...
1
vote
1answer
112 views

Removed python2.7, python2 python3, python3.4 from /usr/bin/

I was tinkering with my computer yesterday and, unaware of the importance of /usr/bin/, promptly removed all of the python files from there, and then proceeded to get rid of all the packages that ...
0
votes
1answer
551 views

How to install sympy for Python 3.4

I installed the Python scipy stack using the following command taken from here sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy ...
1
vote
2answers
1k views

How to install pyzmq for iPython Notebook in a Python 3 virtual environment?

I wanted to use iPython Notebook in Python 3 on Ubuntu 14.04. Because I have both Python 2.7 and Python 3.4 installed on my system--and for other implementation-specific reasons--I decided to use a ...
1
vote
1answer
3k views

how to update python version on ubuntu 14.10

I'm trying to figure out what version of python i have installed, and also upgrade it to the latest. When I go to a command prompt and check, it looks like I have an old version of python installed. ...
3
votes
1answer
428 views

AssertionError using Apache2 and libapache2-mod-wsgi-py3 on Ubuntu 14.04 (Python 3.4)

On Ubuntu 14.04, using Apache2 with package libapache2-mod-wsgi-py3 installed gives errors in /var/log/apache2/error.log The way to reproduce is straightforward : sudo apt-get install apache2 sudo ...
1
vote
0answers
68 views

matplotlib xkcd with utf-8 label

In python3 / matplotlib, I'd like a plot with a label: plt.plot(np.sin(np.linspace(1,10)), label='fête') plt.legend(loc='upper left') plt.show() Works great. Now let's try with xkcd mode: ...
1
vote
0answers
26 views

How to get pygtk working on Ubnutu14 with Python3 [duplicate]

I'm trying to run a simple helloworld.py example for pygtk on Ubuntu 14, this is my Ubuntu version info: This is my ubuntu version: Distributor ID: Ubuntu Description: Ubuntu 14.10 Release: ...
0
votes
0answers
15 views

Reliance Auto Login Help

i want to run this script https://github.com/pteek/reliance-auto-login-script but i get this error in lubuntu " Traceback (most recent call last): File "./reliance-login.py", line 27, in ...
0
votes
1answer
136 views

Dropbox and Ubuntu Software Center doesn't work after settinf python3.4 as default

In Ubuntu 14.04, I've set python3.4 as the default python version. After that, Dropbox doesn't launch at startup and the Ubuntu Software Center cannot open up anymore. Running them from the command ...
0
votes
0answers
70 views

How to activate external tools in Gedit? - Ubuntu 14.10

My external tools in Gedit doesn't work . I get this error when I check it: An error occurred : plugin loader "python3" was not found . I've tried these solutions but they haven't worked: Link ...
0
votes
1answer
33 views

How do you create an additional interpreter?

Short and sweet version: I figured breaking it down into steps would make it easier. I'm building a website I hate SQL. It makes no sense to me, for a programmer to have to learn an additional ...
0
votes
0answers
45 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
60 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. ... ...