Thank you very much for helping me on this.
yes i have acticated the venv as you can see below. but still i face the issue.
âââ
chandanm@Chandans-MacBook-Air demo % pipenv shell
Launching subshell in virtual environmentâŚ
. /Users/chandanm/.local/share/virtualenvs/demo-IqFOio-m/bin/activate
chandanm@Chandans-MacBook-Air demo % . /Users/chandanm/.local/share/virtualenvs/demo-IqFOio-m/bin/activate
(demo) chandanm@Chandans-MacBook-Air demo % pipenv install mysqlclient
Installing mysqlclientâŚ
Resolving mysqlclientâŚ
Added mysqlclient to Pipfileâs [packages] âŚ
Installation Succeeded
Pipfile.lock (e35515) out of date, updating to (537503)âŚ
Locking [packages] dependenciesâŚ
Building requirementsâŚ
Resolving dependenciesâŚ
â Locking Failed!
â ´ LockingâŚFalse
ERROR:pip.subprocessor:Getting requirements to build wheel exited with 1
[ResolutionFailure]: File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/resolver.pyâ, line 645, in _main
[ResolutionFailure]: resolve_packages(
[ResolutionFailure]: File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/resolver.pyâ, line 612, in resolve_packages
[ResolutionFailure]: results, resolver = resolve(
[ResolutionFailure]: ^^^^^^^^
[ResolutionFailure]: File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/resolver.pyâ, line 592, in resolve
[ResolutionFailure]: return resolve_deps(
[ResolutionFailure]: ^^^^^^^^^^^^^
[ResolutionFailure]: File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/utils/resolver.pyâ, line 908, in resolve_deps
[ResolutionFailure]: results, hashes, internal_resolver = actually_resolve_deps(
[ResolutionFailure]: ^^^^^^^^^^^^^^^^^^^^^^
[ResolutionFailure]: File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/utils/resolver.pyâ, line 681, in actually_resolve_deps
[ResolutionFailure]: resolver.resolve()
[ResolutionFailure]: File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/utils/resolver.pyâ, line 442, in resolve
[ResolutionFailure]: raise ResolutionFailure(message=str(e))
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
You can use pipenv run pip install <requirement_name> to bypass this mechanism, then run pipenv graph to inspect the versions actually installed in the virtualenv.
Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: Getting requirements to build wheel exited with 1
Traceback (most recent call last):
File â/Library/Frameworks/Python.framework/Versions/3.12/bin/pipenvâ, line 8, in
sys.exit(cli())
^^^^^
File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/vendor/click/core.pyâ, line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/cli/options.pyâ, line 58, in main
return super().main(*args, **kwargs, windows_expand_args=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/vendor/click/core.pyâ, line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/vendor/click/core.pyâ, line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/vendor/click/core.pyâ, line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/vendor/click/core.pyâ, line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/vendor/click/decorators.pyâ, line 92, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/vendor/click/core.pyâ, line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/cli/command.pyâ, line 209, in install
do_install(
File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/routines/install.pyâ, line 297, in do_install
raise e
File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/routines/install.pyâ, line 281, in do_install
do_init(
File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/routines/install.pyâ, line 648, in do_init
do_lock(
File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/routines/lock.pyâ, line 65, in do_lock
venv_resolve_deps(
File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/utils/resolver.pyâ, line 849, in venv_resolve_deps
c = resolve(cmd, st, project=project)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File â/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pipenv/utils/resolver.pyâ, line 718, in resolve
raise RuntimeError(âFailed to lock Pipfile.lock!â)
RuntimeError: Failed to lock Pipfile.lock! âââ