Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'visa' #10

Open
jgui opened this issue Nov 27, 2022 · 0 comments
Open

No module named 'visa' #10

jgui opened this issue Nov 27, 2022 · 0 comments

Comments

@jgui
Copy link

jgui commented Nov 27, 2022

I install lantz as described in README.md and get the following error when setting visa backend:

> pip install -U "lantzdev[full]"
> pip install pyvisa-py
> lantz config core.visa_backend @py
Traceback (most recent call last):
  File "C:\Tools\WPy64-31040\python-3.10.4.amd64\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Tools\WPy64-31040\python-3.10.4.amd64\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Tools\WPy64-31040\python-3.10.4.amd64\Scripts\lantz.exe\__main__.py", line 4, in <module>
  File "C:\Tools\WPy64-31040\python-3.10.4.amd64\lib\site-packages\lantz\__init__.py", line 7, in <module>
    from lantz.core import Driver, MessageBasedDriver
  File "C:\Tools\WPy64-31040\python-3.10.4.amd64\lib\site-packages\lantz\core\__init__.py", line 35, in <module>
    from .messagebased import MessageBasedDriver
  File "C:\Tools\WPy64-31040\python-3.10.4.amd64\lib\site-packages\lantz\core\messagebased.py", line 15, in <module>
    import visa
ModuleNotFoundError: No module named 'visa'

In python session I can import pyvisa but not visa:

>>> import visa
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'visa'
>>> import pyvisa
>>>
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant