Exception occurred expected string or bytes-like object
somhi opened this issue · comments
$ packt-cli -g
[INFO] - JWT token has been fetched successfully!
[INFO] - Start grabbing ebook...
[ERROR] - Exception occurred expected string or bytes-like object
Any ideas on this error I got the last two days ?
I'm on Ubuntu 18.04
What version of Python?
Python 2.7.15rc1
That vesion of Python is not supported ( https://github.com/luk6xff/Packt-Publishing-Free-Learning/blob/master/setup.py#L45-L47 ).
That's true, I'll close the issue.
$ python3 --version
Python 3.6.7
I also have python v3. The thing is the app has worked for more than two months, and a few days ago it started showing that error.
Well now it's working again.
Just for the record I solved reinstalling again the sofware with:
pip3 install packt --upgrade
Cheers