Remote Interpreter doesn't follow symlinks

I have setup a remote interpreter in my PyCharm and the python library's site-packages folder contains many symlinks instead of hard links. This results in PyCharm not following symlinks and not caching the files under remote_sources. Is there a flag to force PyCharm to follow symlinks?

1 comment
Comment actions Permalink

I have the exact same issue with PyCharm 2020.2.3 as use of Airflow's Backport Providers for 1.10.x needs to use symlinks for unifying namespaces of packages later pip installed from main Airflow app: see

https://airflow.readthedocs.io/en/latest/backport-providers.html#troubleshooting-installing-backport-packages

Can PyCharm show/follow symlinks so it shows up under External Libraries > Remote Interpreter > Remote Libraries?

This is causing incorrect linting errors, code inspection errors, etc.  Note, using Python console and importing such a library that is symlinked does work though without error, in case that hint helps in any way.

I've added comment to bug ticket that appears to be tracking this same issue here: https://youtrack.jetbrains.com/issue/PY-33430#focus=Comments-27-4431828.0-0

0

Please sign in to leave a comment.