You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
While working with the h5py library for handling HDF5 files, I encountered an import error in the files.py file of h5py. The error message is ImportError: attempted relative import with no known parent package.
python
import sys
import os
from warnings import warn
from .compat import filename_decode, filename_encode ( from .compat import filename_decode, filename_encode
ImportError: attempted relative import with no known parent package)
from .base import phil, with_phil
from .group import Group
from .. import h5, h5f, h5p, h5i, h5fd, _objects
from .. import version
The text was updated successfully, but these errors were encountered:
Problem:
While working with the h5py library for handling HDF5 files, I encountered an import error in the files.py file of h5py. The error message is ImportError: attempted relative import with no known parent package.
python
import sys
import os
from warnings import warn
from .compat import filename_decode, filename_encode ( from .compat import filename_decode, filename_encode
ImportError: attempted relative import with no known parent package)
from .base import phil, with_phil
from .group import Group
from .. import h5, h5f, h5p, h5i, h5fd, _objects
from .. import version
The text was updated successfully, but these errors were encountered: