Skip to content

Import Error in Python3 #1

@ravivmg

Description

@ravivmg

When using with Python3, I get the following error:

In [1]: import cdindex
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-291cd6253a0f> in <module>()
----> 1 import cdindex

~/.local/lib/python3.6/site-packages/cdindex/__init__.py in <module>()
      1 from cdindex import *
----> 2 from time_utilities import *

I think that when importing from the same directory in Python3 then you need to use explicit "from .time_utilities"

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