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

0
votes
0answers
41 views

How to install python-dev - without using apt-get - on ubuntu 12?

The question is pretty descriptive as it's noted. I'm at a working environment that I have not much access over. I have wget and curl, but I can't find any resources.
0
votes
0answers
42 views

python pip broken on ubuntu

My pip is not working anymore. Here is the output for a sudo pip install pyjs : File "/usr/bin/pip", line 9, in <module> load_entry_point('pip==1.5.6', 'console_scripts', 'pip')() File ...
0
votes
0answers
22 views

Python Script Stopping My Computer From Shutting Down Properly

I have the following line in my /etc/rc.local file. python /home/my-sickbeard-install/SickBeard.py 2>&1 >/dev/null & Since using this line, when I shutdown my computer I get an error ...
0
votes
0answers
37 views

setup error in terminal: pythonpath is empty

I am trying to install the odoo package for development here I download the zip file, unpack and cd to the directory. It contains a setup.py file so I run. sudo setup/redhat/install.sh but ...
0
votes
0answers
53 views

Dependency issues after reinstalling python

For a project I am working on, I decided to reinstall the Python libraries and includes so I did sudo apt-get remove python3.4 then sudo apt-get install python3.4. After doing this I resolved my ...
0
votes
0answers
42 views

Adding a file to startup list using terminal

I have created a short bash script that I want to run on startup. Adding it to the startup list through the GUI is simple enough, but I need to do it through the command-line, as I plan to access the ...
0
votes
0answers
28 views

Returning a value using Tkinter

I would like the class to return the values 1 or 0 based on the the button selection. This code gives me an error. AttributeError: option_box instance has no attribute 'option' from Tkinter import ...
0
votes
0answers
17 views

How to run a script between login(entering password) and being logged on(showing desktop)?

Is there a way to execute a script when a specific user logs in; after they enter their password but before they are actually presented with the desktop? The script in question may lock the computer ...
0
votes
0answers
33 views

IDLE missing from Ubuntu

I just installed ubuntu into my 8G pendrive in a Lenovo laptop. With the terminal I could go to Python command line but it says there's 'no IDLE package.'
0
votes
0answers
27 views

Installing GEOS on ubuntu without root rights

I tried installing the GEOS API for Python and got the following error when I entered commands from GEOS dir: ./configure --enable-python make make install Giving the following error SWIG is ...
0
votes
0answers
96 views

How to uninstall uwsgi?

I've made a mess of my uwsgi installation, and I'm trying to clean it up and start over. I don't remember how I installed it, so I did both: $ sudo apt-get remove uwsgi and $ sudo pip uninstall ...
0
votes
0answers
56 views

apt-get problem after having removed Python2

I'm quite a newbee. I installed Python2 and Python3. I got bored of Python2 and decided to uninstall it, if i remember well by sudo apt-get remove python2 but now, everytime i use apt-get , i get ...
0
votes
0answers
35 views

Ubuntu gufw not loading

OS: Ubuntu 14.04 64bit Python2 Version 2.7.10 Python3 Version 3.4.3 I recently installed python from source and gufw stopped loading. When I try to launch it from terminal I get the following errors: ...
0
votes
0answers
30 views

.desktop-file two part exec line

I am trying to get bleachbit to run. Unfortunately I get the error, that it could not import gtk. It seems that this is due to me having python 2 & 3 installed. Starting bleachbit over the console ...
0
votes
0answers
123 views

Cant get Python library to install in ubuntu

I am trying to get the "Dirac" python library installed in ubuntu 15.04. Using synaptic i find it, and install it just fine, but when i try to "import dirac" in the python shell it says ImportError: ...
0
votes
0answers
246 views

Python PATH issue (Anaconda_Python, minpower and gurobi interfacing)?

I am using Ubuntu 14.04 LTS, installed Anaconda_python recently Installed minpower and gurobi. Extracted gurobi in home directory, added path as mentioned which is gedit ~/.bashrc export ...
0
votes
0answers
29 views

Create a jumpbox menu

