我試圖用一個可定製的運行在Cloud9
使用安裝在同一目錄虛擬環境下python 3.4
啓動一個項目運行python3,但它不工作。跑步者沒有檢測到我的依賴關係,這可能意味着它沒有正確激活venv
。CLOUD9 IDE與VENV
// Create a custom Cloud9 runner - similar to the Sublime build system
// For more information see https://docs.c9.io/custom_runners.html
{
"cmd": [
"bash",
"--login",
"-c",
"source bin/activate && python oric.py"
],
"working_dir": "$project_path",
"info": "Your code is running at \\033[01;34m$url\\033[00m.\n\\033[01;31m"
}
有什麼想法是不對的?非常感謝