http://localhost:50070/ 可以登录-----------下面这样设置的-------------test_host = 'localhost'test_port = 50070----------------------------------------Traceback (most recent call last): File "E:\python\hadoop\mkdemo\hdfsdemo.py", line 37, in <module> hdfs_client = HDFileSystem(host=test_host,port=test_port) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\hdfs3\core.py", line 76, in __init__ self.connect() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\hdfs3\core.py", line 94, in connect get_lib() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\hdfs3\core.py", line 657, in get_lib from .lib import _lib as l File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\hdfs3\lib.py", line 15, in <module> _lib = ct.cdll.LoadLibrary(name) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\ctypes\__init__.py", line 434, in LoadLibrary return self._dlltype(name) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\ctypes\__init__.py", line 356, in __init__ self._handle = _dlopen(self._name, mode)OSError: [WinError 126] 找不到指定的模块。
2 回答
- 2 回答
- 0 关注
- 1261 浏览
添加回答
举报
0/150
提交
取消