Getting Python To Work On Ubuntu 12.04


Okay so I am having major issues getting python to work on Ubuntu 12.04 and other programs I want to run exclusively on this system. Just so you all know - I do not understand computer lingo much so I have a million definitions and how to's . I've kind of been thrown in the deep end on something and the I.T. guru (sorry for the frustration - but effectively this boso worked for MY company) belittled me basically calling me stupid & incapable of being able to configure a basic desktop system.

Anyways my ex from years ago also worked in I.T and played with different operating systems at 1 point so I had used Linux before and remembered it was geared to what I needed. I have installed 12.04 (trialled the latest 14 version as well but opted for the older one for more guidance. So I have everything I need for what I am doing except for 1 minor detail. I am so confused on entering the command lines

can anyone guide me to where there's a really simple straight forward guide to getting 2 programs to run and python to work? I know it's just entering command prompts so to speak but I can't get them to work or know the file directories for the locations of the programs.

ANY HELP WOULD BE APPRECIATED!!!!!!


Similar Content



I Am Trying To Create A Fedora Live USB Using Ubuntu 14.04 But It's Not So Easy

Unetbootin does not do it and nor does startup disk creator. I the forums are described other ways but too complicated for me. I did find this, with simple instructions


https://ifireball.wordpress.com/2011...tor-on-ubuntu/


sudo aptitude install python-parted isomd5sum python-pyisomd5sum python-urlgrabber extlinux python-qt4 python-qt4-dbus tar


That command should install these packages but all I get is sudo: aptitude: command not found.

isomd5sum
python-parted
python-pyisomd5sum
python-urlgrabber
extlinux
python-qt4
python-qt4-dbus
tar



Does anybody know a simple way to make a Fedora live USB using ubuntu. I was planing to try their Fedora Workstation 22

Getting And Installing Python 3.5 Help

One week user of Ubuntu v15 and I have tried to install the file Python-3.5.0a1.tar gz but without success. The following points have arisen.
1). The file was downloaded. OK
2). The file was extracted to the Desktop as Python-3.5.0a1
3). Using sudu apt-get install Python-3.5.0a1, the message 'file not found'. Why not!
4). Looking into the extracted files it seems that this is a source package and therefore cannot be installed as is?
5). Finally, using the bash command 'find' it could not find the above file either.
Can someone kindly sort this out for me.
Thanks.

Ubuntu 'dpkg--configure-a' E: Dpkg Was Interrupted Error

Hi,
I am very new to linux, and frankly I do not know a whole lot about computers in general, as I'm entirely self taught, and that was all on windows. I really like the idea and concept of linux and ubuntu, and am in the process of learning. I have recently installed Ubuntu 8.04 LTS on an ex Vista computer at work (upon the urging by the boss). I can give more information on the system if needed. However, I think the problem may not be with the system. This is what I got. I installed the o/s and started downloading the updates from the list. As I tried to install Samba and Wine, all of a sudden things started to become complicated. As I'm doing this at work, and everyone is excited to 'play' with this new o/s, someone tried to download limewire as well, when I was away. I didn't see the error messages at that point, but they apparently had some message about java, and tried to shut everything down. Now when I came back, I get this message:

E: dpkg was interrupted you must manually run 'dpkg -- configure - a' to correct.
Problem E: _cache->open()failed

So, not knowing much about linux and even less about using the terminal, I did open the terminal, and typed in: dpkg--configure-a and hit enter. Then it tells me that that command is not found.

I have followed some other posts that deal with this problem, however, all the remedies that worked for them did not work for me. I could use some help, please. My other option is to just reinstall the o/s all over and start new. Thank you.

New To Linux *again* - I Have Some Questions About Making Better Distro Installs

I am a basic computer user as far as operating systems are concerned. I do a little programming here and there but nothing special yet.

I have tried Linux many times, but I'm always left to getting *another* distro, after I fail to properly install Linux. Basically I resort to simple installs and found that Linux Mint and Ubuntu, most of the time work out of the box. However, after an installation, ... here and there I get error messages and sometimes crashes and i understand that my installation is not stable, simply because I did not properly configure some conf file or similar.

Another even more important problem I have is device drivers. Working from the command prompt (console) and the GUI is very confusing to me. I'm not sure if I'm setting something right with one and then unsetting it with the other. So basically I'm here with some noob questions and a couple specific ones.

