Can't use PySide with Anaconda

人走茶凉 提交于 2020-01-23 05:57:29

问题


I have just installed Anaconda for Python 3 and then installed PySide by

sudo apt-get install python3-pyside

Then I tried to use it throw Anaconda's version of python and typed import PySide but gave me this error ImportError: No module named 'PySide'

But when I try the normal Interpreter of Python it works fine, So how could I make it work with Anaconda?


回答1:


You need to install it with conda:

conda install -c conda-forge pyside


来源:https://stackoverflow.com/questions/41708923/cant-use-pyside-with-anaconda

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!