Couldn't refresh skeletons for remote interpreter

PyCharm helpers encounter some sort of JSONDecodeError, and I can not seem to make it work. I've tried everything, from reconfiguring my interpreter to reinstalling PyCharm.

The error I'm getting is the following:

Couldn't refresh skeletons for remote interpreter
failed to run generator3/ for sftp://sliderman@thanos04:22/home/sliderman/projects/object_tracking_platform/.venv/bin/python, exit code 1, stderr:
Traceback (most recent call last):
File "/home/sliderman/.pycharm_helpers/generator3/", line 167, in <module>
File "/home/sliderman/.pycharm_helpers/generator3/", line 114, in main
state_json = json.loads(sys.stdin.readline()) # utf-8 by default
File "/home/sliderman/.pyenv/versions/3.8.2/lib/python3.8/json/", line 357, in loads
return _default_decoder.decode(s)
File "/home/sliderman/.pyenv/versions/3.8.2/lib/python3.8/json/", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/home/sliderman/.pyenv/versions/3.8.2/lib/python3.8/json/", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ':' delimiter: line 1 column 24601 (char 24600)


Could you please delete and recreate the interpreter from scratch, while also deleting ~/.pycharm_helpers ?


Same issue here (just another column number). I regenerated the env and also remove the pycharm helpers (which get created and populated). Any idea what is causing it? With other envs it works.


Please sign in to leave a comment.