-
-
Notifications
You must be signed in to change notification settings - Fork 783
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
An unexpected error has occurred: AssertionError: BUG: expected environment for python to be healthy() immediately after install, please open an issue describing your environment #2270
Comments
This problem appeared after |
can you try the following for me? /usr/local/Cellar/pre-commit/2.17.0/libexec/bin/python3.10 --version --version
/usr/local/Cellar/pre-commit/2.17.0/libexec/bin/python3.10 -m virtualenv vvv
vvv/bin/python3 --version --version
cat vvv/pyvenv.cfg |
you've got the wrong commands -- you should be able to copy paste the commands and then copy paste their output screenshots of text are:
|
|
|
if it's missing also wrap your outputs in triple backticks so they're readable: ` |
|
that looks like a bug in virtualenv then -- please report it to https://github.com/pypa/virtualenv |
@absassi |
please report a bug at that link so it can be fixed! |
|
Cannot work for me
|
please open a new issue, the existing issues are for macos and debian though I suspect there might be some output you're not showing since pre-commit produces a warning about mismatched cygwin and windows python's (which I believe is what you're hitting) |
describe your issue
An unexpected error has occurred: AssertionError: BUG: expected environment for python to be healthy() immediately after install, please open an issue describing your environment
Check the log at /Users/duanjiaxing/.cache/pre-commit/pre-commit.log
pre-commit --version
pre-commit 2.17.0
.pre-commit-config.yaml
~/.cache/pre-commit/pre-commit.log (if present)
version information
error information
The text was updated successfully, but these errors were encountered: