我正在尝试建立一个Python Flask项目和Project Interpreter。它向我显示“未找到Python打包工具”
当我尝试安装它时,在PyCharm文件的第100行中显示错误-
Execute command:
/Applications/PyCharm.app/Contents/helpers/packaging_tool.py untar
/Applications/PyCharm.app/Contents/helpers/setuptools-28.8.0.tar.gz
Error Occurred:
nstall (pkgs) : try : try : from pip._internal import main except Exception: from pip import main except ImportError: error_no_pip() return main([ 'install' ] + pkgs) def do_uninstall (pkgs) : try : try : from pip._internal import main except Exception: from pip import main except ImportError: error_no_pip() return main([ 'uninstall' , '-y' ] + pkgs).stdout.flush()
File "/Applications/PyCharm.app/Contents/helpers/packaging_tool.py", line 100
nstall (pkgs) : try : try : from pip._internal import main except Exception: from pip import main except ImportError: error_no_pip() return main([ 'install' ] + pkgs) def do_uninstall (pkgs) : try : try : from pip._internal import main except Exception: from pip import main except ImportError: error_no_pip() return main([ 'uninstall' , '-y' ] + pkgs).stdout.flush()
^
SyntaxError: invalid syntax
我再次安装了pip / pip3。还尝试编辑nstall以安装在第100行。请帮助