I am looking to create a menu on a network jumpbox I have ~200 servers that I connect to and I do not want to have a CRT session for each of them. I want the menu to be searchable so I can hit "/" ...
0
votes
0answers
55 views

How to set a video as wallpaper in Ubuntu 14.04

I want to set a video as a wallpaper in ubuntu. For that I had written a python script which extracts images from the video and sets them as wallpaper one by one sequentially, and this continues until ...
0
votes
0answers
73 views

appindicator icons not shown in cinnamon

I had a small python script that used to work from the appindicator on unity. Here is what it looked like I now installed cinnamon. The same code looks like this now. How do I get the icons back? ...
0
votes
0answers
272 views

Error: Make sure you have a working sip on your PATH or use the --sip argument to explicitly specify a working sip

I want to install PyQt5 as mentioned on the official documentation. Here is the ouput of the command they asked to run: begueradj@begueradj-hacker:~/Bureau/PyQt-gpl-5.4.1# python configure.py ...
0
votes
0answers
63 views

Issues with pip and python on Ubuntu

I have Ubuntu 14.10 installed on my computer. It has Python 2.7.6 version installed by default. I manually did an upgrade and I it looks everything is OK. If I do a python --version I'm getting this ...
0
votes
0answers
63 views

How can I get PyTyle3 working on XFCE4?

I've installed PyTyle3 on Xubuntu 14.04 but none of the keybinds work when I run 'pytyle3' in terminal. I set tile_on_startup to True to see what happened, still no tiling. The only output that shows ...
0
votes
0answers
68 views

gem5 - Setting up x86 fs & running cache coherency code

I am new to gem5 and am trying to run the MI_example cache coherency protocol test code for x86 system in gem5. I was trying to run the ruby_fs.py script but I came to know it has be eliminated from ...
0
votes
0answers
41 views

Wireless Login Website CGI Python

Hey guys im trying to create a Web Page that will show me the SSID's I have around, in this page I create the option to select and join a server. The output from my wireless scan is generated with ...
0
votes
0answers
205 views

Error from install file: “No module named: _struct”

OK, so this all started trying to install OpenBazaar, but I've talked to their devs and it's my python that seems messed up somehow. I think I may have created/deleted a symbolic link somewhere like ...
0
votes
0answers
70 views

Working code examples of python-apt

i downloaded the source code of python-apt from here : https://github.com/excid3/python-apt In this source code, in directory doc/examples , some python codes are exist. I thought that i could run ...
0
votes
0answers
105 views

Can I import a Gtk2 & Gtk3 libraries together?

I think the answer is not... but I'll leave the question here :) Thanks in advance! FYI I tried in the upstream project without luck. Goal: I'm developing a Folder Color extension and I need to add a ...
0
votes
0answers
57 views

to install numpy i get the following error of unmet depedency

While installing the numpy of python I get the following error: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f ...
0
votes
0answers
95 views

pyopengl wont start

I installed pyopengl and the libraries are found, but it'ss not working with glutinit() . i know this i a GLUT problem but I'm not sure where linux keeps thier GL files (previously windows user). ...
0
votes
0answers
42 views

/usr/local/bin permissions and numpy

For installing the extensive Python package numpy, I get some failures due to permissions problems in /usr/local/bin/, where dependencies need to be installed. I could use sudo when running the ...
0
votes
0answers
64 views

CODE INVOLVING GPY in python

The code I am trying to run is given below here. It is not executing beyond line 114 ie. print k. After, that the printing of the model is not taking place and the errors being returned have been ...
0
votes
0answers
27 views

Geeknote crashes during show command

'mI trying to use geeknote that is console evernote client on my Ubuntu . I got following error while executing show command. ----------------- CONTENT ----------------- Traceback (most recent call ...
0
votes
0answers
30 views

Cannot find virtualenvwrapper after installing

I installed virtualenvwrapper like this: sudo pip install virtualenvwrapper I thought I would find it here: /usr/local/bin/virtualenvwrapper.sh but I did not. I am trying to configure it in ...
0
votes
0answers
61 views

