How do I use installed packages in PyCharm?

后端 未结 13 1553
暗喜
暗喜 2020-11-22 16:20

In PyCharm, I\'ve added the Python environment /usr/bin/python. However,

from gnuradio import gr

fails as an unde

13条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-22 16:38

    In my PyCharm 2019.3, select the project, then File ---> Settings, then Project: YourProjectName, in 'Project Interpreter', click the interpreter or settings, ---> Show all... ---> Select the current interpreter ---> Show paths for the selected interpreter ---> then click 'Add' to add your library, in my case, it is a wheel package

提交回复
热议问题