我在 Pycharm 中从事 python 项目。我想使用 Pycharm (powershell) 中的终端来安装新软件包。当我运行 pip install websockets 时。我收到以下错误:
Fatal error in launcher: Unable to create process using '"C:\Users\arnes\cloud_backup\Projects\ocpp\venv\Scripts\python.exe" "C:\Users\arnes\cloud_backup\Projects\ocpp_python\venv \Scripts\pip.exe" install websockets': The system cannot find the specified file.
我将项目名称从“ocpp”更改为“ocpp_python”。由于某种原因,终端会在旧文件夹名称“ocpp env”而不是“ocpp_python env”中查找 python.exe。
我手动将python解释器调整为正确的路径“C:\Users rne