我正在尝试运行CMAKE -G“Visual Studio 17”-A x64..如https://bitbucket.org/chromiumembedded/java-cef.git所示。
但这会导致错误:
-- Downloading clang-format from Google Storage...
Failed to fetch file gs://chromium-clang-format/66882fadbf9e99cc00b8677d8c1e7e8b3cfdf4fe
...
ModuleNotFoundError: No module named 'six.moves'
字符串
我已经尝试过了,但没有成功:
python.exe -m pip install --upgrade pip
pip install --ignore-installed six
型
并添加到download_from_google_storage.py中
import six
型
1条答案
按热度按时间ezykj2lf1#
你的问题是你的Python版本。
在文档中,它写的是支持的python版本包括2.7.x和3.9.x,而你说你使用的是python 3.12。
1.安装Python。需要2.7.x或3.9.x版本。如果Python没有安装到默认位置,您可以在运行CMake之前设置
PYTHON_EXECUTABLE
环境变量(在下面的CMake生成步骤中注意错误)。如果你在其他项目中使用这个版本,并且不想改变,你可以在其他地方安装另一个版本,并将环境变量
PYTHON_EXECUTABLE
设置为你刚刚安装的版本的python可执行文件。