pyvisa / pyvisa-sim

A PyVISA backend that simulates a large part of the "Virtual Instrument Software Architecture" (VISA_)
https://pyvisa-sim.readthedocs.io/en/latest/
MIT License
69 stars 39 forks source link

pyvisa-sim 0.6.0 compatibility issue with Pyvisa 1.12.0 #106

Open JonMarcos opened 2 months ago

JonMarcos commented 2 months ago

When installing pyvisa using pip for Python 3.7, version 1.12.0 is installed instead of the latest 1.14.1. For this version of pyvisa, the pyvisa-sim version 0.6.0, which is the one installed using pip, prompts the error "ValueError: Wrapper not found: No package named pyvisa_sim." when "visa.ResourceManager('@sim')".

This issue can be resolved by using the previous version: pyvisa-sim 0.5.1.

MatthieuDartiailh commented 2 months ago

Python 3.7 is quite old now and not supported anymore in PyVISA. It seems I forgot to bump the dependency in pyvisa-sim.