Skip to content

Import of ensmallen fails due to missing imports #192

Description

@caufieldjh

Some (or all?) dependencies aren't getting installed by pip.

Example:
The cpuinfo module may not get installed by pip, but it's imported in the __init__.py.
On a fresh pip install (from grape) and venv:

>>> from ensmallen import Graph
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/harry/test85812/lib/python3.8/site-packages/ensmallen/__init__.py", line 8, in <module>
    import cpuinfo
ModuleNotFoundError: No module named 'cpuinfo'

I see py-cpuinfo is in the Cargo.toml, and if I install it with pip then this solves the problem, but...
then I get a ModuleNotFoundError for bioregistry.
Same for downloaders.

Ensmallen is 0.8.35.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions