我使用PyInstaller从python3项目中生成一个.exe文件。在
问题是.exe文件中的这个错误Traceback (most recent call last):
File "src\parser\bla.py", line 25, in get_b
File "src\parser\blabla.py", line 32, in __init__
File "src\parser\blablabla.py", line 9, in get_b_a
AttributeError: module 'requests' has no attribute 'get'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 147, in
File "", line 141, in main
File "", line 57, in saving_a
File "src\parser\bla.py", line 26, in get_a
AttributeError: module 'requests' has no attribute 'exceptions'
main returned -1
我的规格是这样的
^{pr2}$
为什么PyInstaller不能正确检测请求模块?
请求包是2.9.1
PyInstaller 3.1版