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.


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

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?

Python Ftplib

hello all,

please help me with python ftplib. i was trying to copy files from my linux machine to a windows server using ftplib. everything was working good. but i'm only able to copy files from the same directory the script is. how do i copy files from a different directory? i always get "file not found error message". here's my code :

Code:
tester_name = str (socket.gethostname())
def upload(ftp, file):
    ext = os.path.splitext(file)[1]
    if ext in (".txt", ".htm", ".html"):
        ftp.storlines("STOR " + file, open(file))
    else:
        ftp.storbinary("STOR " + file, open(file, "rb"), 1024)



parse_source_path = ('/path/to/where/i/go/')
parse_source_file_list = os.listdir(parse_source_path)

ftp = ftplib.FTP("server_IP")
ftp.login("username", "pass")

folder_list = []

ftp.dir(folder_list.append)

if str(tester_name) not in str(folder_list) :
    ftp.mkd("%s"%tester_name)
    ftp.cwd("%s"%tester_name)
    for files in parse_source_file_list :
        print files
        upload(ftp, files)


else :
    print "later"

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!!!!!!

Python Sketches Hidden In NOOBs SD-Card From Blocked RaspberryPi

Hello,
Am desperately seeking my Python sketches that have disappeared into the SD-Card on a RaspberryPi that blocked. Realised now that it had become full. I have saved everything onto a laptop running Windows 8.1 and uncompressed various root.tar.xz files in Raspbian, Pidora, etc with 7-Zip.
I have looked numerous times through the Raspbian file and others but can find no trace. Do you have any idea where they might be. It was a NOOBs Card that I did not expand because I am a RPi novice but amateur coder in lots of different languages.
Any help would be gratefully received, Walter

VPN Mullvad Client Won't Install Proper -dependency Problems(?)-

Hello all

I'm having trouble with installing the Mullvad VPN client on my computer. The configuration files work fine and there is a connection but the client just won't work (there is a icon in the applications but when clicking on it, password is asked and then nothing happens). Using Debian Wheezy 7.
I'm in contact with Mullvad but we haven't made any progress yet, and it's weekend now.

I tried a couple of thing but this is where i'm now:

- Fresh installed system.

→ Going to Downloads map in terminal
→ login as root
→ trying to install Mullvad by dpkg -i mullvad_48-1_all.deb
→ seeing error installing Mullvad
→ apt-get install -f
→ installing “mullvad depends on packages”
apt-get install pytho
apt-get install python-wxgtk2.8
apt-get install python-appindicator
→ trying to install Mullvad by dpkg -i mullvad_48-1_all.deb
→ seeing problem(?)
“ dpkg: dependency problems prevent configuration of mullvad:
mullvad depends on python:any (>= 2.7.1-0ubuntu2).

dpkg: error processing mullvad (--install):
dependency problems - leaving unconfigured “ (what is this?)
→ trying to install python_2.7.3-4+deb7u1_all.deb by dpkg -i python_2.7.3-4+deb7u1_all.deb
→ then: apt-get install -f
→ trying to install Mullvad: dpkg -i mullvad_48-1_all.deb
→ still not working

Code:
userone@debianuser:~$ cd ~/Downloads
userone@debianuser:~/Downloads$ su
Password: 
root@debianuser:/home/userone/Downloads# dpkg -i mullvad_48-1_all.deb
Selecting previously unselected package mullvad.
(Reading database ... 139936 files and directories currently installed.)
Unpacking mullvad (from mullvad_48-1_all.deb) ...
dpkg: dependency problems prevent configuration of mullvad:
 mullvad depends on python:any (>= 2.7.1-0ubuntu2).
 mullvad depends on python-wxgtk2.8; however:
  Package python-wxgtk2.8 is not installed.
 mullvad depends on python-appindicator; however:
  Package python-appindicator is not installed.

dpkg: error processing mullvad (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Errors were encountered while processing:
 mullvad
root@debianuser:/home/userone/Downloads# apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  mullvad
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 627 kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 139987 files and directories currently installed.)
Removing mullvad ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
root@debianuser:/home/userone/Downloads# apt-get install python
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@debianuser:/home/userone/Downloads# apt-get install python-wxgtk2.8
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libwxbase2.8-0 libwxgtk2.8-0 python-wxversion
Suggested packages:
  libgnomeprintui2.2-0 wx2.8-doc wx2.8-examples editra
