Hi, I'm having trouble configuring VScode: ModuleNotFoundError: No module named 'scriptcontext'
scriptcontext.py is in the IronPython folder just as it should be.
Any idea why scriptcontext (and also rhinoscriptsyntax) aren't found?
tx!
Here is my settings.json -
{
"workbench.colorTheme": "Default Dark+",
"window.zoomLevel": 2,
"python.defaultInterpreterPath": "C:\Users\user\AppData\Local\Programs\Python\Python38\python.exe",
"python.analysis.extraPaths": [
"C:\Users\user\AppData\Roaming\McNeel\Rhinoceros\7.0\Plug-ins\CodeListener (8c4235b6-64bc-4508-9166-bef8aa151085)\0.1.7.0\AutoComplete",
"C:\Program Files\Rhino 7\Plug-ins\IronPython\Lib",
"C:\Users\user\AppData\Roaming\McNeel\Rhinoceros\7.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib",
"C:\Users\user\AppData\Roaming\McNeel\Rhinoceros\7.0\scripts"
],
"python.autoComplete.extraPaths": [
"C:\\Users\\user\\AppData\\Roaming\\McNeel\\Rhinoceros\\7.0\\Plug-ins\\CodeListener (8c4235b6-64bc-4508-9166-bef8aa151085)\\0.1.7.0\\AutoComplete",
"C:\\Program Files\\Rhino 7\\Plug-ins\\IronPython\\Lib",
"C:\\Users\\user\\AppData\\Roaming\\McNeel\\Rhinoceros\\7.0\\Plug-ins\\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\\settings\\lib",
"C:\\Users\\user\\AppData\\Roaming\\McNeel\\Rhinoceros\\7.0\\scripts"
],
// enable new language server. THIS IS EXTREMELY IMPORTANT TO HAVE FAST AUTOCOMPLETE!!
"python.jediEnabled": false,
// Enable/Disable rhinopython
"RhinoPython.Enabled": true,
// True if you want to reset script engine every time you send code, otherwise False
"RhinoPython.ResetAndRun": true
}
Hi, I'm having trouble configuring VScode: ModuleNotFoundError: No module named 'scriptcontext'
scriptcontext.py is in the IronPython folder just as it should be.
Any idea why scriptcontext (and also rhinoscriptsyntax) aren't found?
tx!
Here is my settings.json -
{
"workbench.colorTheme": "Default Dark+",
"window.zoomLevel": 2,
"python.defaultInterpreterPath": "C:\Users\user\AppData\Local\Programs\Python\Python38\python.exe",
"python.analysis.extraPaths": [
"C:\Users\user\AppData\Roaming\McNeel\Rhinoceros\7.0\Plug-ins\CodeListener (8c4235b6-64bc-4508-9166-bef8aa151085)\0.1.7.0\AutoComplete",
"C:\Program Files\Rhino 7\Plug-ins\IronPython\Lib",
"C:\Users\user\AppData\Roaming\McNeel\Rhinoceros\7.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib",
"C:\Users\user\AppData\Roaming\McNeel\Rhinoceros\7.0\scripts"
],
"python.autoComplete.extraPaths": [
}