安装spyder模块遇到的问题

    科技2022-07-11  134

    安装spyder模块遇到的问题

    报错原因:

    ERROR: Command errored out with exit status 1: command: 'e:\python\python.exe' 'e:\python\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\Keyu\AppData\Local\Temp\tmphxuu1c58' cwd: C:\Users\Keyu\AppData\Local\Temp\pip-install-3jq2j66h\ujson Complete output (5 lines): running bdist_wheel running build running build_ext building 'ujson' extension 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/ ---------------------------------------- ERROR: Failed building wheel for ujson

    具体描述是ujson的原因,先解决ujson的问题

    error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: 第一次尝试,参考以下老哥的解决方法: https://blog.csdn.net/weixin_40547993/article/details/89399825 安装包地址:http://go.microsoft.com/fwlink/?LinkId=691126 出现新的问题: error: command ‘C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\link.exe’ failed with exit status 1158

    ERROR: Failed building wheel for ujson Failed to build ujson ERROR: Could not build wheels for ujson which use PEP 517 and cannot be installed directly 解决方案 whl模块文件下载链接 到该网站去找到相对应的文件下载,命令行切换到该目录下pip install xxxxx。 这里涉及到一个选版本的问题,具体参照如下链接:https://blog.csdn.net/weixin_44404452/article/details/108911651 ujson问题解决: 成功安装:

    Processed: 0.038, SQL: 8