Python Forum
install python on chromebook
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
install python on chromebook
#1
How can I install python on a chromebook? thanks.
Reply
#2
I would assume it would be the same as a normal laptop. Just that you are severely restricted with resources (RAM, HDD, etc. )as most of those are for just browsing the web.
Recommended Tutorials:
Reply
#3
Thanks. It's different.

I am trying to follow this instruction.
https://randlow.github.io/posts/python/s...ok-python/

but got an error when installing Anaconda3
$ bash Anaconda3-x.x.x-Linux-x86_64.sh

error message: (how to fix this?)

[/home/phipmit/anaconda3] >>>
PREFIX=/home/phipmit/anaconda3
Unpacking payload ...
Anaconda3-2019.07-Linux-x86_64.sh: line 353: /home/phipmit/anaconda3/conda.exe: cannot execute binary file: Exec format error
ERROR: could not extract tar starting at offset 000000000000020980+9231072+2
Reply
#4
Where did you get anaconda from? Is your system 64 bit?
Recommended Tutorials:
Reply
#5
There are 3 levels of chromebooks out there, those that can only run chrome OS, those that can also run Android apps, and those that can run (with some work) Linux apps. What kind of chromebook do you have?

Congrats on getting this far. Most chromebook users can't get to the bash shell. The error message suggests an incompatability with the tar ball - and I am a bit worried that it is trying to execute conda.exe. Have you tried using a more lightweight installer/python version?

Please post your progress here. I'm sure others would like to try this.
Reply
#6
lightweight installer/python version? I don't know. Can you recommend one? Thanks.

Lenovo Chromebook S330

it's 32 bit system. I just tried, no success.

[/home/phipmit/anaconda3] >>>
PREFIX=/home/phipmit/anaconda3
installing: python-3.7.1-h0371630_7 ...
Anaconda3-2018.12-Linux-x86.sh: line 380: /home/phipmit/anaconda3/pkgs/python-3.7.1-h0371630_7/bin/python: cannot execute binary file: Exec format error
Reply
#7
I have no experience here, swimming in the deep end, but a quick search found
Mini-conda with linux versions

Pick the 32 bit version 3.7 for Linux and see if that works.
Reply
#8
Thanks. No success.
Reply
#9
Consider cloud based? I have no experience with this either, but there are products (PythonAnywhere, eg.) that will host your Python development environment and apps. PythonAnywhere is free for beginners and has stepped fees depending on how much you plan to use them. Since a Chromebook is pretty much an internet appliance this might be the best option. Google Could and Heroku are competitors but look more expensive.
Reply
#10
As mention bye @jefsummers so is cloud based solution an option.
I have used Cloud9 before,now bought bye Amazon AWS Cloud9 .
The advantage here is that get a full OS environment with Editor and Terminal.
So can eg install package wanted with pip.
How it look for me in browser.
[Image: f3g9hM.jpg]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Blocked chromebook arsenal58 1 1,990 Feb-05-2019, 02:36 PM
Last Post: perfringo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020