0
votes
0answers
13 views

upgradepkg uses wrong version of python for package installs

I'm using slackware that has python 2.6 by default. I've installed python 2.7 and successfully insatlled numpy and scipy and matplotlib into python 2.7 using slackbuilds and pip. However, when I ...
0
votes
1answer
16 views

Get fuse version installed on current OS

I have to build installer in Linux. First step of the installer is to identify the fuse version. If the version is bigger than required than proceed with install process. How can I get the fuse ...
2
votes
2answers
40 views

How to Install virtualenv on a machine without root access

I want to install virtualenv on a Linux machine where I don't have root privileges. I saw the screencast at nettuts(http://net.tutsplus.com/tutorials/python-tutorials/python-power-tools-virtualenv/) ...
1
vote
2answers
35 views

Python: need to use bash one-liner

I'm trying to write a script to help my company with some of our investigations. I can't install any extra packages on the systems and I need to be able to get the current processor load total in ...
0
votes
0answers
20 views

Troubles with installing openstack

I should do for my master thesisi some tutorials for administrators how to set, manage and use openstack. On my workstation 9 I set ubuntu server x64 12.04 lts, then I try to do quick istall by ...
0
votes
2answers
46 views

How come I can't tail my log?

In my python script, I have this: count = 0 while 1: print count count += 1 I saved this file and I ran it. nohup python count.py >> test.log & $tail -f test.log Nothing ...
0
votes
2answers
24 views

Python - Talking to an open program through terminal

I have been using os.system() to communicate with terminal, which works perfectly. However, with it I'm opening a program that needs to have commands written to it, and I'm not quite sure how to do ...
1
vote
4answers
77 views

If column A in file 1 = column A in file 2, replace with column B from file 2

Normally I would use R and do merge.by, but this file seems to be too big for any of the computers in the department to deal with this! (Additional info for anyone working in genetics) Essentially, ...
0
votes
1answer
21 views

Unix base64 encoding mismatch

I've been seeing some discrepancies in the base64 encoding in many utils from the unix util for ex: in java and python if I encode b I get Yg== but in unix I get Ygo= I need to use b64 from unix in ...
0
votes
1answer
38 views

Redirecting to Python program to Terminal and file

This is very weird that "tee" is not working for the python scripts. I have a program called "test.py" and trying to output to the terminal and to a log file using shell commands. I have tried ...
0
votes
1answer
18 views

Error installing matplotlib - python2.7 (RHEL 5.9)

I have an altinstall of python 2.7 on my RHEL 5.9 desktop (python 2.4 ships with rhel5). I have installed numpy1.7.1 and scipy-0.12.0 successfully from source. However when I try to build ...
0
votes
0answers
24 views

Popen call not outputting to a file or determining the parameter string correctly in python

The two Popen commands run below the strings are identical yet only the second one works when I input the whole command that I run in terminal. The first one I can see the ghostscript command run as ...
0
votes
1answer
30 views

Python file path and size

I've been trying to list all the files in a directory and it's subdirectory, its path and its size in python. Somehow only the files in its directory is displayed and not the files in the ...
0
votes
1answer
7 views

cocos.layer package being reported as nonexistent in PyDev

I'm currently using Eclipse Juno, PyDev 2.7.5, and Cocos2d 0.5.5 installed through pip. After reconfiguring the Python interpreter in PyDev, Whenever I type cocos.layer.Layer in a module, it ...
1
vote
1answer
21 views

Sending events to uinput with python-evdev on keybinding trouble with mask keys

The short of it is that I am trying to add a keybinding to my program that will edit the clipboard and then paste the changes to whatever window you have active. On Windows I think I can probably do ...

1 2 3 4 5 169
15 30 50 per page