ImportError: cannot import name ‘soft_unicode‘ from ‘markupsafe‘

用annaconda创建了test环境后:conda create -n test python=3.8 ,安装conan:pip3 install conan==1.41.0 ,输入conan测试是否可用,报错:ImportError: cannot import name 'soft_unicode' from 'markupsafe' 

conda list 查看到之前的markuosafe版本为1.1.1

解决方法:pip install markupsafe==2.0.1

再次conan 显示正常

 

猜你喜欢

转载自blog.csdn.net/m0_59029800/article/details/127632575