From: Tomislav I. <tom...@gm...> - 2019-03-13 14:47:09
|
Hi Anderson, Anaconda environments are separate from the system python installation and do not share their libraries or packages with it. You need to install the linux-gpib python bindings into the specific anaconda environment. Here are the steps that I use myself. Get the linux-gpib source tree. In a terminal, activate your anaconda python 3.7.1 environment. Change the active directory to linux-gpib-user/language/python directory. Install the python bindings by running: $ python setup.py install That should be it. Let me know if you have any questions. Best, Tomislav On Wed, Mar 13, 2019 at 1:12 PM Anderson Minozzo Begossi <amb...@uc...> wrote: > Hello, > I successfully installed the linux-gpib package, and when I run the import > Gpib command on python 2.7 everything happens perfectly. But now I'm trying > to import the package with python 3.7.1, installed with anaconda, and > import is returning me the following error: > > Python 3.7.1 (default, Dec 14 2018, 19:28:38) > [GCC 7.3.0] :: Anaconda, Inc. 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' > > I appreciate if someone helps me. > > Enviado via UCSMail. > _______________________________________________ > Linux-gpib-general mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-gpib-general > |