0

I am trying to install the MySQL connector for python but I get the error

The installer has insufficient privileges to access this directory C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.1776.0_x64__qbz5n2kfra8p0\Lib\site-packages\mysql

This is while we I am running as administrator

2
  • 3
    You are not supposed to have ownership of that directory. You will have to install the normal version of Python that isn’t from the Windows Store.
    – Ramhound
    Commented Feb 15, 2020 at 22:28
  • Official Python releases for Windows (Non-Microsoft Store versions). Commented Feb 16, 2020 at 1:15

1 Answer 1

0

Try installing the connector using the command prompt:

python -m pip install mysqlclient
python -m pip install mysql-connector-python
python -m pip install pymysql

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .