I am new to Python and Django and want to install mysqlclient on windows. When I use the command pip install django mysqlclient in cmd it throws this error :
File "d:\myprojects\python\mytestdjangoprj\myproject\lib\genericpath.py", line 30, in isfile st = os.stat(path) TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
Please help me.
Alasdair
310k59 gold badges605 silver badges534 bronze badges
1 Answer 1
As Alasdair said , using 64 bit solve problem.thanks Alasdair.
Sign up to request clarification or add additional context in comments.
Comments
default
pip install mysqlclientshould work today as long as you are using 64 bit Python 3.6, 3.7 or 3.8.