Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3.9 install easydict error #37

Open
burning-git opened this issue Jan 10, 2023 · 1 comment
Open

python3.9 install easydict error #37

burning-git opened this issue Jan 10, 2023 · 1 comment

Comments

@burning-git
Copy link

error:
`pip3.9 install easydict
Defaulting to user installation because normal site-packages is not writeable
Collecting easydict
Using cached easydict-1.10.tar.gz (6.4 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
ERROR: Can not execute setup.py since setuptools is not available in the build environment.
[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.`

How to fix ?

@leplatrem
Copy link
Collaborator

I cannot reproduce

➜  python3.9 -m venv /tmp/ve
➜  source /tmp/ve/bin/activate
(ve) ➜  python -m pip install easydict
Collecting easydict
  Downloading easydict-1.10.tar.gz (6.4 kB)
  Preparing metadata (setup.py) ... done
Using legacy 'setup.py install' for easydict, since package 'wheel' is not installed.
Installing collected packages: easydict
  Running setup.py install for easydict ... done
Successfully installed easydict-1.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants