Cannot debug in remote SSH mode Follow
Hi. I am keep getting the following error in a debug mode:
in a virtual env: ...anaconda3/envs/<nama_of_my_virt_env>/lib/python3.10/site-packages/werkzeug/security.py
...line 15, in <module>
sep for sep in [os.path.sep, os.path.altsep] if sep is not None and sep != "/"
AttributeError: module 'posixpath' has no attribute 'sep'
python-BaseException
This error comes up only in debugging mode.
Do you have any idea, what it could be?
Thanks
Please sign in to leave a comment.
Hello,
Could you please clarify if this is an Anaconda remote env? If yes, then it might be an issue since the current version of PyCharm doesn't fully support Anaconda via SSH.
Yes, it is Anaconda :(.
There is an existing workaround that you may try: https://youtrack.jetbrains.com/issue/PY-35978/Support-conda-with-remote-interpreters
And please don't forget to vote for this issue to raise relevance.