我安装了cocos2d的Python和样品行之有效蟒蛇,导入模块VS代码
但是当我移动蟒蛇文件到我在Visual Studio代码选择的文件夹,它只是说,它无法找到名为cocos的模块。
我想我需要更改launch.json中的设置,但我不知道如何。
我只是上传我的launch.json文件的一部分。
{
"version": "0.2.0",
"configurations": [
{
"name": "Python",
"type": "python",
"request": "launch",
"stopOnEntry": true,
"pythonPath": "C:/Users/Sanghun/AppData/Local/Programs/Python/Python35-32/python.exe",
"program": "${file}",
"debugOptions": [
"WaitOnAbnormalExit",
"WaitOnNormalExit",
"RedirectOutput"
]
},