http://localhost:50070/? 可以登錄-----------下面這樣設(shè)置的-------------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 回答
- 0 關(guān)注
- 1320 瀏覽
添加回答
舉報
0/150
提交
取消