Skip to content

micropip.install() fails when deps=False #180

Description

@imathews

When specifying deps=False, I'm unable to install a number of packages. E.g.,:

await micropip.install("plotly", deps=False, verbose=True)

Collecting plotly
  Downloading plotly-5.24.1-py3-none-any.whl
Installing collected packages: plotly
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/lib/python3.12/site-packages/micropip/package_manager.py", line 133, in install
    return await install(
           ^^^^^^^^^^^^^^
  File "/lib/python3.12/site-packages/micropip/install.py", line 92, in install
    await asyncio.gather(*wheel_promises)
  File "/lib/python3.12/site-packages/micropip/wheelinfo.py", line 126, in install
    raise RuntimeError(
RuntimeError: Micropip internal error: attempted to install wheel before downloading it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions