Traceback (most recent call last):


 "telegram_client.py", line 18, in <module>

client.send_code_request(phone_number)


 "C:\Users\IBM_ADMIN\rcs\Miniconda36\Lib\site-packages\telethon\telegram_client.py", line 323, in send_code_request

result = self(SendCodeRequest(phone, self.api_id, self.api_hash))


 "C:\Users\IBM_ADMIN\rcs\Miniconda36\Lib\site-packages\telethon\telegram_client.py", line 265, in invoke

retries=kwargs.get('retries', 5)


 "C:\Users\IBM_ADMIN\rcs\Miniconda36\Lib\site-packages\telethon\telegram_bare_client.py", line 316, in invoke

self._sender.send(*requests)


 "C:\Users\IBM_ADMIN\rcs\Miniconda36\Lib\site-packages\telethon\network\mtproto_sender.py", line 80, in send

self._send_message(message)


 "C:\Users\IBM_ADMIN\rcs\Miniconda36\Lib\site-packages\telethon\network\mtproto_sender.py", line 130, in _send_message

key_id = struct.pack('<Q', self.session.auth_key.key_id)
AttributeError: 'NoneType' object has no attribute 'key_id'

Traceback (most recent call last):


 "/usr/local/python3.5.1/bin/hub", line 11, in <module>

sys.exit(main())


 "/usr/local/python3.5.1/lib/python3.5/site-packages/paddlehub/commands/hub.py", line 64, in main

command.execute(argv[1:])


 "/usr/local/python3.5.1/lib/python3.5/site-packages/paddlehub/commands/hub.py", line 51, in execute

return command.execute(argv[1:])


 "/usr/local/python3.5.1/lib/python3.5/site-packages/paddlehub/commands/install.py", line 54, in execute

module_dir=argv[0], extra=extra)


 "/usr/local/python3.5.1/lib/python3.5/site-packages/paddlehub/module/manager.py", line 197, in install_module

module_name = hub.Module(directory=module_dir).name


 "/usr/local/python3.5.1/lib/python3.5/site-packages/paddlehub/module/module.py", line 104, in __new__

module = cls.init_with_directory(directory=directory, **kwargs)


 "/usr/local/python3.5.1/lib/python3.5/site-packages/paddlehub/module/module.py", line 200, in init_with_directory

user_module = _item(directory=directory, **kwargs)


 "/usr/local/python3.5.1/lib/python3.5/site-packages/paddlehub/module/module.py", line 146, in __init__

self._initialize(**kwargs)


 "deploy/hubserving/ocr_system/module.py", line 56, in _initialize

self.text_sys = TextSystem(cfg)


 "/home/PaddleOCR/tools/infer/predict_system.py", line 38, in __init__

self.text_detector = predict_det.TextDetector(args)


 "/home/PaddleOCR/tools/infer/predict_det.py", line 45, in __init__

self.use_zero_copy_run = args.use_zero_copy_run
AttributeError: 'Config' object has no attribute 'use_zero_copy_run'