我安裝了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"
]
},