1. Can someone recommend a good distro to learn to correctly configure drivers with manually. Remember, that I understand that there are distros that work out of the box mostly, but I actually am not worried about complexity as far as someone can guide me through errors. Which will lead to more questions of course.

2. After an installation there are sometimes a dozen errors during bootup, but no stops. Since it all scrolls by fast (most distros), where can I check after bootup what I need to fix?

The Goal is an *error free* stable installation of a linux distro, with enough common sense learned to take it to other distros.

How The System Upgrading Works On Linux Distributions

i'm little bit confused about how the upgrading or updating works. let's say im currently using ubuntu and one opened app which is firefox and im updating the system. after the upgrating is done im still using older version of ubuntu and firefox without any trouble. how is this possible. am i currently working on the programs which have loaded to the RAM?as far as i know if we run a program the whole thing is not loaded to the RAM therefor i think it's not possible to work that fine on the RAM without loading from the hard disk. im glad if any one can explane me this.

Python FTP Send Command

hello Experts!
need some help here with python FTP. so what i'm trying to do is, from a linux machine, ill be sending over a python script to a windows machine via python ftp. that works fine with no problem. now, i want to execute that python script i sent remotely. im having trouble with that. here's my code to just execute the script:

p.s : please dont suggest other options such as python paramiko due to many network security reasons

Code:
ftp = ftplib.FTP("windows machine name")
ftp.login("username", "password")
ftp.cwd("where\\python\\script\\is kept\\")

ftp.sendcmd("python myscript.py")

but looks like it doesn't recognize that command. how do i accomplish this please?

I May Have Messed Something Up

The look of some of my programs have changed from this

http://i60.tinypic.com/2uzqq95.png

to this

http://i61.tinypic.com/548xgl.png

I was trying to install gtk+3.10 (terminal said I had gtk+2.24 when I ran some stuff in the terminal and said I needed 3.10...python and glade stuff)

The next time I booted the computer most programs went from the smooth look to that windows NT look

It's not a real problem but I'd like to have the old (new) look back and I can figure out how to do it

note: I dont know if the gtk installment had anything to do with it, I just assume it

Borked Ubuntu With Putty SSH Cmd Line

I am not sure what happened here, and I find it oddly disturbing that a Putty session from Window could do this, but here is what I did -

I was attempting to open a ssh redirect session from Putty command line on my W7 work PC to my home PC running Ubuntu 14.04. I've done this before with the Putty GUI and had no issues at all, but this time I was using cmd line and it never did connect. I ran this command:
Code:
putty -ssh -D 1080 -P 22 domain.com

The Putty window opened but never connected. I tried twice and when it didn't connect, I gave up and went back to the GUI. I connected with the GUI just fine, but after connecting an SSH session to my Ubuntu server at home, I noticed it was acting odd.

Long story short: It was in a "read-only" mode, saying the file system was read-only. I couldn't run apt-get update or even create a new folder in my Home folder or desktop. I remotely rebooted the machine and it never came back online.

When I got home I checked it, and it told me that Ubuntu had found some errors, and was asking if I wanted to correct them. I said yes and it took a short while, but then finally let me log back in.

After this, the box is about 90-95% back to normal except for a couple of odd things that I don't understand.

