# Faild to Install "pipenv install" all dependency for MySQL and VS code-- I was stucked last 4 to 5days ago but still i can not figure out how to fix it. Kindly help me out. It's giving me really bad headache .. please everyone

**URL:** <https://forum.codewithmosh.com/t/faild-to-install-pipenv-install-all-dependency-for-mysql-and-vs-code-i-was-stucked-last-4-to-5days-ago-but-still-i-can-not-figure-out-how-to-fix-it-kindly-help-me-out-its-giving-me-really-bad-headache-please-everyone/17783>\
**Category:** SQL\
**Created:** [January 19, 2023, 7:27am UTC](https://forum.codewithmosh.com/t/faild-to-install-pipenv-install-all-dependency-for-mysql-and-vs-code-i-was-stucked-last-4-to-5days-ago-but-still-i-can-not-figure-out-how-to-fix-it-kindly-help-me-out-its-giving-me-really-bad-headache-please-everyone/17783 "2023-01-19T07:27:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shifathassan2013](https://avatars.discourse-cdn.com/v4/letter/s/eb8c5e/32.png) [@shifathassan2013](https://forum.codewithmosh.com/u/shifathassan2013)\
**Post date:** [January 19, 2023, 7:27am UTC](https://forum.codewithmosh.com/t/faild-to-install-pipenv-install-all-dependency-for-mysql-and-vs-code-i-was-stucked-last-4-to-5days-ago-but-still-i-can-not-figure-out-how-to-fix-it-kindly-help-me-out-its-giving-me-really-bad-headache-please-everyone/17783/1 "2023-01-19T07:27:46Z")

</div>

shifat-macs-MacBook-Pro:storefront shifat-mac$ pipenv install  
Creating a virtualenv for this project…  
Pipfile: /Users/shifat-mac/Resources/Code/5- Django ORM/Start/storefront/Pipfile  
Using /usr/bin/python3 (3.9.6) to create virtualenv…  
⠙ Creating virtual environment…created virtual environment CPython3.9.6.final.0-64 in 185ms  
creator CPython3macOsFramework(dest=/Users/shifat-mac/.local/share/virtualenvs/storefront-fpPpu7Wo, clear=False, no\_vcs\_ignore=False, global=False)  
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app\_data\_dir=/Users/shifat-mac/Library/Application Support/virtualenv)  
added seed packages: pip==22.3.1, setuptools==65.6.3, wheel==0.38.4  
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

✔ Successfully created virtual environment!  
Virtualenv location: /Users/shifat-mac/.local/share/virtualenvs/storefront-fpPpu7Wo  
Installing dependencies from Pipfile.lock (f41128)…  
An error occurred while installing asgiref==3.3.4 ; python\_version \>= ‘3.6’ --hash=sha256:92906c611ce6c967347bbfea733f13d6313901d54dcca88195eaeb52b2a8e8ee --hash=sha256:d1216dfbdfb63826470995d31caed36225dcaf34f182e0fa257a4dd9e86f1b78! Will try again.  
An error occurred while installing django==3.2.4 --hash=sha256:ea735cbbbb3b2fba6d4da4784a0043d84c67c92f1fdf15ad6db69900e792c10f --hash=sha256:66c9d8db8cc6fe938a28b7887c1596e42d522e27618562517cc8929eb7e7f296! Will try again.  
An error occurred while installing django-debug-toolbar==3.2.1 --hash=sha256:e759e63e3fe2d3110e0e519639c166816368701eab4a47fed75d7de7018467b9 --hash=sha256:a5ff2a54f24bf88286f9872836081078f4baa843dc3735ee88524e89f8821e33! Will try again.  
An error occurred while installing mysqlclient==2.0.3 --hash=sha256:f6ebea7c008f155baeefe16c56cd3ee6239f7a5a9ae42396c2f1860f08a7c432 --hash=sha256:fc575093cf81b6605bed84653e48b277318b880dc9becf42dd47fa11ffd3e2b6 --hash=sha256:3381ca1a4f37ff1155fcfde20836b46416d66531add8843f6aa6d968982731c3 --hash=sha256:71c4b330cf2313bbda0307fc858cc9055e64493ba9bf28454d25cf8b3ee8d7f5 --hash=sha256:0ac0dd759c4ca02c35a9fedc24bc982cf75171651e8187c2495ec957a87dfff7! Will try again.  
An error occurred while installing pytz==2021.1 --hash=sha256:eb10ce3e7736052ed3623d49975ce333bcd712c7bb19a58b9e2089d4057d0798 --hash=sha256:83a4a90894bf38e243cf052c8b58f381bfe9a7a483f6a9cab140bc7f702ac4da! Will try again.  
An error occurred while installing sqlparse==0.4.1 ; python\_version \>= ‘3.5’ --hash=sha256:0f91fd2e829c44362cbcfab3e9ae12e22badaa8a29ad5ff599f9ec109f0454e8 --hash=sha256:017cde379adbd6a1f15a61873f43e8274179378e95ef3fede90b5aa64d304ed0! Will try again.  
Installing initially failed dependencies…  
[pipenv.exceptions.InstallError]: Collecting asgiref==3.3.4  
[pipenv.exceptions.InstallError]: Using cached asgiref-3.3.4-py3-none-any.whl (22 kB)  
[pipenv.exceptions.InstallError]: Collecting django==3.2.4  
[pipenv.exceptions.InstallError]: Using cached Django-3.2.4-py3-none-any.whl (7.9 MB)  
[pipenv.exceptions.InstallError]: Collecting django-debug-toolbar==3.2.1  
[pipenv.exceptions.InstallError]: Using cached django\_debug\_toolbar-3.2.1-py3-none-any.whl (199 kB)  
[pipenv.exceptions.InstallError]: Collecting mysqlclient==2.0.3  
[pipenv.exceptions.InstallError]: Using cached mysqlclient-2.0.3.tar.gz (88 kB)  
[pipenv.exceptions.InstallError]: Preparing metadata (setup.py): started  
[pipenv.exceptions.InstallError]: Preparing metadata (setup.py): finished with status ‘error’  
[pipenv.exceptions.InstallError]: error: subprocess-exited-with-error  
[pipenv.exceptions.InstallError]:  
[pipenv.exceptions.InstallError]: × python setup.py egg\_info did not run successfully.  
[pipenv.exceptions.InstallError]: │ exit code: 1  
[pipenv.exceptions.InstallError]: ╰─\> [16 lines of output]  
[pipenv.exceptions.InstallError]: /bin/sh: mysql\_config: command not found  
[pipenv.exceptions.InstallError]: /bin/sh: mariadb\_config: command not found  
[pipenv.exceptions.InstallError]: /bin/sh: mysql\_config: command not found  
[pipenv.exceptions.InstallError]: Traceback (most recent call last):  
[pipenv.exceptions.InstallError]: File “”, line 2, in   
[pipenv.exceptions.InstallError]: File “”, line 34, in   
[pipenv.exceptions.InstallError]: File “/private/var/folders/xj/zd0p7dsd1015nzttdxy8\_hsm0000gn/T/pip-install-h8iobebc/mysqlclient\_97ec3839178f4d4bb9f57c9965ce1816/setup.py”, line 15, in   
[pipenv.exceptions.InstallError]: metadata, options = get\_config()  
[pipenv.exceptions.InstallError]: File “/private/var/folders/xj/zd0p7dsd1015nzttdxy8\_hsm0000gn/T/pip-install-h8iobebc/mysqlclient\_97ec3839178f4d4bb9f57c9965ce1816/setup\_posix.py”, line 70, in get\_config  
[pipenv.exceptions.InstallError]: libs = mysql\_config(“libs”)  
[pipenv.exceptions.InstallError]: File “/private/var/folders/xj/zd0p7dsd1015nzttdxy8\_hsm0000gn/T/pip-install-h8iobebc/mysqlclient\_97ec3839178f4d4bb9f57c9965ce1816/setup\_posix.py”, line 31, in mysql\_config  
[pipenv.exceptions.InstallError]: raise OSError(“{} not found”.format(\_mysql\_config\_path))  
[pipenv.exceptions.InstallError]: OSError: mysql\_config not found  
[pipenv.exceptions.InstallError]: mysql\_config --version  
[pipenv.exceptions.InstallError]: mariadb\_config --version  
[pipenv.exceptions.InstallError]: mysql\_config --libs  
[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: metadata-generation-failed  
[pipenv.exceptions.InstallError]:  
[pipenv.exceptions.InstallError]: × Encountered error while generating package metadata.  
[pipenv.exceptions.InstallError]: ╰─\> See above for output.  
[pipenv.exceptions.InstallError]:  
[pipenv.exceptions.InstallError]: note: This is an issue with the package mentioned above, not pip.  
[pipenv.exceptions.InstallError]: hint: See above for details.  
ERROR: Couldn’t install package: [Requirement(\_name=‘asgiref’, vcs=None, req=NamedRequirement(name=‘asgiref’, version=‘==3.3.4’, req=Requirement.parse(‘asgiref==3.3.4; python\_version \>= “3.6”’), extras=, editable=False, \_parsed\_line=\<Line (editable=False, name=asgiref, path=None, uri=None, extras=(), markers=python\_version \>= ‘3.6’, vcs=None, specifier===3.3.4, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=asgiref==3.3.4)\>), markers=‘python\_version \>= “3.6”’, \_specifiers=‘==3.3.4’, index=None, editable=False, hashes=frozenset({‘sha256:92906c611ce6c967347bbfea733f13d6313901d54dcca88195eaeb52b2a8e8ee’, ‘sha256:d1216dfbdfb63826470995d31caed36225dcaf34f182e0fa257a4dd9e86f1b78’}), extras=(), abstract\_dep=None, \_line\_instance=\<Line (editable=False, name=asgiref, path=None, uri=None, extras=(), markers=python\_version \>= ‘3.6’, vcs=None, specifier===3.3.4, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=asgiref==3.3.4)\>, \_ireq=None), Requirement(\_name=‘django’, vcs=None, req=NamedRequirement(name=‘django’, version=‘==3.2.4’, req=Requirement.parse(‘django==3.2.4’), extras=, editable=False, \_parsed\_line=\<Line (editable=False, name=django, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===3.2.4, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=django==3.2.4)\>), markers=None, \_specifiers=‘==3.2.4’, index=‘pypi’, editable=False, hashes=frozenset({‘sha256:ea735cbbbb3b2fba6d4da4784a0043d84c67c92f1fdf15ad6db69900e792c10f’, ‘sha256:66c9d8db8cc6fe938a28b7887c1596e42d522e27618562517cc8929eb7e7f296’}), extras=(), abstract\_dep=None, \_line\_instance=\<Line (editable=False, name=django, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===3.2.4, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=django==3.2.4)\>, \_ireq=None), Requirement(\_name=‘django-debug-toolbar’, vcs=None, req=NamedRequirement(name=‘django-debug-toolbar’, version=‘==3.2.1’, req=Requirement.parse(‘django-debug-toolbar==3.2.1’), extras=, editable=False, \_parsed\_line=\<Line (editable=False, name=django-debug-toolbar, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===3.2.1, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=django-debug-toolbar==3.2.1)\>), markers=None, \_specifiers=‘==3.2.1’, index=‘pypi’, editable=False, hashes=frozenset({‘sha256:e759e63e3fe2d3110e0e519639c166816368701eab4a47fed75d7de7018467b9’, ‘sha256:a5ff2a54f24bf88286f9872836081078f4baa843dc3735ee88524e89f8821e33’}), extras=(), abstract\_dep=None, \_line\_instance=\<Line (editable=False, name=django-debug-toolbar, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===3.2.1, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=django-debug-toolbar==3.2.1)\>, \_ireq=None), Requirement(\_name=‘mysqlclient’, vcs=None, req=NamedRequirement(name=‘mysqlclient’, version=‘==2.0.3’, req=Requirement.parse(‘mysqlclient==2.0.3’), extras=, editable=False, \_parsed\_line=\<Line (editable=False, name=mysqlclient, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===2.0.3, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=mysqlclient==2.0.3)\>), markers=None, \_specifiers=‘==2.0.3’, index=‘pypi’, editable=False, hashes=frozenset({‘sha256:f6ebea7c008f155baeefe16c56cd3ee6239f7a5a9ae42396c2f1860f08a7c432’, ‘sha256:fc575093cf81b6605bed84653e48b277318b880dc9becf42dd47fa11ffd3e2b6’, ‘sha256:3381ca1a4f37ff1155fcfde20836b46416d66531add8843f6aa6d968982731c3’, ‘sha256:71c4b330cf2313bbda0307fc858cc9055e64493ba9bf28454d25cf8b3ee8d7f5’, ‘sha256:0ac0dd759c4ca02c35a9fedc24bc982cf75171651e8187c2495ec957a87dfff7’}), extras=(), abstract\_dep=None, \_line\_instance=\<Line (editable=False, name=mysqlclient, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===2.0.3, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=mysqlclient==2.0.3)\>, \_ireq=None), Requirement(\_name=‘pytz’, vcs=None, req=NamedRequirement(name=‘pytz’, version=‘==2021.1’, req=Requirement.parse(‘pytz==2021.1’), extras=, editable=False, \_parsed\_line=\<Line (editable=False, name=pytz, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===2021.1, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=pytz==2021.1)\>), markers=None, \_specifiers=‘==2021.1’, index=None, editable=False, hashes=frozenset({‘sha256:eb10ce3e7736052ed3623d49975ce333bcd712c7bb19a58b9e2089d4057d0798’, ‘sha256:83a4a90894bf38e243cf052c8b58f381bfe9a7a483f6a9cab140bc7f702ac4da’}), extras=(), abstract\_dep=None, \_line\_instance=\<Line (editable=False, name=pytz, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===2021.1, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=pytz==2021.1)\>, \_ireq=None), Requirement(\_name=‘sqlparse’, vcs=None, req=NamedRequirement(name=‘sqlparse’, version=‘==0.4.1’, req=Requirement.parse(‘sqlparse==0.4.1; python\_version \>= “3.5”’), extras=, editable=False, \_parsed\_line=\<Line (editable=False, name=sqlparse, path=None, uri=None, extras=(), markers=python\_version \>= ‘3.5’, vcs=None, specifier===0.4.1, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=sqlparse==0.4.1)\>), markers=‘python\_version \>= “3.5”’, \_specifiers=‘==0.4.1’, index=None, editable=False, hashes=frozenset({‘sha256:0f91fd2e829c44362cbcfab3e9ae12e22badaa8a29ad5ff599f9ec109f0454e8’, ‘sha256:017cde379adbd6a1f15a61873f43e8274179378e95ef3fede90b5aa64d304ed0’}), extras=(), abstract\_dep=None, \_line\_instance=\<Line (editable=False, name=sqlparse, path=None, uri=None, extras=(), markers=python\_version \>= ‘3.5’, vcs=None, specifier===0.4.1, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=sqlparse==0.4.1)\>, \_ireq=None)]  
Package installation failed…  
shifat-macs-MacBook-Pro:storefront shifat-mac$ pipenv install  
Installing dependencies from Pipfile.lock (f41128)…  
An error occurred while installing asgiref==3.3.4 ; python\_version \>= ‘3.6’ --hash=sha256:d1216dfbdfb63826470995d31caed36225dcaf34f182e0fa257a4dd9e86f1b78 --hash=sha256:92906c611ce6c967347bbfea733f13d6313901d54dcca88195eaeb52b2a8e8ee! Will try again.  
An error occurred while installing django==3.2.4 --hash=sha256:66c9d8db8cc6fe938a28b7887c1596e42d522e27618562517cc8929eb7e7f296 --hash=sha256:ea735cbbbb3b2fba6d4da4784a0043d84c67c92f1fdf15ad6db69900e792c10f! Will try again.  
An error occurred while installing django-debug-toolbar==3.2.1 --hash=sha256:a5ff2a54f24bf88286f9872836081078f4baa843dc3735ee88524e89f8821e33 --hash=sha256:e759e63e3fe2d3110e0e519639c166816368701eab4a47fed75d7de7018467b9! Will try again.  
An error occurred while installing mysqlclient==2.0.3 --hash=sha256:0ac0dd759c4ca02c35a9fedc24bc982cf75171651e8187c2495ec957a87dfff7 --hash=sha256:71c4b330cf2313bbda0307fc858cc9055e64493ba9bf28454d25cf8b3ee8d7f5 --hash=sha256:f6ebea7c008f155baeefe16c56cd3ee6239f7a5a9ae42396c2f1860f08a7c432 --hash=sha256:3381ca1a4f37ff1155fcfde20836b46416d66531add8843f6aa6d968982731c3 --hash=sha256:fc575093cf81b6605bed84653e48b277318b880dc9becf42dd47fa11ffd3e2b6! Will try again.  
An error occurred while installing pytz==2021.1 --hash=sha256:eb10ce3e7736052ed3623d49975ce333bcd712c7bb19a58b9e2089d4057d0798 --hash=sha256:83a4a90894bf38e243cf052c8b58f381bfe9a7a483f6a9cab140bc7f702ac4da! Will try again.  
An error occurred while installing sqlparse==0.4.1 ; python\_version \>= ‘3.5’ --hash=sha256:017cde379adbd6a1f15a61873f43e8274179378e95ef3fede90b5aa64d304ed0 --hash=sha256:0f91fd2e829c44362cbcfab3e9ae12e22badaa8a29ad5ff599f9ec109f0454e8! Will try again.  
Installing initially failed dependencies…  
pipen[pipenv.exceptions.InstallError]: Collecting asgiref==3.3.4  
[pipenv.exceptions.InstallError]: Using cached asgiref-3.3.4-py3-none-any.whl (22 kB)  
[pipenv.exceptions.InstallError]: Collecting django==3.2.4  
[pipenv.exceptions.InstallError]: Using cached Django-3.2.4-py3-none-any.whl (7.9 MB)  
[pipenv.exceptions.InstallError]: Collecting django-debug-toolbar==3.2.1  
[pipenv.exceptions.InstallError]: Using cached django\_debug\_toolbar-3.2.1-py3-none-any.whl (199 kB)  
[pipenv.exceptions.InstallError]: Collecting mysqlclient==2.0.3  
[pipenv.exceptions.InstallError]: Using cached mysqlclient-2.0.3.tar.gz (88 kB)  
[pipenv.exceptions.InstallError]: Preparing metadata (setup.py): started  
[pipenv.exceptions.InstallError]: Preparing metadata (setup.py): finished with status ‘error’  
[pipenv.exceptions.InstallError]: error: subprocess-exited-with-error  
[pipenv.exceptions.InstallError]:  
[pipenv.exceptions.InstallError]: × python setup.py egg\_info did not run successfully.  
[pipenv.exceptions.InstallError]: │ exit code: 1  
[pipenv.exceptions.InstallError]: ╰─\> [16 lines of output]  
[pipenv.exceptions.InstallError]: /bin/sh: mysql\_config: command not found  
[pipenv.exceptions.InstallError]: /bin/sh: mariadb\_config: command not found  
[pipenv.exceptions.InstallError]: /bin/sh: mysql\_config: command not found  
[pipenv.exceptions.InstallError]: Traceback (most recent call last):  
[pipenv.exceptions.InstallError]: File “”, line 2, in   
[pipenv.exceptions.InstallError]: File “”, line 34, in   
[pipenv.exceptions.InstallError]: File “/private/var/folders/xj/zd0p7dsd1015nzttdxy8\_hsm0000gn/T/pip-install-p9rb0u5x/mysqlclient\_17e4b7d60c4c4153b3bda77e8bb72053/setup.py”, line 15, in   
[pipenv.exceptions.InstallError]: metadata, options = get\_config()  
[pipenv.exceptions.InstallError]: File “/private/var/folders/xj/zd0p7dsd1015nzttdxy8\_hsm0000gn/T/pip-install-p9rb0u5x/mysqlclient\_17e4b7d60c4c4153b3bda77e8bb72053/setup\_posix.py”, line 70, in get\_config  
[pipenv.exceptions.InstallError]: libs = mysql\_config(“libs”)  
[pipenv.exceptions.InstallError]: File “/private/var/folders/xj/zd0p7dsd1015nzttdxy8\_hsm0000gn/T/pip-install-p9rb0u5x/mysqlclient\_17e4b7d60c4c4153b3bda77e8bb72053/setup\_posix.py”, line 31, in mysql\_config  
[pipenv.exceptions.InstallError]: raise OSError(“{} not found”.format(\_mysql\_config\_path))  
[pipenv.exceptions.InstallError]: OSError: mysql\_config not found  
[pipenv.exceptions.InstallError]: mysql\_config --version  
[pipenv.exceptions.InstallError]: mariadb\_config --version  
[pipenv.exceptions.InstallError]: mysql\_config --libs  
[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: metadata-generation-failed  
[pipenv.exceptions.InstallError]:  
[pipenv.exceptions.InstallError]: × Encountered error while generating package metadata.  
[pipenv.exceptions.InstallError]: ╰─\> See above for output.  
[pipenv.exceptions.InstallError]:  
[pipenv.exceptions.InstallError]: note: This is an issue with the package mentioned above, not pip.  
[pipenv.exceptions.InstallError]: hint: See above for details.  
ERROR: Couldn’t install package: [Requirement(\_name=‘asgiref’, vcs=None, req=NamedRequirement(name=‘asgiref’, version=‘==3.3.4’, req=Requirement.parse(‘asgiref==3.3.4; python\_version \>= “3.6”’), extras=, editable=False, \_parsed\_line=\<Line (editable=False, name=asgiref, path=None, uri=None, extras=(), markers=python\_version \>= ‘3.6’, vcs=None, specifier===3.3.4, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=asgiref==3.3.4)\>), markers=‘python\_version \>= “3.6”’, \_specifiers=‘==3.3.4’, index=None, editable=False, hashes=frozenset({‘sha256:d1216dfbdfb63826470995d31caed36225dcaf34f182e0fa257a4dd9e86f1b78’, ‘sha256:92906c611ce6c967347bbfea733f13d6313901d54dcca88195eaeb52b2a8e8ee’}), extras=(), abstract\_dep=None, \_line\_instance=\<Line (editable=False, name=asgiref, path=None, uri=None, extras=(), markers=python\_version \>= ‘3.6’, vcs=None, specifier===3.3.4, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=asgiref==3.3.4)\>, \_ireq=None), Requirement(\_name=‘django’, vcs=None, req=NamedRequirement(name=‘django’, version=‘==3.2.4’, req=Requirement.parse(‘django==3.2.4’), extras=, editable=False, \_parsed\_line=\<Line (editable=False, name=django, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===3.2.4, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=django==3.2.4)\>), markers=None, \_specifiers=‘==3.2.4’, index=‘pypi’, editable=False, hashes=frozenset({‘sha256:66c9d8db8cc6fe938a28b7887c1596e42d522e27618562517cc8929eb7e7f296’, ‘sha256:ea735cbbbb3b2fba6d4da4784a0043d84c67c92f1fdf15ad6db69900e792c10f’}), extras=(), abstract\_dep=None, \_line\_instance=\<Line (editable=False, name=django, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===3.2.4, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=django==3.2.4)\>, \_ireq=None), Requirement(\_name=‘django-debug-toolbar’, vcs=None, req=NamedRequirement(name=‘django-debug-toolbar’, version=‘==3.2.1’, req=Requirement.parse(‘django-debug-toolbar==3.2.1’), extras=, editable=False, \_parsed\_line=\<Line (editable=False, name=django-debug-toolbar, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===3.2.1, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=django-debug-toolbar==3.2.1)\>), markers=None, \_specifiers=‘==3.2.1’, index=‘pypi’, editable=False, hashes=frozenset({‘sha256:a5ff2a54f24bf88286f9872836081078f4baa843dc3735ee88524e89f8821e33’, ‘sha256:e759e63e3fe2d3110e0e519639c166816368701eab4a47fed75d7de7018467b9’}), extras=(), abstract\_dep=None, \_line\_instance=\<Line (editable=False, name=django-debug-toolbar, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===3.2.1, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=django-debug-toolbar==3.2.1)\>, \_ireq=None), Requirement(\_name=‘mysqlclient’, vcs=None, req=NamedRequirement(name=‘mysqlclient’, version=‘==2.0.3’, req=Requirement.parse(‘mysqlclient==2.0.3’), extras=, editable=False, \_parsed\_line=\<Line (editable=False, name=mysqlclient, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===2.0.3, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=mysqlclient==2.0.3)\>), markers=None, \_specifiers=‘==2.0.3’, index=‘pypi’, editable=False, hashes=frozenset({‘sha256:0ac0dd759c4ca02c35a9fedc24bc982cf75171651e8187c2495ec957a87dfff7’, ‘sha256:71c4b330cf2313bbda0307fc858cc9055e64493ba9bf28454d25cf8b3ee8d7f5’, ‘sha256:f6ebea7c008f155baeefe16c56cd3ee6239f7a5a9ae42396c2f1860f08a7c432’, ‘sha256:3381ca1a4f37ff1155fcfde20836b46416d66531add8843f6aa6d968982731c3’, ‘sha256:fc575093cf81b6605bed84653e48b277318b880dc9becf42dd47fa11ffd3e2b6’}), extras=(), abstract\_dep=None, \_line\_instance=\<Line (editable=False, name=mysqlclient, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===2.0.3, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=mysqlclient==2.0.3)\>, \_ireq=None), Requirement(\_name=‘pytz’, vcs=None, req=NamedRequirement(name=‘pytz’, version=‘==2021.1’, req=Requirement.parse(‘pytz==2021.1’), extras=, editable=False, \_parsed\_line=\<Line (editable=False, name=pytz, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===2021.1, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=pytz==2021.1)\>), markers=None, \_specifiers=‘==2021.1’, index=None, editable=False, hashes=frozenset({‘sha256:eb10ce3e7736052ed3623d49975ce333bcd712c7bb19a58b9e2089d4057d0798’, ‘sha256:83a4a90894bf38e243cf052c8b58f381bfe9a7a483f6a9cab140bc7f702ac4da’}), extras=(), abstract\_dep=None, \_line\_instance=\<Line (editable=False, name=pytz, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===2021.1, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=pytz==2021.1)\>, \_ireq=None), Requirement(\_name=‘sqlparse’, vcs=None, req=NamedRequirement(name=‘sqlparse’, version=‘==0.4.1’, req=Requirement.parse(‘sqlparse==0.4.1; python\_version \>= “3.5”’), extras=, editable=False, \_parsed\_line=\<Line (editable=False, name=sqlparse, path=None, uri=None, extras=(), markers=python\_version \>= ‘3.5’, vcs=None, specifier===0.4.1, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=sqlparse==0.4.1)\>), markers=‘python\_version \>= “3.5”’, \_specifiers=‘==0.4.1’, index=None, editable=False, hashes=frozenset({‘sha256:017cde379adbd6a1f15a61873f43e8274179378e95ef3fede90b5aa64d304ed0’, ‘sha256:0f91fd2e829c44362cbcfab3e9ae12e22badaa8a29ad5ff599f9ec109f0454e8’}), extras=(), abstract\_dep=None, \_line\_instance=\<Line (editable=False, name=sqlparse, path=None, uri=None, extras=(), markers=python\_version \>= ‘3.5’, vcs=None, specifier===0.4.1, pyproject=None, pyproject\_requires=None, pyproject\_backend=None, ireq=sqlparse==0.4.1)\>, \_ireq=None)]  
Package installation failed…

---

<div class="post-metadata">

**Author:** ![Phinna](https://avatars.discourse-cdn.com/v4/letter/p/a3d4f5/32.png) [@Phinna](https://forum.codewithmosh.com/u/Phinna)\
**Post date:** [January 19, 2023, 6:52pm UTC](https://forum.codewithmosh.com/t/faild-to-install-pipenv-install-all-dependency-for-mysql-and-vs-code-i-was-stucked-last-4-to-5days-ago-but-still-i-can-not-figure-out-how-to-fix-it-kindly-help-me-out-its-giving-me-really-bad-headache-please-everyone/17783/2 "2023-01-19T18:52:20Z")

</div>

Maybe you can try to create a virtual environment first, and then install dependencies in the virtual environment:

1. pipenv shell
2. pipenv install

---

<div class="post-metadata">

**Author:** ![sabhack](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@sabhack](https://forum.codewithmosh.com/u/sabhack)\
**Post date:** [February 2, 2023, 8:48am UTC](https://forum.codewithmosh.com/t/faild-to-install-pipenv-install-all-dependency-for-mysql-and-vs-code-i-was-stucked-last-4-to-5days-ago-but-still-i-can-not-figure-out-how-to-fix-it-kindly-help-me-out-its-giving-me-really-bad-headache-please-everyone/17783/3 "2023-02-02T08:48:06Z")

</div>

I am currently experiencing the same problem I need help

---

<div class="post-metadata">

**Author:** ![sabhack](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@sabhack](https://forum.codewithmosh.com/u/sabhack)\
**Post date:** [February 4, 2023, 1:44pm UTC](https://forum.codewithmosh.com/t/faild-to-install-pipenv-install-all-dependency-for-mysql-and-vs-code-i-was-stucked-last-4-to-5days-ago-but-still-i-can-not-figure-out-how-to-fix-it-kindly-help-me-out-its-giving-me-really-bad-headache-please-everyone/17783/4 "2023-02-04T13:44:50Z")

</div>

Solution to the problem

> [@How to fix mysqlclient error?](https://forum.codewithmosh.com/t/how-to-fix-mysqlclient-error/17837/3):
>
> The error is due to your ~/.bashrc or ~/.zshrc file doesn’t have django path properly point. It took me 3 days to fix the error after several searching here and there Add django to your path. open python, import django, then run django to see django’s path. then add it to your ~/.bashrc (or ~/.zshrc if you’re using zsh). more info in [here](https://askubuntu.com/a/60219/970218) export PATH =" put your path here " Save the file and that should solve the problem heart_eyes

---

<div class="post-metadata">

**Author:** ![ncdanhvn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/ncdanhvn/32/6092_2.png) [@ncdanhvn](https://forum.codewithmosh.com/u/ncdanhvn)\
**Post date:** [April 20, 2023, 2:29am UTC](https://forum.codewithmosh.com/t/faild-to-install-pipenv-install-all-dependency-for-mysql-and-vs-code-i-was-stucked-last-4-to-5days-ago-but-still-i-can-not-figure-out-how-to-fix-it-kindly-help-me-out-its-giving-me-really-bad-headache-please-everyone/17783/5 "2023-04-20T02:29:38Z")

</div>

I have the same problem, could not “pipenv install” to start project.  
But it was solved by start from the fresh and at the begining, change the required python version in pipfile from “3.9” to “\*3.9”  
Or you can delete the required python version like suggestion in pipenv document:

> Blockquote  
> The inclusion of `[requires] python_version = "3.6"` specifies that your application requires this version of Python, and will be used automatically when running `pipenv install` against this `Pipfile` in the future (e.g. on other machines). If this is not true, feel free to simply remove this section.

---

<div class="post-metadata">

**Author:** ![jendives](https://avatars.discourse-cdn.com/v4/letter/j/9dc877/32.png) [@jendives](https://forum.codewithmosh.com/u/jendives)\
**Post date:** [April 3, 2024, 12:06pm UTC](https://forum.codewithmosh.com/t/faild-to-install-pipenv-install-all-dependency-for-mysql-and-vs-code-i-was-stucked-last-4-to-5days-ago-but-still-i-can-not-figure-out-how-to-fix-it-kindly-help-me-out-its-giving-me-really-bad-headache-please-everyone/17783/6 "2024-04-03T12:06:10Z")

</div>

Yes, the solution is to change the python version to “\*3.9”, meaning version 3.9 and up are valid, or just “\*” meaning all versions are good to go.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/4/482e44718a404d37668cb8ab6f8560deb4f7a5ae.png)
