搭建Flutter+Python gRPC脚手架时遇tinyaes编译错误及解决
Flutter与Python爬虫脚本集成时tinyaes编译错误问题及解决过程
我正在按照一篇指南将Flutter应用与Python网页抓取脚本集成,运行以下命令时遇到错误:
./starter-kit/prepare-sources.sh \ --proto ./service.proto \ --flutterDir ./flutter_application_1 \ --pythonDir ./server
错误信息如下:
Building wheels for collected packages: tinyaes Building wheel for tinyaes (pyproject.toml): started Building wheel for tinyaes (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error Building wheel for tinyaes (pyproject.toml) did not run successfully. exit code: 1
我已尝试执行pip install wheel,结果显示:
Requirement already satisfied: wheel in c:\users\aksha\appdata\local\programs\python\python312\lib\site-packages (0.43.0)
2024年4月10日更新
我检查到系统已安装Microsoft Visual C++ 14.38.33135.0,但仍收到错误:
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]
我下载了Visual Studio Build Tools,但问题依旧。
2024年8月19日更新
问题已解决。直接下载构建工具无法解决问题,后来在使用Visual Studio的另一个项目中,通过软件内部安装了构建工具,问题随即解决。
内容的提问来源于stack exchange,提问作者Aksh
相关产品推荐
相关产品推荐

