Closed K0-RR closed 2 years ago
Do you see the same thing if you run /usr/bin/env python
directly in the terminal? How about with /usr/bin/env python3
?
As a temporary workaround, you can try calling the Python script with the Python interpreter instead of directly as a PATH installed command line executable. From repo root:
$ python src/crunch.py [options and args]
Workaround is working and /usr/bin/env python
returns the same error but /usr/bin/env python3
works
In that case, I think that the fix will be to edit this line:
to:
#!/usr/bin/env python3
and then re-install with the Makefile.
You should be able to use the crunch
executable from the command line as you did in the original report following that change.
Did that work? If so, we should probably consider a move to release it like this. I think that python3 should be supported on target platforms. What distro are you using?
I cd to /Applications/Crunch.app/Contents/Resources/crunch.py
, and update this script file env to #!/usr/bin/env python3
directly, it work.
OS: macOS Monterey 12.3
install crunch with homebrew
Describe the bug I get this when I try to run any crunch command
Desktop (please complete the following information):