makah21803 Posted January 10, 2020 Share Posted January 10, 2020 (edited) Hi, Im new to python, Im trying to use vscode as external editor but it really sucks at being intuitive for a beginner... 1) Im trying to add the hou.module so I can see the functions but It doesnt show the functions: my settings.json looks like this: { "python.pythonPath": "C:\\PROGRA~1\\SIDEEF~1\\HOUDIN~1.287\\python27\\python.exe", "python.linting.pylintEnabled": false, "python.linting.enabled": true, "python.linting.flake8Enabled": true, "[python]":{}, "python.jediEnabled": false, "python.autoComplete.extraPaths": [ "C:\\Program Files\\Side Effects Software\\Houdini 18.0.287\\houdini\\python2.7libs\\Hou.pyc" ], } (I tried without the [] brackets too) 2) Also when I edit a .py Code tells me: Linter flake8 is not installed. And when I click Install is says: There is no Pip installer available in the selected environment. Can someone help? Im using: Windows 10 Houdini 18 VS Code v 1.41.1 Python v 2.7.15 64-bit Edited January 13, 2020 by makah21803 Quote Link to comment Share on other sites More sharing options...
MostHated Posted January 25, 2020 Share Posted January 25, 2020 Not sure if you got this working yet or not, but I am using the following and it works well for me. "python.autoComplete.extraPaths": [ "C:\\Program Files\\SideFX\\Houdini18.0.356\\houdini\\python2.7libs", "E:\\_unity\\_projects\\Python_Unity\\Library\\PackageCache\\com.unity.scripting.python@2.0.0-preview.6\\Python\\site-packages" ], "python.autoComplete.preloadModules": [ "hou", "unity_python" ], "terminal.integrated.env.windows": { "PYTHONPATH": "C:\\Program Files\\Side Effects Software\\Houdini18.0.356\\houdini\\python2.7libs;E:\\_unity\\_projects\\Python_Unity\\Library\\PackageCache\\com.unity.scripting.python@2.0.0-preview.6\\Python\\site-packages", "PATH": "${env:PATH};C:\\Program Files\\Side Effects Software\\Houdini18.0.356\\bin" }, "python.pythonPath": "C:\\Python27\\python.exe", "[python]": {}, "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\wsl.exe", 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.