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
0answers
14 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
20 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
51 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
38 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
14 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
79 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 ...
0
votes
1answer
53 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
40 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
72 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
22 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
36 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
23 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) ... ...
3
votes
1answer
189 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
118 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
392 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
102 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
256 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
88 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
220 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 ...
0
votes
1answer
509 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 ...
0
votes
1answer
819 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. ...
2
votes
1answer
218 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
40 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
13 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
104 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
51 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
32 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
43 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
50 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
0answers
45 views

How to setup libapache2-mod-wsgi-py3?

I cannot figure out how to setup libapache2-mod-wsgi-py3 properly. I have Apache up and running, and I have mod-wsgi installed and running, but Apache doesn't even try to run the Python script file. ...
0
votes
1answer
177 views

Install and use Hovercraft on Ubuntu 14.10

I am trying to use hovercraft on my Ubuntu 14.10 laptop. This is a python script, and I'm not that familiar with python... So here is what I've done: first, I installed hovercraft using sudo pip ...
1
vote
1answer
131 views

14.04 what is the difference between /usr/bin/python3 /usr/bin/python3.4

In /usr/bin there is a python3 and python3.4. What is the difference? If I am setting up virtualenv for 3.4 do I need to point it to the 3.4 file, or does the python3 act like a meta package?
0
votes
0answers
96 views

Package system is broken - updating Python

First I wrote the following command: sudo apt-get update And when that was completed, I ran this command: sudo apt-get -f install And I got this error from the terminal: dpkg: error processing ...
1
vote
1answer
1k views

How to install scipy with pip3?

I am trying to install scipy for python3.x and I am trying to install it with pip3 sudo pip3 install scipy But I have the following errors: Downloading/unpacking scipy Running setup.py ...
0
votes
1answer
292 views

Apt-get commands are failing with libpython3.3 unmet dependencies

OS: Ubuntu 14.04, Arch: amd_x64. Apt-get commands: install, remove and purge fails with the same error below. However commands like update and clean works fine. Not sure how to resolve the issue. ...
3
votes
1answer
974 views

Cannot install scikit-learn in Python 3.4 in Ubuntu 14.04

I am trying to get scikit-learn to Python 3.4 in Ubuntu 14.04. When a run the command: sudo pip3 install -U scikit-learn I get scikit-learn loaded into Python 2.7. I have also tried to use: sudo ...
0
votes
0answers
22 views

What's the difference between python3.4 and python3.4m? [duplicate]

As the subject line. What is the difference of these two executables?
1
vote
1answer
124 views

PySide-Tools in Python3 - Ubuntu 14.04

I'm working on a UI for a Python Programme I have and have been using Pyside-UIC to convert QTDesigner docs into python files on a previously windows 8 computer. That computer got corrupted so I've ...
0
votes
0answers
216 views

Problem compiling pygame for Python 3.4

I was trying to compile pygame from source on Ubuntu 14.04 (64 bit) and issued the following command as given in the Wiki: apt-get install mercurial python3-dev python3-numpy ffmpeg ...
2
votes
2answers
2k views

pycharm can't find python

When I try to run pycharm it shows this error: ERROR: Cannot start PyCharm No JDK found. Please validate either PYCHARM_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK ...
0
votes
0answers
101 views

Installing pybluez for python 3 in Ubuntu Touch

I'm having problems with pybluez in ubuntu touch. $pip3 install pybluez exits with an error: error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 the complete log is here: ...
1
vote
0answers
186 views

Backend for python3 module matplotlib

I'm trying to use python3 to plot graphs. The only backend for matplotlib that seems to work is tkAgg (Tkinter), however this looks like it has been designed in the Stone Age. So I was trying to find ...
0
votes
1answer
264 views

Ubuntu Freezes while using terminal and firefox

Hi I am extremely new to programming. I downloaded Ubuntu 14.0 and it keeps freezing while I am using firefox and while using the terminal. I would really like for someone to give me some insight into ...
4
votes
1answer
387 views

pyvenv still broken on 14.04.1?

meow@te:~# pyvenv-3.4 v Error: Command '['/meow/v/bin/python3.4', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1 I thought it was fixed. I've done update and ...
1
vote
1answer
373 views

Upgrade scipy to the latest version

I am running Ubuntu 14.04. I have scipy 0.13.3 and I would like to upgrade it . I have tried: sudo pip3 install scipy --upgrade but I receive this error: creating ...
0
votes
2answers
395 views

Upgrading to Python 3.4 from 3.2

I have Ubuntu 12.04 and Python 3.2 installed. When I use sudo apt-get install python3, it says that my python is 'already the newest version'. However, 3.4 is the latest. How would I upgrade my ...
0
votes
1answer
224 views

How can I tidy up the mess that is my Python installations?

I had a Ubuntu 12.04 system which I eventually managed to get Python 2.7 and Python 3.2 working together (with pip and pip3) and Python 3.3 (with pip3.3) for good measure. I've recently upgraded to ...
3
votes
1answer
2k views

Beautiful Soup 4 not working with Python 3.4.0

I am using Ubuntu 14.04 64 bit Operating System . I installed Beautiful Soup 4 using this command : sudo apt-get install python-bs4 With Python 2.7.6 , I had no difficulty importing the bs4 ...
0
votes
1answer
52 views

Python3 - Using the bsdiff module

How do I use the bsdiff module with Python? While I can use shell scripts I would prefer to have a cross-platform solution. I have downloaded bsdiff4-1.1.4 and attempt to run setup.py as follows: ...