Skip to content

Instantly share code, notes, and snippets.

@antmd
Created January 7, 2019 17:28
Show Gist options
  • Save antmd/edce342250e9ad716c560201c04834c9 to your computer and use it in GitHub Desktop.
Save antmd/edce342250e9ad716c560201c04834c9 to your computer and use it in GitHub Desktop.
Pycharm not picking up symbols in so

If PyCharm isn't picking up new symbols in a dynamically loaded .so, assuming you are running a venv in directory 'venv',

symlink the .so into

venv/lib/python3.6/site-packages

Then in ~/.PyCharm2018.3/system/python_stubs/

There will be a directory corresponding to the module name. Delete the entire containing directory , and re-start PyCharm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment