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

After creating a test environment with annaconda: conda create -n test python=3.8, install conan: pip3 install conan==1.41.0, enter conan to test whether it is available, and report an error: ImportError: cannot import name 'soft_unicode' from 'markupsafe' 

 

Conda list shows that the previous version of markuosafe is 1.1.1

Solution: pip install markupsafe==2.0.1

Conan shows normal again

 

 

Guess you like

Origin blog.csdn.net/m0_59029800/article/details/127632575