The main issue is that my Samba shared drives are no longer working. The fstab file looks the same and can connect to other machines, but nothing can connect back to the Ubuntu box. The folder permissions are correct also. I have a CentOS7 box, a Fedora laptop and a W7 box - none of them can connect to my Ubuntu box. I only run Samba and connect with it, even from Linux boxes, just to make it simple (since Windows is stupid and can't use NFS) - this has always worked in the past. Now for the life of me, I can't figure out why nothing will connect.

Is there a logfile or trouble-shooter I could look at it see what happened? It should be in /var/log somewhere, but I don't know where to start. SSH? Samba? The entire filesystem was read-only for a short while, so is there a FS or System log in /var/log?

I am kinda confused on this one, any help is appreciated.

Printer Problems Canon IP4500 And Ubuntu 109

Hi there. I'm new to Linux. My son installed it. First, I was pleased. Then I was angry: we have three printers in the house. It was incompatible with them all (when I connected the printer, it did not automatically install it. Now I'm frustrated. I have been to sites to find out what version of Linux I have. I am not a techie. I worked out how to get into the black terminal screen. I worked out how to write the command uname -a and got the answer Ubuntu 109. I don't know what this means but I then worked out how to put a command in $ sudo apt-get install cnijfilter-ip4500series to install the printer. It asked me for my password. I entered the password I use to open the user interface when I turn on the laptop. No dice. I need to distribute posters this pm. I will have to spend more money, going into town to get them from there. Not great. Any help appreciated. Advice, guidance, kind words of encouragement....

Topic - What Is Linux Kernel And How To Upgrade To Linux Stable Kernel 3.18.1

What Is Linux Kernel?

Those who don't know what is the Linux Kernel they should know it because Linux kernel is the essential part of any Linux operating system. It is responsible for resource allocation, low-level hardware interfaces, security, simple communications, basic file system management, and more. Written from scratch by Linus Torvalds (with help from various developers), Linux is a clone of the UNIX operating system. It is geared towards POSIX and Single UNIX Specification compliances.

Latest Stable Linux Kernel Version 3.18.1
It's been a quiet week, and the patch from rc7 is tiny, so 3.18 is out.
I'd love to say that we've figured out the problem that plagues 3.17 for a couple of people, but we haven't. At the same time, there's absolutely no point in having everybody else twiddling their thumbs when a couple of people are actively trying to bisect an older issue, so holding up the release just didn't make sense. Especially since
that would just have then held things up entirely over the holiday break.
So the merge window for 3.19 is open, and DaveJ will hopefully get his bisection done (or at least narrow things down sufficiently that we have that "Ahaa" moment) over the next week. But in solidarity with Dave (and to make my life easier too let's try to avoid introducing any _new_ nasty issues, ok?]

To read all the changes and bugs fixed Download the changelog below -
Changelog

Why to Upgrade to the Latest Linux kernel

Recently in December Linux Kernel version 3.18.1 has been released and announced by Linus Torvalds. If you are using Ubuntu 14.04/14.10 or Linux Mint or any other debian/Ubuntu based then you can update to the latest kernel 3.18.1 to fix bugs, increase performance and security of the system.


Install Linux Kernel 3.18.1

Because it is not available via PPA, the needed deb packages of Kernel 3.18.1 are available via kernel.ubuntu.com. Follow the instructions for your system’s architecture exactly, in order to get a successful installation.

To install or update Latest Stable Kernel 3.18.1 on Ubuntu 15.04 vivid vervet, Ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr (LTS) , Linux Mint 17.1 Rebecca, Linux Mint 17 Qiana, Pinguy OS 14.04, Elementary OS 0.3 Freya, Elementary OS 0.2 Luna, Peppermint Five, Deepin 2014, LXLE 14.04, Linux Lite 2.0, Linux Lite 2.2 and other Ubuntu derivative systems, open a new Terminal window and bash (get it?) in the following commands:


For Linux system 32 bit :

Pass the following commands in the terminal to download the kernel file.

$ wget http://kernel.ubuntu.com/~kernel-ppa...170637_all.deb

$ wget http://kernel.ubuntu.com/~kernel-ppa...70637_i386.deb

$ wget http://kernel.ubuntu.com/~kernel-ppa...70637_i386.deb

Install Linux Kernel 3.18.1


$ sudo dpkg -i linux-headers-3.18.1*.deb linux-image-3.18.1*.deb

Atfer install complete, update grub and reboot your computer and choose new kernel in grub :

$ sudo update-grub
$ sudo reboot

For Linux system 64 bit :

$ wget http://kernel.ubuntu.com/~kernel-ppa...170637_all.deb

$ wget http://kernel.ubuntu.com/~kernel-ppa...0637_amd64.deb

$ wget http://kernel.ubuntu.com/~kernel-ppa...0637_amd64.deb

Install Linux Kernel 3.18.1

$ sudo dpkg -i linux-headers-3.18.1*.deb linux-image-3.18.1*.deb

Atfer install complete, update grub and reboot your computer and choose new kernel in grub :

$ sudo update-grub
$ sudo reboot

How To Uninstall Linux Kernel 3.18.1

If you come across any problem after installing/upgrading to linux kernel, can uninstall the newly installed kernel and switch back to old kernel.

$ sudo apt-get remove 'linux-headers-3.18.1*' 'linux-image-3.18.1*'