The following NEW packages will be installed:
  libwxbase2.8-0 libwxgtk2.8-0 python-wxgtk2.8 python-wxversion
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.8 MB of archives.
After this operation, 46.1 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://ftp.us.debian.org/debian/ wheezy/main libwxbase2.8-0 amd64 2.8.12.1-12 [678 kB]
Get:2 http://ftp.us.debian.org/debian/ wheezy/main libwxgtk2.8-0 amd64 2.8.12.1-12 [3,411 kB]
Get:3 http://ftp.us.debian.org/debian/ wheezy/main python-wxversion all 2.8.12.1-12 [91.8 kB]
Get:4 http://ftp.us.debian.org/debian/ wheezy/main python-wxgtk2.8 amd64 2.8.12.1-12 [8,579 kB]
Fetched 12.8 MB in 20s (608 kB/s)                                              
Selecting previously unselected package libwxbase2.8-0:amd64.
(Reading database ... 139936 files and directories currently installed.)
Unpacking libwxbase2.8-0:amd64 (from .../libwxbase2.8-0_2.8.12.1-12_amd64.deb) ...
Selecting previously unselected package libwxgtk2.8-0:amd64.
Unpacking libwxgtk2.8-0:amd64 (from .../libwxgtk2.8-0_2.8.12.1-12_amd64.deb) ...
Selecting previously unselected package python-wxversion.
Unpacking python-wxversion (from .../python-wxversion_2.8.12.1-12_all.deb) ...
Selecting previously unselected package python-wxgtk2.8.
Unpacking python-wxgtk2.8 (from .../python-wxgtk2.8_2.8.12.1-12_amd64.deb) ...
Setting up libwxbase2.8-0:amd64 (2.8.12.1-12) ...
Setting up libwxgtk2.8-0:amd64 (2.8.12.1-12) ...
Setting up python-wxversion (2.8.12.1-12) ...
Setting up python-wxgtk2.8 (2.8.12.1-12) ...
update-alternatives: using /usr/lib/wx/python/wx2.8.pth to provide /usr/lib/wx/python/wx.pth (wx.pth) in auto mode
root@debianuser:/home/userone/Downloads# apt-get install python-appindicator
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  indicator-application libappindicator1 libappindicator3-1 libdbusmenu-glib4
  libdbusmenu-gtk3-4 libdbusmenu-gtk4 libindicator3-7 libindicator7
The following NEW packages will be installed:
  indicator-application libappindicator1 libappindicator3-1 libdbusmenu-glib4
  libdbusmenu-gtk3-4 libdbusmenu-gtk4 libindicator3-7 libindicator7
  python-appindicator
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 632 kB of archives.
After this operation, 1,392 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://ftp.us.debian.org/debian/ wheezy/main libdbusmenu-glib4 amd64 0.6.2-1 [109 kB]
Get:2 http://ftp.us.debian.org/debian/ wheezy/main libdbusmenu-gtk3-4 amd64 0.6.2-1 [95.0 kB]
Get:3 http://ftp.us.debian.org/debian/ wheezy/main libdbusmenu-gtk4 amd64 0.6.2-1 [95.0 kB]
Get:4 http://ftp.us.debian.org/debian/ wheezy/main libindicator3-7 amd64 0.5.0-1 [56.6 kB]
Get:5 http://ftp.us.debian.org/debian/ wheezy/main libappindicator3-1 amd64 0.4.92-2 [56.1 kB]
Get:6 http://ftp.us.debian.org/debian/ wheezy/main indicator-application amd64 0.5.0-1 [62.4 kB]
Get:7 http://ftp.us.debian.org/debian/ wheezy/main libindicator7 amd64 0.5.0-1 [56.6 kB]
Get:8 http://ftp.us.debian.org/debian/ wheezy/main libappindicator1 amd64 0.4.92-2 [56.1 kB]
Get:9 http://ftp.us.debian.org/debian/ wheezy/main python-appindicator amd64 0.4.92-2 [45.3 kB]
Fetched 632 kB in 2s (216 kB/s)               
Selecting previously unselected package libdbusmenu-glib4:amd64.
(Reading database ... 141598 files and directories currently installed.)
Unpacking libdbusmenu-glib4:amd64 (from .../libdbusmenu-glib4_0.6.2-1_amd64.deb) ...
Selecting previously unselected package libdbusmenu-gtk3-4:amd64.
Unpacking libdbusmenu-gtk3-4:amd64 (from .../libdbusmenu-gtk3-4_0.6.2-1_amd64.deb) ...
Selecting previously unselected package libdbusmenu-gtk4:amd64.
Unpacking libdbusmenu-gtk4:amd64 (from .../libdbusmenu-gtk4_0.6.2-1_amd64.deb) ...
Selecting previously unselected package libindicator3-7.
Unpacking libindicator3-7 (from .../libindicator3-7_0.5.0-1_amd64.deb) ...
Selecting previously unselected package libappindicator3-1.
Unpacking libappindicator3-1 (from .../libappindicator3-1_0.4.92-2_amd64.deb) ...
Selecting previously unselected package indicator-application.
Unpacking indicator-application (from .../indicator-application_0.5.0-1_amd64.deb) ...
Selecting previously unselected package libindicator7.
Unpacking libindicator7 (from .../libindicator7_0.5.0-1_amd64.deb) ...
Selecting previously unselected package libappindicator1.
Unpacking libappindicator1 (from .../libappindicator1_0.4.92-2_amd64.deb) ...
Selecting previously unselected package python-appindicator.
Unpacking python-appindicator (from .../python-appindicator_0.4.92-2_amd64.deb) ...
Setting up libdbusmenu-glib4:amd64 (0.6.2-1) ...
Setting up libdbusmenu-gtk3-4:amd64 (0.6.2-1) ...
Setting up libdbusmenu-gtk4:amd64 (0.6.2-1) ...
Setting up libindicator3-7 (0.5.0-1) ...
Setting up libappindicator3-1 (0.4.92-2) ...
Setting up indicator-application (0.5.0-1) ...
Setting up libindicator7 (0.5.0-1) ...
Setting up libappindicator1 (0.4.92-2) ...
Setting up python-appindicator (0.4.92-2) ...
root@debianuser:/home/userone/Downloads# dpkg -i mullvad_48-1_all.deb
Selecting previously unselected package mullvad.
(Reading database ... 141685 files and directories currently installed.)
Unpacking mullvad (from mullvad_48-1_all.deb) ...
dpkg: dependency problems prevent configuration of mullvad:
 mullvad depends on python:any (>= 2.7.1-0ubuntu2).

