为了账号安全,请及时绑定邮箱和手机立即绑定

这个错误是因为test_port设置错误?

这个错误是因为test_port设置错误?

慕粉4945996 2019-01-05 17:35:05
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
提交
取消
意见反馈 帮助中心 APP下载
官方微信