Cannot debug in remote SSH mode

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

 

3 comments
Comment actions Permalink

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.

0
Comment actions Permalink

Yes, it is Anaconda :(. 

0
Comment actions Permalink

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.

1

Please sign in to leave a comment.