Shared Anaconda python install on secure internal servers

I work on a small team that does a lot of work based around the Anaconda distribution of Python. We have a few internal "sandbox" Ubuntu 14.04 servers, for running heavy analytic tasks, etc. Instead ...
0
votes
0answers
18 views

How to generate 'alternative' videos for a given video

I'm looking for a fast (script, code, program) way of generating an alternative video for an input video. Alternatives are: added 10% gaussian noise flipped horizontally flipped vertically resized ...
0
votes
0answers
53 views

Installing Python Module with Boost

I am trying to install a computer vision program via python setup.py install but it returns /usr/bin/ld: cannot find -lboost_python-mt-py26 Now I run the following command dpkg -l ...
0
votes
0answers
127 views

Compiling vim with python support on ubuntu 14.04, no errors and no support

I'm trying to compile vim with support for YouCompleteMe as per the github guide [redacted because no reputation] and I'm having strange results. Vim compiles correctly as best I can tell and doesn't ...
0
votes
0answers
29 views

Is it possible to use the keyring with Ubuntu Server

Is it possible to use the keyring features with Ubuntu Server? I'm implementing the following Python package and it falls back to base64 encoded filesystem storage because there is no secure storage ...
0
votes
0answers
25 views

Always receive same Install Error

I'm trying to install visual python by running the following line on bash: sudo apt-get install python-visual Then I receive the following error: Errors were encountered while processing: ...
0
votes
0answers
176 views

error: Idle Subprocess didn't make a connection. Either Idle can't start a subprocess or personal firewall software is blocking the connection

When i run idle it returns the above stated error. It happened after I installed python 3.4. both 2.7 and 3.4 are giving this error.
0
votes
0answers
27 views

Error in Installing RevKit

@ubuntu:~$ sudo apt-get install build-essential cmake python-dev ipython python-qt4python-numpy Reading package lists...Done Building dependency tree Reading state information...Done Package ipython ...
0
votes
0answers
88 views

E: Package 'python-numpy' has no installation candidate

When running sudo apt-get install python-numpy I am getting this error : Reading package lists... Done Building dependency tree Reading state information... Done Package python-numpy is not ...
0
votes
0answers
103 views

Not able to install NLTK in ubutnu 14.04

I got following error while installing NLTK when i run this command sudo pip install -U nltk Exception: Traceback (most recent call last): File ...
0
votes
0answers
34 views

Lost Desktop Panels after removing Python

So basically, I performed the aptitude or remove command on python because the work that I deal with can only work with python 2.7.3 and I am using 2.7.8....and it got me into lots of other broken ...
0
votes
0answers
88 views

How to set IDLE3 to open .py files 14.04

Every page I've found thus far that answers this question has been unhelpful. In mimeinfo.cache I have the following line: text/x-python=idle-python3.4.desktop; And in ...
0
votes
0answers
40 views

detached screen sessions terminates after some time

I have a small netbook with xubuntu 14.04 installed. I am using it to log some data, using python scripts. I run those python scripts in detached screen sessions. But those detached screen sessions ...
0
votes
0answers
315 views

Ubuntu 14.04 Anaconda Install Help

I started using ubuntu not to long ago. I am trying to install Anaconda on my linux distribution. Am following the instructions below: http://docs.continuum.io/anaconda/install.html#linux-install ...
0
votes
0answers
31 views

How can a button link to an action in Glade involving a text box?

I am developing a Ubuntu program with Glade and I would like the program to interact with text input from the Text Entry widget when the button widget is pressed. How would I accomplish this? On a ...
0
votes
0answers
159 views

How do Install Python 32 bit on Ubuntu 64 bit using Pyenv

How can I install 32 bit version of Python 2.7 using Pyenv, on my 64 bit Ubuntu.
0
votes
0answers
85 views

how to use crontab to execute i2cset commands

I am trying to execute a bash script that displays the IP address on a lcd display , on startup .. I want it to execute so that the user knows the ip address as soon as the user starts the linux ...