Skip to content

import fails on Colab #17

@Btibert3

Description

@Btibert3

I am unable to use this on Colab.

! pip install pyarmviz
import PyARMViz 

Throws the error

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-154-d1ad5a21fa69> in <module>()
----> 1 import PyARMViz

5 frames
/usr/lib/python3.6/typing.py in _type_check(arg, msg)
    372         not isinstance(arg, (type, _TypingBase)) and not callable(arg)
    373     ):
--> 374         raise TypeError(msg + " Got %.100r." % (arg,))
    375     # Bare Union etc. are not valid as type arguments
    376     if (

TypeError: Parameters to generic types must be types. Got <module 'PyARMViz.Rule' from '/usr/local/lib/python3.6/dist-packages/PyARMViz/Rule.py'>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions