-
Notifications
You must be signed in to change notification settings - Fork 9
Common Errors and Warnings
From the Reddit API documentation, it sounds like the 401 error is given when your client id/secret are incorrect. Are you using the correct values from the app page?
- Add parser for BeautifulSoup
sublime venv/lib/python3.6/site-packages/PyDictionary/utils.py
# change: return BeautifulSoup(requests.get(url).text)
# to: return BeautifulSoup(requests.get(url).text, 'lxml')
pip
might complain when installing the python-pptx
dependency due to a missing the lxml
dependency.
If this is not resolved automatically, visit this page.
On that page, select the right lxml
version for your platform and Python version (e.g. cp37
= Python 3.7).
In case installing the dependencies complain about Visual C++ version while resolving the python-pptx
dependency,
consider installing a version of Visual Studio.
If pip
complains about a missing mysql.h
, you need to pip install wheel
,
go to mysql wheel download to download the wheel
and run pip install mysqlclient-1.3.8-cp36-cp36m-win_amd64.whl