In Anaconda Code for Excel (Pyodide 0.27.2), adding simpy 4.1.1 from PyPI shows the package in Environment as Ready.
Debugger/network confirms successful requests for:
- Links for simpy
- simpy-4.1.1-py3-none-any.whl.metadata
- simpy-4.1.1-py3-none-any.whl
However, in Python:
- importlib.util.find_spec(“simpy”) returns None
- importlib.metadata does not list simpy
- import simpy raises ModuleNotFoundError
So package discovery and download succeed, but the wheel never becomes available in the active runtime.
I was able to add simpy 4.1.1 to my environment, then import it and call simpy.__version__, which returns “4.1.1”. So it’s should work for you.
Try Reloading the Environment, or possibly remove the package, save, and re-add the package. Sometimes wheels don’t download correctly, so hopefully this will fix it.
Note: I am using the default Pyodide 0.27.2 environment with only simpy added as an additional package. If you have other packages installed, maybe try a fresh workbook just in case there is some weird interaction with packages (I wouldn’t expect it for a pure-python package, though).