× pip subprocess to install backend dependencies did not run successfully.
│ exit code: 1
╰─> [31 lines of output]
Collecting distribute
Using cached distribute-0.7.3.zip (145 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
Preparing metadata (pyproject.toml) did not run successfully.
exit code: 1
[6 lines of output]
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'dist_info'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
Encountered error while generating package metadata.
See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install backend dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.`
On Sun, 9 Jul 2023, 12:08 pm Dishan Sachin, ***@***.***> wrote:
what is the operating system you using?
Reply to this email directly, view it on GitHub
<
#472 (comment)>,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/A2UYUQ6QH6UVAM6MNDZ67ELXPLJQLANCNFSM6AAAAAA2B3CR74>
You are receiving this because you authored the thread.Message ID:
***@***.***>
I get a similar error on MacOS (Monterey 12.6.7) Python 3.11.4. pip install wheel setuptools pip --upgrade
requirements are all satisfied. I'm not sure if I should be making a new issue or posting here, sorry. I've shortened the error messages in some places with an ellipsis.
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [83 lines of output]
/usr/local/lib/python3.11/site-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
Using pip install --use-pep517
:
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
from pkg_resources import Distribution, PathMetadata, ensure_directory
File "/private/var/folders/.../pkg_resources.py", line 1518, in <module>
register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
Seems like it could be an issue with setuptools?
Zeitocrab, Ryan-M-Smith, mendhak, frostbitepy, jminuscula, MajorDallas, joshoshosh, alicequint, art0chu, dawaime, and 21 more reacted with thumbs up emoji
Zeitocrab reacted with laugh emoji
chris-gilbert, andrewganzy, and ANYANTUDRE reacted with hooray emoji
agilebean reacted with heart emoji
All reactions
I have tried this command, but still the same error.
On Mon, 10 Jul 2023, 6:35 am Saurabh Kumar, ***@***.***> wrote:
@VrushankiPatel <
https://github.com/VrushankiPatel> The install command
for this library is
pip install python-dotenv
and not
pip install dotenv
Cheers!
Reply to this email directly, view it on GitHub
<
#472 (comment)>,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/A2UYUQZJMD7YP7CWBT7EIUTXPPLG3ANCNFSM6AAAAAA2B3CR74>
You are receiving this because you were mentioned.Message ID:
***@***.***>
I tried this, but it's showing some error.
On Wed, Aug 9, 2023 at 11:54 AM Shayan Jizan ***@***.***> wrote:
Several things you could try:
- Downgrade setuptools e.g. pip install "setuptools<58.0.0".
- Use a virtual environment and install the package again.
- Try different versions of python.
- Use pip install python-dotenv
--use-deprecated=backtrack-on-build-failures or pip install
python-dotenv --use-deprecated=legacy-resolver
Reply to this email directly, view it on GitHub
<
#472 (comment)>,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/A2UYUQ7QG6MOVBWIDNXGGQDXUOXCTANCNFSM6AAAAAA2B3CR74>
You are receiving this because you were mentioned.Message ID:
***@***.***>
Here is a thing you can try that worked for me:
Downgrade setuptools using --------> pip install "setuptools<58.0.0"
Now run pip install python-dotenv.