dpkg: error processing mullvad (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Errors were encountered while processing:
 mullvad

root@debianuser:/home/userone/Downloads# dpkg -i python_2.7.3-4+deb7u1_all.deb
(Reading database ... 141737 files and directories currently installed.)
Preparing to replace python 2.7.3-4+deb7u1 (using python_2.7.3-4+deb7u1_all.deb) ...
Unpacking replacement python ...
Setting up python (2.7.3-4+deb7u1) ...
Processing triggers for man-db ...
root@debianuser:/home/userone/Downloads# apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  mullvad
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 627 kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 141736 files and directories currently installed.)
Removing mullvad ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
root@debianuser:/home/userone/Downloads# dpkg -i mullvad_48-1_all.deb 
Selecting previously unselected package mullvad.
(Reading database ... 141685 files and directories currently installed.)
Unpacking mullvad (from mullvad_48-1_all.deb) ...
dpkg: dependency problems prevent configuration of mullvad:
 mullvad depends on python:any (>= 2.7.1-0ubuntu2).

dpkg: error processing mullvad (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Errors were encountered while processing:
 mullvad
root@debianuser:/home/userone/Downloads#


I found this link about "Package has a Depends on python:any (>= 2.7.1-0ubuntu2)" https://qa.debian.org/debcheck.php?dist ... thon-gdata
It says : Package has a Depends on python:any (>= 2.7.1-0ubuntu2) which cannot be satisfied on amd64.
What does this mean for me?

I checked command # python -V The output is:
Code:
Python 2.7.3

Make Python Highly Available In RHEL 6.4

I have configured RHEL cluster by installing ricci and luci server. I have successfully tested it for httpd service. Now my target is to achive the HA of python. Can anyone help me with it?

Dropbox Not Running At Startup

I'm running Debian wheezy. I have Dropbox installed, but it won't run on startup. I downloaded their CLI script dropbox.py, and if I use

Code:
python dropbox.py start

then it starts. I'm trying to use that to get it to run at startup. I have tried editing .profile, and crontab, but it doesn't work and I don't know what else to try. Is it a permissions issue? (I tried making dropbox.py executable and adding python to visudo) or do I need to have some other command to run it at startup?

I appreciate the help!

Debian / Python SSL Error?

I have just installed Debian "jessie" as well as Python 2.7.9. I have all the OpenSSL packages and I thought everything was working fine until I tried to hit the server using a browser (Chrome) and https://; Once I did that I got this error message on the server end, and ideas on how to resolve this would be great.

Incoming web connection from ('192.168.15.177', 53202)
error: uncaptured python exception, closing channel <main.AlarmServer listening :8111 at 0x75ea7b48> (:certfile must be specified for server-side operations [/usr/lib/python2.7/asyncore.py|read|83] [/usr/lib/python2.7/asyncore.py|handle_read_event|443] [./alarmserver.py|handle_accept|456] [/usr/lib/python2.7/ssl.py|wrap_socket|891] [/usr/lib/python2.7/ssl.py|init|498])

Bash: Javac: Command Not Found???

I'm new to linux but I use linux a little at school and by connecting through a shell at home. Anyways, I just installed linux a little while ago and I opened a shell and tried to compile some java code by going to the directory of the code and typing "javac someCode.java" like I do at school but it says the command is not found.

I previously had installed the java runtime environment and I just went to go and try to install the java development kit but it says it was already installed.

Is there some sort of path I need to set for the shell to look for the java compiler? Thanks in advance.

Edit:
I have added aliases to my .cshrc file at school and I just found a bashrc file and csh.cshrc file in the /etc folder. Sorry, I'm really new to all of this. Anyways, I'm geussing I have to edit the bash file? Can anyone point me to a good tutorial of scripting for these files???