Visual Code Python Environment no PyLint, no hou module

   2550   3   1
User Avatar
Member
82 posts
Joined: March 2017
Offline
I am struggling to set up Visual Studio Code as an external editor. Each time it opens in Houdini 17.5 it neither has linting nor modules imported. It doesn't see pip and other scripts as well.
User Avatar
Member
82 posts
Joined: March 2017
Offline
Switched to pycharm after this gamechanger: https://stackoverflow.com/questions/24197970/pycharm-import-external-library [stackoverflow.com]
User Avatar
Member
621 posts
Joined: Aug. 2008
Offline
you might be using visualCode as IDE, but the compiler might be pointing to the regular python folder, you might need to change the python interpreter to use the one that comes inside Houdini folder
Edited by pelos - May 10, 2019 16:34:31
User Avatar
Member
82 posts
Joined: March 2017
Offline
I did, but compiler with houdini is stripped-down (for example no pip). Also you can't add external libraries in visual code, because those are in separate folder $HFS/houdini/python2.7libs
  • Quick Links