QuantEcon / project.lecture-wasm

A project repository to test WASM compatibility and limitations for QuantEcon Lectures
https://quantecon.github.io/project.lecture-wasm/lab/index.html
0 stars 1 forks source link

[business_cycle] Unable to run any pip #4

Open mmcky opened 1 year ago

mmcky commented 1 year ago

@Smit-create have you been able to do any testing of this wasm environment?

https://quantecon.github.io/project.lecture-wasm/

I ran business_cycles lecture and it doesn't seem to run the first code cell which are some pip installs.

Just hangs for me with no response

Smit-create commented 1 year ago

pip install did work for me but the next cell of imports fails with ModuleNotFoundError which I fixed by pip installing distutils. The failure on my machine is on the following cell:

>>> wb.series.info(q='GDP growth')
TypeError                                 Traceback (most recent call last)
Cell In[7], line 1
----> 1 wb.series.info(q='GDP growth')

TypeError: info() got an unexpected keyword argument 'q'

This might be because of using an older version in pyodide.