I would like to port my script, that is great on desktop, to RPi. It is a general question, but just for an example I show my first lines:
from http.server import BaseHTTPRequestHandler,HTTPServer
import cgi
I can put pip list
and I dont see my modules, neither many modules seen on desktop (this is the reason for this Question), however many are written in plain python, no compilation needed (IMHO).
- Is somebody working on it? Or no progress expected? Can one manage by himself?
I searched a bit Can I run Python 3.3+ on Raspbian Jessie? and What programming languages does the Raspberry Pi support?, but I have not a clear mind about the depths of support of Python.
In Build something that requires dh-python I see somebody tackled the problem, but the idea is not very clear to me.
Edit: if the question is downvoted, would be very nice to give a hint where is a problem. Thank you Edit2: http.server cannot by found
Edit3: The question deserved -1. Details in my answer bellow
pip
to install Python packages on the Pi - which in this case is more or less a general purpose computer. Some packages require compiling which could take some time on the Pi (e.g.numpy
- it's quite heavy, takes hours). But most other packages should work fine. Just give it a try. – Ghanima♦ Feb 8 '17 at 13:29pip list
- I will edit with explicite - the modules dont exist. So I gave a try, now I need some hint – jaromrax Feb 8 '17 at 13:46pip list
shows the packages installed not the packages on the repo. Did you try to install thempip install <name>
? Orpip3
for that matter. – Ghanima♦ Feb 8 '17 at 14:47