可以尝试使用虚拟环境来安装Python包,以避免与系统全局环境的冲突。 通过以上步骤,你应该能够解决distutils.errors.distutilserror: setup script exited with error: command 'gcc' failed with exit status 1这个错误。如果问题仍然存在,请提供更多详细信息,以便进一步分析问题。
解决办法,先安装一些必须的依赖: sudoapt-getinstallbuild-essential python3-dev libssl-dev libffi-dev libxml2 libxml2-dev libxslt1-dev zlib1g-dev 一个命令,安装完毕后,在重新安装python包!OK,搞定! 出错原因是没有安装依赖库
1.你装个vs2008.2.你装个vs2010,然后打开“<python安装目录>\Lib\distutils\msvc9compiler.py”找到 toolskey = “VS%0.f0COMNTOOLS” % version,直接修改为 toolskey = ”VS100COMNTOOLS”网上也有用mingw编译解决的,那个太麻烦不建议你那么搞。
error: Setup script exited with error: Unable to find vcvarsall.bat 在办公室及其上通过easy_install psycopg2安装psycopg2一切正常,但在家里的机器上按照同样的方法安装却出错,报找不到vcvarsall.bat,真是奇怪。 比较了一下,两台机器的唯一区别是办公室机器上装了Visual studio 2008,难道这个有关系?如非特别需...
error: Setup script exited with error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": landinghub.visualstudio.com/visual-cpp-build-tools 1、下载 Microsoft Visual C++ 14.0安装,安装之后还是报这个错。 2、lfd.uci.edu/~gohlke/pyt 下载twisted对应版本的whl文件...
pip安装setprocititle报错error: Setup script exited with error: Microsoft Visual C++ 14.0 or greater,解决方法是安装VC++14.0(即vs15)或者更新版本的vs但是我电脑里面不但有vs15,还有vs17参照这个问答操作,下载了BuildToolsForVisualStudio,但还是不行索性卸载干
51CTO博客已为您找到关于error: Setup script exited with error: command '/usr/bin/gcc' failed with ex的相关内容,包含IT学习相关文档代码介绍、相关教程视频课程,以及error: Setup script exited with error: command '/usr/bin/gcc' failed with ex问答内容。更多error
opendr/contexts/ctx_mesa.c: In function ‘__pyx_pf_6opendr_8contexts_8ctx_mesa_13OsContextBase_150ShaderSource’: opendr/contexts/ctx_mesa.c:13300:50: warning: passing argument 3 of ‘glShaderSource’ from incompatible pointer type [-Wincomp...
lilcom/int_stream.h:6:10: fatal error: 'vector' file not found #include ^~~~ 1 error generated. error: Setup script exited with error: command 'gcc' failed with exit status 1 pzelaskoclosed this ascompletedJan 11, 2021 Assignees
安装mxnet python版本时遇到“Unable to find vcvarsall.bat”错误搜索一下后查到如下方法: python 3.5.2版本依赖高版本的vs解决办法是安装vs2015的安装包,安装包下载路径 或者安装其他版本的VS执行如下命令: 如果你安装的是 2010 版:SET VS90COMNTOOLS=%VS100COMNTOOLS% ...