hi
in last week i try to dissolve this problem and i try all the ways in internet , unfortunately it’s not solved
my error is :
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
PS C:\Users\mahdi\Desktop\storefront2> pipenv install
Installing dependencies from Pipfile.lock (f6695a)...
[pipenv.exceptions.InstallError]: Collecting mysqlclient==2.2.4 (from -r c:\users\mahdi\appdata\local\temp\pipenv-iyxuu9d6-requirements\pipenv-acufo2xz-hashed-reqs.txt (line 1))
[pipenv.exceptions.InstallError]: Using cached mysqlclient-2.2.4.tar.gz (90 kB)
[pipenv.exceptions.InstallError]: Installing build dependencies: started
[pipenv.exceptions.InstallError]: Installing build dependencies: finished with status 'done'
[pipenv.exceptions.InstallError]: Getting requirements to build wheel: started
[pipenv.exceptions.InstallError]: Getting requirements to build wheel: finished with status 'done'
[pipenv.exceptions.InstallError]: Installing backend dependencies: started
[pipenv.exceptions.InstallError]: Installing backend dependencies: finished with status 'done'
[pipenv.exceptions.InstallError]: Preparing metadata (pyproject.toml): started
[pipenv.exceptions.InstallError]: Preparing metadata (pyproject.toml): finished with status 'done'
[pipenv.exceptions.InstallError]: Building wheels for collected packages: mysqlclient
[pipenv.exceptions.InstallError]: Building wheel for mysqlclient (pyproject.toml): started
[pipenv.exceptions.InstallError]: Building wheel for mysqlclient (pyproject.toml): finished with status 'error'
[pipenv.exceptions.InstallError]: Failed to build mysqlclient
[pipenv.exceptions.InstallError]: error: subprocess-exited-with-error
[pipenv.exceptions.InstallError]:
[pipenv.exceptions.InstallError]: × Building wheel for mysqlclient (pyproject.toml) did not run successfully.
[pipenv.exceptions.InstallError]: │ exit code: 1
[pipenv.exceptions.InstallError]: ╰─> [41 lines of output]
[pipenv.exceptions.InstallError]: # Options for building extension module:
[pipenv.exceptions.InstallError]: library_dirs: ['C:/mariadb-connector\\lib\\mariadb', 'C:/mariadb-connector\\lib']
[pipenv.exceptions.InstallError]: libraries: ['kernel32', 'advapi32', 'wsock32', 'shlwapi', 'Ws2_32', 'crypt32', 'secur32', 'bcrypt', 'mariadbclient']
[pipenv.exceptions.InstallError]: extra_link_args: ['/MANIFEST']
[pipenv.exceptions.InstallError]: include_dirs: ['C:/mariadb-connector\\include\\mariadb', 'C:/mariadb-connector\\include']
[pipenv.exceptions.InstallError]: extra_objects: []
[pipenv.exceptions.InstallError]: define_macros: [('version_info', (2, 2, 4, 'final', 0)), ('__version__', '2.2.4')]
[pipenv.exceptions.InstallError]: running bdist_wheel
[pipenv.exceptions.InstallError]: running build
[pipenv.exceptions.InstallError]: running build_py
[pipenv.exceptions.InstallError]: creating build
[pipenv.exceptions.InstallError]: creating build\lib.win32-cpython-39
[pipenv.exceptions.InstallError]: creating build\lib.win32-cpython-39\MySQLdb
[pipenv.exceptions.InstallError]: copying src\MySQLdb\connections.py -> build\lib.win32-cpython-39\MySQLdb
[pipenv.exceptions.InstallError]: copying src\MySQLdb\converters.py -> build\lib.win32-cpython-39\MySQLdb
[pipenv.exceptions.InstallError]: copying src\MySQLdb\cursors.py -> build\lib.win32-cpython-39\MySQLdb
[pipenv.exceptions.InstallError]: copying src\MySQLdb\release.py -> build\lib.win32-cpython-39\MySQLdb
[pipenv.exceptions.InstallError]: copying src\MySQLdb\times.py -> build\lib.win32-cpython-39\MySQLdb
[pipenv.exceptions.InstallError]: copying src\MySQLdb\_exceptions.py -> build\lib.win32-cpython-39\MySQLdb
[pipenv.exceptions.InstallError]: copying src\MySQLdb\__init__.py -> build\lib.win32-cpython-39\MySQLdb
[pipenv.exceptions.InstallError]: creating build\lib.win32-cpython-39\MySQLdb\constants
[pipenv.exceptions.InstallError]: copying src\MySQLdb\constants\CLIENT.py -> build\lib.win32-cpython-39\MySQLdb\constants
[pipenv.exceptions.InstallError]: copying src\MySQLdb\constants\CR.py -> build\lib.win32-cpython-39\MySQLdb\constants
[pipenv.exceptions.InstallError]: copying src\MySQLdb\constants\ER.py -> build\lib.win32-cpython-39\MySQLdb\constants
[pipenv.exceptions.InstallError]: copying src\MySQLdb\constants\FIELD_TYPE.py -> build\lib.win32-cpython-39\MySQLdb\constants
[pipenv.exceptions.InstallError]: copying src\MySQLdb\constants\FLAG.py -> build\lib.win32-cpython-39\MySQLdb\constants
[pipenv.exceptions.InstallError]: copying src\MySQLdb\constants\__init__.py -> build\lib.win32-cpython-39\MySQLdb\constants
[pipenv.exceptions.InstallError]: running egg_info
[pipenv.exceptions.InstallError]: writing src\mysqlclient.egg-info\PKG-INFO
[pipenv.exceptions.InstallError]: writing dependency_links to src\mysqlclient.egg-info\dependency_links.txt
[pipenv.exceptions.InstallError]: writing top-level names to src\mysqlclient.egg-info\top_level.txt
[pipenv.exceptions.InstallError]: reading manifest file 'src\mysqlclient.egg-info\SOURCES.txt'
[pipenv.exceptions.InstallError]: reading manifest template 'MANIFEST.in'
[pipenv.exceptions.InstallError]: adding license file 'LICENSE'
[pipenv.exceptions.InstallError]: writing manifest file 'src\mysqlclient.egg-info\SOURCES.txt'
[pipenv.exceptions.InstallError]: copying src\MySQLdb\_mysql.c -> build\lib.win32-cpython-39\MySQLdb
[pipenv.exceptions.InstallError]: warning: build_py: byte-compiling is disabled, skipping.
[pipenv.exceptions.InstallError]:
[pipenv.exceptions.InstallError]: running build_ext
[pipenv.exceptions.InstallError]: building 'MySQLdb._mysql' extension
[pipenv.exceptions.InstallError]: error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[pipenv.exceptions.InstallError]: [end of output]
[pipenv.exceptions.InstallError]:
[pipenv.exceptions.InstallError]: note: This error originates from a subprocess, and is likely not a problem with pip.
[pipenv.exceptions.InstallError]: ERROR: Failed building wheel for mysqlclient
[pipenv.exceptions.InstallError]: ERROR: Could not build wheels for mysqlclient, which is required to install pyproject.toml-based projects
ERROR: Couldn't install package: {}
Package installation failed...