From: Roel J. <r.j...@sc...> - 2020-12-31 00:42:22
|
I'm not sure what you're missing in your setup. I've been using linux-gpib together with pyvisa-py and skipped the supplied python gpib library. That works well enough for my purposes (not sure what I may be missing out on though). I remember also trying the gpib library but am not sure anymore what made me use the alternative. Cheers, Roel -----Original Message----- From: Michael K via Linux-gpib-general < lin...@li...> Reply-To: Michael K <vk...@ya...> To: lin...@li... < lin...@li...> Subject: [Linux-gpib-general] Python3 library not found Date: Wed, 30 Dec 2020 23:13:37 +0000 (UTC) I've installed the linux-gpib (user and kernel) package and can communicate with devices with ibtest and ibterm but cannot get python to find the library. I see that Python files are installed but when I "import gpib" I get a complaint... /usr/lib/python3.7/site-packages/gpib-1.0-py3.7.egg-info /usr/lib/python3.7/site-packages/gpib.cpython-37m-aarch64-linux-gnu.so michael@schrodinger:~/GPIB $ python3 Python 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import gpib Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'gpib' >>> What am I missing ? Michael _______________________________________________ Linux-gpib-general mailing list Lin...@li... https://lists.sourceforge.net/lists/listinfo/linux-gpib-general |