[英]Unable to get LabJack U3 model loaded into PyCharm properly
I am trying to use a LabJack product U3 using Python and I am using PyCharm for development of my code.我正在尝试使用使用 Python 的 LabJack 产品 U3,并且我正在使用 PyCharm 来开发我的代码。 I am new to both Python and PyCharm FYI.
我是 Python 和 PyCharm 的新手。 In the LabJack documentation they say to run python setup.py install in the directory I down loaded there Python links for using there device.
在 LabJack 文档中,他们说要在我下载的目录中运行 python setup.py install 安装 Python 链接以使用该设备。 I did this and when run under straight Python console can get the import u3 to run and am able to access the U3 device.
我这样做了,当在直接 Python 控制台下运行时,可以运行导入 u3 并能够访问 U3 设备。 Yet when I run this in PyCharm I can not get it to run.
然而,当我在 PyCharm 中运行它时,我无法让它运行。 It always tells me module not found.
它总是告诉我找不到模块。 I have asked LabJack for help but they do not know PyCharm.
我曾向 LabJack 寻求帮助,但他们不知道 PyCharm。 I have looked on the net but I can seem to see how to get the module properly under PyCharm.
我在网上看过,但我似乎可以看到如何在 PyCharm 下正确获取模块。 Could i please get some help on how to do this properly?
我可以请有关如何正确执行此操作的帮助吗?
First Yll download that module inside of pycharm settings if it's still not working then import module in terminal of pycharm then try to run you're python script首先 Yll 下载 pycharm 设置中的该模块,如果它仍然无法正常工作,然后在 pycharm 的终端中导入模块,然后尝试运行你的 python 脚本
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.