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
I'm having trouble installing the contents of the python-hadoop subfolder as a Python module. Here is what I tried:
Clone the repository
Add the python-hadoop folder to my PYTHONPATH
In a script executed under Python 3.5.2, import hadoop.io
I get the following error:
<my_working_dir>/Hadoop/python-hadoop/hadoop/__init__.py in <module>()
18
19 import io
---> 20 import util
21
ImportError: No module named 'util'
I have tried various other import statements like
import hadoop
from hadoop import io
but none of those work, either. This seems to be another issue with Python submodules and relative imports in the __init__.py files. But I don't quite know how to fix this. Any ideas?
The text was updated successfully, but these errors were encountered:
Hi,
I'm having trouble installing the contents of the python-hadoop subfolder as a Python module. Here is what I tried:
import hadoop.io
I get the following error:
I have tried various other import statements like
import hadoop
from hadoop import io
but none of those work, either. This seems to be another issue with Python submodules and relative imports in the
__init__.py
files. But I don't quite know how to fix this. Any ideas?The text was updated successfully, but these errors were encountered: