Comments (3)
I think I figured it out. It is a bit surprising. It looks like that indentation matters here just like in the py-script
tag.
This worked. Note the zero indentation of the list of packages.
However, for a single package, I was using random indentation and it worked!
<py-env>
- matplotlib
- pandas
</py-env>
from pyscript.
Maybe we should add an error message to indicate there's an indentation problem? Happy to work on it if we confirm this is what we want!
from pyscript.
just checked and this is fixed in current main
from pyscript.
Related Issues (20)
- Empty Directory doesn't create a new file. HOT 2
- pyscript issue HOT 1
- DataFrame rendering on console displays First and last columns. HOT 2
- Fix Button click. HOT 1
- `document.CurrentScript` not accessible from worker HOT 12
- <script type="py" terminal worker> not working in chrome HOT 3
- Weird float arg bug on MicroPython when calling a JS method HOT 11
- PyScript.com fails to highlight extensions .mjs & .cjs HOT 5
- Output from python code in HTML is not getting rendered, it is only getting rendered as js in the browser console. I'm using PyScript link. HOT 2
- Triple quotes throws error in pyscript. HOT 8
- Cannot cancel multi-cursor editing with the keyboard HOT 7
- In the code editor ctrl+enter does not create a new line below HOT 3
- `PyDom[key: int]` raises `AttributeError: 'int' object has no attribute 'indices'`
- Terminal does not show error message when using workers HOT 2
- Py Terminal issues aggregation HOT 1
- PyScript pre-resolved config URL is not consistent
- the py-editor is created repeatedly HOT 13
- MicroPython doesn't support MethodType() from "types" module! HOT 1
- MicroPython doesn't support alternative syntax to create a tuple outta comprehension HOT 1
- MicroPython should provide better error messages for missing APIs HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyscript.