The editor runs Python in your browser, so it can't install arbitrary packages the way pip does on your computer. Some scientific packages (numpy, matplotlib, pandas) are available, and the editor loads them when you import them.
For network stuff like requests, browsers block a lot of it anyway. Easier to try that locally.
Comments 4
Join the discussion CommentAlready have an account? Log in
The editor runs Python in your browser, so it can't install arbitrary packages the way pip does on your computer. Some scientific packages (numpy, matplotlib, pandas) are available, and the editor loads them when you import them.
For network stuff like
requests, browsers block a lot of it anyway. Easier to try that locally.Makes sense. matplotlib working is a nice surprise though!
Tried matplotlib, the chart appears right in the output. Very handy for quick plots.
For anything with files, threads or the network, I switch to a local setup. For learning basics, the online editor is perfect.