pyenv-mode
pyenv-mode copied to clipboard
JSON parsing error in `pyenv-workon` / `pyenv-activate` (`json-readtable-error` 112)
Hi,
I have typically had no trouble with my virtualenvs, but after a recent reinstallation of some venvs, I am encountering a JSON parse error:
Debugger entered--Lisp error: (json-readtable-error 112)
signal(json-readtable-error (112))
json-read()
pyvenv-run-virtualenvwrapper-hook("pre_activate" propagate-env)
pyvenv-activate()
pyvenv-activate("~/.pyenv/versions/3.9.10")
pyvenv-workon("3.9.10")
I am not quite sure what the JSON is that's being passed, so I'm unable to debug further. This occurs for all virtualenvs.
How can I resolve the issue? Or, how can I debug the specific JSON string that json-read
is trying to parse?
Thanks!
Edited to say that the venv seems to be active; when I run a python shell, the correct env is in place