If you use pyinstaller & requests module. And If you get error no module named requests.packages.chardet.sys
You have to check requests module's version.
Go to concole type following sentence.
1. python [enter]
2. import requests [enter]
3. requests.__version__ [enter]
Now you can see requests' version.
Is version 2.6.0?
Oh my god. Yes! Find it!
Please uninstall that.
with this command
pip uninstall requests
And you have to install 2.5.0
pip install requests==2.5.0
Then there is no error!!! :) Do this!!
No comments:
Post a Comment