0
votes
0answers
7 views

Creating virtual host with Apache2

I'm trying to get Apache2 to host my Django project located in /var/www/tbg/. I get an Internal Server Error (500). I have already installed libapache2-mod-wsgi and My files are as follows: ...
0
votes
0answers
8 views

import .cer file into ubuntu for curl

I am trying to use fiddler to act as a ssl proxy for debugging. I am trying to install fiddlers root certificate. I am mainly doing it so I can debug my python program. Using python I get a cert ...
0
votes
0answers
70 views

PyQt5 - python-3.2 : no module available + pyuic5 cannot find PyQt5.uic module

Trying to install PyQt5, the ''make install'' command ended by issuing a warning related to pyuic5 file format (see bellow) the python path is set as ...
0
votes
1answer
17 views

Clear remove of additional Python from usr/local/ on Ubuntu

I need to use a machine at work (12.04 Ubuntu box) that has two versions of Python installed: the default 2.7.3 one from the /usr/bin and a 2.7.5 one that was installed into usr/local/bin. The ...
0
votes
0answers
17 views

How do I reset my PYTHONPATH?

Somehow my PYTHONPATH environment variable got emptied, and now I can't import some downloaded modules. I've tried running the following command to reinstall all Python packages, but it didn't set ...
1
vote
1answer
39 views

GPU access to a newly created user in Linux (Ubuntu)

I have a desktop computer with an Nvidia GPU, and the Python machine learning library Theano installed on it. Theano uses the GPU for carrying out certain computations. When I start IPython and ...
0
votes
0answers
27 views

Run Python program to use all available memory in a LAN cluster

I have access to 20 LAN connected computers each running Ubuntu 12.04 lts(SSH installed and password less authentication enabled). Each of the computer has 2 GB RAM. I am running a python program that ...
0
votes
0answers
24 views

Recompiling a python program doesn't produce executable

Today I installed Mathics from their github repository: $ git clone https://github.com/poeschko/Mathics.git $ sudo python setup.py install And then I decided to modify the source a little bit and ...
0
votes
1answer
102 views

Django with MongoEngine and/or MongoDB

OK, I'm looking to get into mongodb big-time, but I need installation assistance. Here's the stack I'd like to use: Linux 12.04 LTS (installed, configured, secured) Python 2.7 Virtualenv as a ...
0
votes
0answers
94 views

pip: which pip.conf will be used?

Commonly used to install python packages sudo pip install <package> To use a different repo, I edited ~/.pip/pip.conf [global] index-url = http://<hostname>/simple That works on my ...
0
votes
1answer
44 views

Ubuntu KVM failed to set up

I'm trying to set up a VM with KVM on my Ubuntu 12.04 machine (64 bit). I followed the installation instructions to the letter at http://www.howtoforge.com/virtualization-with-kvm-on-ubuntu-12.04-lts ...
1
vote
0answers
268 views

Half-installed python packages and circular dependency

Something went wrong while updating to ubuntu 12.04 to 12.10: root@ely:/sys/bus/usb/devices# dpkg -l | grep ^i[HUFW] iU libpython2.7 2.7.3-0ubuntu3.4 ...
1
vote
1answer
234 views

After exiting from ssh connection, process is killed/times out

I'm running a python script in the background on an Ubuntu ssh server. nohup python x.py & After a certain amount of time, maybe half an hour, the python script stops running when I come back into ...
0
votes
1answer
54 views

Listing packages in a repositiory?

I'm working on Ubuntu 12.04 Server. I want to install OpenStack, so I enabled the Cloud Archive repo: sudo add-apt-repository cloud-archive:havana After the subsequent update and upgrade, I noticed ...
2
votes
1answer
315 views

