最近小虎在windows下install cvxpy,出现了一大段bug,我吓尿了,一条条找,搞了两个多钟。
pip install cvxpy
error
cvxpy/ecos pip installation error。下面是出现bug的片段
ERROR: Command errored out with exit status 1:
解决方法
conda install ecos
pip install cvxpy
如果找不到conda,就重装,然后记得勾选。
![在这里插入图片描述]()
结果
![在这里插入图片描述]()
但是编译器环境似乎得改啊。
![在这里插入图片描述]()