Nginx - How to publish multiple Python web apps using virtual directories and access them via IP and virtual directory (http://HOST_IP/APP_DIRECTORY)?

I am a IIS - Internet Information Services (Microsoft Windows) user and I would like to migrate to Nginx. How can I publish multiple web applications in Python using virtual directories (IIS style) ...
0
votes
3answers
304 views

Changing Python version in Xubuntu

I am in the processing learning python. I was previously learning in Python. I used version 3. Today, I installed Xubuntu 13.04. I am a very new Xubuntu user. The os had two versions pre installed. ...
0
votes
0answers
90 views

Installing d2to1 on Ubuntu?

I'm trying to install a specific package group (the stsci packages) on Python on my Ubuntu 12.04 32-bit machine. I'm kind of new to this whole deal, so I'm really confused. I followed the instructions ...
8
votes
1answer
1k views

How to set up a own Chrome sync server?

I'm trying to set up a sync server for Chromium/Chrome, but i'm totally failed. I also couldn't find a How-To (like this here for Firefox) for that. I only found this question from '10 on superuser ...
0
votes
1answer
71 views

why python vim module gives different result on ms windows and ubuntu?

On windows xp and vim 7.3.1105 (Yongwei's build): :tabnew :py import vim :py print(type(vim.current.buffer.name)) <type 'str'> -- THIS on ubuntu and vim 7.3.1020 (my own build): :tabnew :py ...
0
votes
4answers
3k views

setting default python version in ubuntu

Platform: Ubuntu 12.10 Python version installed: 2.7.3 (with ubuntu installation) output of command (which python): usr/bin/python recently i installed python2.6.6 (as some applications don't work ...
3
votes
1answer
5k views

How to use Latest Python 2.7.x “The Right Way” on Ubuntu 12.04 LTS?

My project needs to stay current on Python releases, but 12.04LTS is currently stuck on 2.7.3, even though 2.7.5 is out now. Is there a way I can stay more current without manually compiling? We're ...
4
votes
1answer
877 views

%paste magic function on ipython3

I'm using ipython3 which I installed on Ubuntu with apt-get. I can't use he paste magic function, it complains about missing Tkinter. But I do have Tkinter and the same thing works fine on ipython ...
0
votes
1answer
69 views

installing GD and gdmodule python ubuntu

I am having trouble installing the gd library and gdmodule for python firstly I have done sudo apt-get install mercurial sudo apt-get install libgd2-xpm-dev then trying to install the gd module using ...
1
vote
1answer
288 views

make python3.3 installation the default installation

I've just installed manually python3.3 sources on the directory : /opt/python3.3 on my laptop which contains python2.6 as default installation. But now i need to make the python3.3 as the default one ...
0
votes
1answer
2k views

How can I make script globally executable in Ubuntu?

I have a bash script which I would to like to execute from everywhere (like other Linux basic commands, for example ls). I tried to follow this tutorial but it doesn't work, I always get command not ...
0
votes
0answers
2k views

How do I install pip, virtualenv, python 2.6, and python 2.7 on Ubuntu 12.04?

I thought this would be simple, but I think I'm missing something easy. I have python 2.7 installed in Ubuntu 12.04 via apt. I grabbed the source for python 2.6 and compiled it. I now have the ...
1
vote
2answers
1k views

How to run a python script from its icon on Ubuntu?

I wrote a simple python script (with GUI in wx) and I would like to run it on Ubuntu, simply by just double-click it. I tried chmod ugoa+x myScript.py my script has the hash-bang line at the ...
0
votes
0answers
78 views

Install old python and wxpython version in linux

I have been trying to use an app that is dependent on Python 2.5 for a while. It's no problem installing it in Ubuntu (which I use) but to then get wxpython is harder. I could'nt compile it for some ...
1
vote
1answer
492 views

Installing .egg file for NLTK

I want to install NLTK on Ubuntu, and I'm following the instructions for UNIX here: http://nltk.org/install.html In step 2, I downloaded the egg file. Then I ran sudo sh setuptools-0.6c11-py2.7.egg ...
0
votes
1answer
589 views

Couldn't install winexe-1.00, Python not found

When I was installing winexe 1.00, after [winexe-1.00/source4/]./configure I got the following message: checking for python2.6... /usr/local/bin/python2.6 checking for python2.6-config... ...
1
vote
2answers
554 views

How do I make a python script (including its dependencies) run on startup of an Ubuntu machine?

Well, I do know that for a single script the question is to just put the corresponding file in directory /etc/rc.local, right? But, what if this script depends on other files (i.e. a few scripts and a ...
0
votes
0answers
178 views

Python 2.7 and Ubuntu 10.10: X11 fails

Against every recommendation I have apt-get remove python in Ubuntu 10.10 (build 2.6.24-29-server x86_64) and apt-get install python2.7 Some built-in software with python2.6 dependencies (like ...
3
votes
1answer
726 views

Converting FLAC to ALAC, preserving tags - in a script

I'm currently building a script to maintain parallel music libraries, because I have devices that can't play FLAC, but prefer to store my music in that format. However, I'm having some trouble with ...
1
vote
1answer
2k views

run a python script in background and restart it on crash

I have a very simple Python script that I'd like to be always running on my ubuntu 12.04 server. I thought of using upstart + monit. Problem is that those tools seem rather complicated for a simple ...
0
votes
2answers
1k views

Logitech gamepad f710 and ubuntu and as an input to a python program

I would like to use the Logitech F710 gamepad as an input device to a python program. I am using Ubuntu. I do not really know where to start, so here are a few questions: How does Ubuntu detect the ...
0
votes
1answer
2k views

How can I install python-dev without sudo?

I am trying to install python package (scikits.learn) on my user directory (on a ubuntu server for which I don't have sudo permission) but I am getting error: Python.h: No such file or directory It ...
0
votes
1answer
225 views

Django on production server(ubuntu)

I'm trying to ship web application to the production server. My setup is django-gunicorn-nginx by following this tutorial. I've not installed supervisor yet for checking purpose. There is no problem ...
2
votes
1answer
376 views

Installing graph-tool and aptitude dependencies

I'm trying to install graph-tool. I've changed sources.list with the "precise" repository option. I can now run sudo apt-get install graph-tool, but I get the message graph-tool : Depends: ...
0
votes
1answer
86 views

Any way to moniter a window thats minimized/inactive on ubuntu?

I need something similar to LiveWindows on Ubuntu that would allow me to have a little image of the window so I can monitor whats happening on that window even when I'm doing something else. Or even ...
1
vote
1answer
416 views

How can I add a Python script at Ubuntu 11.10 startup?

What's the standard way of adding a python script to Ubuntu startup?
0
votes
1answer
742 views

Can't install python-setuptools with yum on Ubuntu. Missing repolist

I can't install python-setuptool with yum on Ubuntu using the following command: sudo yum install python-setuptools I get this message Setting up Install Process No package python-setuptool ...
1
vote
1answer
123 views

what to do with system installed python versions when starting with pythonbrew

I'm running Ubuntu 11.10. I have both Python 2.7 and 3.2 installed on the system and available in /usr/bin/. I am looking to start using pythonbrew and it seems it will want me to install my python ...
0
votes
3answers
746 views

Abnormally large size of /var/log/user.log and /var/log/syslog

I recently started using multiprocessing for my python code and now these two files are choking up all the space on my system. ./var/log/user.log: 8.1G ./var/log/syslog: 8.1G I know it might be ...
1
vote
1answer
827 views

How can I install a debian package using specific version of python

I am trying to install a deb package I built from source, the package is call LIO-Utils. LIO-Utils and the packages to follow require Python2.6 but Ubuntu 11.10 Server is running Python2.7. I have ...
0
votes
2answers
490 views

Start SimpleHTTPServer on boot

I am trying to get python's SimpleHTTPServer to start on boot using /etc/init/pyweb.conf and to specify the path which the script will be executed in and server files from, however I don't seem to be ...
10
votes
1answer
14k views

How to find installation path for packages installed through apt-get in Ubuntu?

I have been installing python modules using apt-get which works great using the console or launching files from the command line. However I am using Eclipse for easier organisation of files. Eclipse ...
1
vote
1answer
971 views

pygraphviz - Install on Ubuntu 10 with django-extensions

I'm trying to install pygraphviz under Ubuntu 10.04 in order to use it within my Django projects. I used synaptic and it was installed without any problem. I also installed django-extensions with ...
0
votes
1answer
188 views

A very wierd problem with Ubuntu/SSH/Folders … Sorry, I really lost over here with this one

I'm developing on Ubuntu 10.04 with Python/Django. I'm having a wierd and very inconsistent problem over here. It is even hard to explain, but here we go. I'm using PIL (a Python Module for working ...
1
vote
3answers
8k views

Uninstall MySQL in Ubuntu

I just tried to remove the MySQL client by using apt-get remove mysql-client-5.1 but an error comes out: Reading package lists... Done Building dependency tree Reading state information... Done ...
2
votes
3answers
2k views

On Ubuntu: I deleted /usr/bin/python2.7 - please help

I accidentally overwrote my /usr/bin/python2.7 executable. When I try to reinstall with aptitude reinstall python2.7 It fails because, python2.7 is required to install python2.7. I'm in a bind. I ...