You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Description:
When attempting to build my project with the latest version of RsInstrument (@1.82.0), I encounter an import error related to the visa module:
.venv/lib/python3.11/site-packages/RsInstrument/Internal/Instrument.py", line 8, in <module>
2024-06-11 14:15:54 from visa import VisaIOError
2024-06-11 14:15:54 ModuleNotFoundError: No module named 'visa'
Context:
The error arises from the Instrument.py file within the RsInstrument package. It seems that the latest release relies on the visa module, which is not properly resolved, leading to the ModuleNotFoundError.
Steps to Reproduce:
Install the latest version of RsInstrument (@1.82.0).
Attempt to build the project.
Observe the import error as described above.
Current Workaround:
To circumvent this issue, I've reverted to using a previous release version of RsInstrument (@1.70.0). In this version, the visa module is not utilized in the Instrument.py file. Upon verifying the poetry.lock file, it's evident that the only poetry dependency required is PyVisa.
Expected Behavior:
The latest version of RsInstrument should successfully import the necessary modules without encountering import errors related to the visa module.
Issue Description:
When attempting to build my project with the latest version of RsInstrument (@1.82.0), I encounter an import error related to the visa module:
Context:
The error arises from the Instrument.py file within the RsInstrument package. It seems that the latest release relies on the visa module, which is not properly resolved, leading to the ModuleNotFoundError.
Steps to Reproduce:
Current Workaround:
To circumvent this issue, I've reverted to using a previous release version of RsInstrument (@1.70.0). In this version, the visa module is not utilized in the Instrument.py file. Upon verifying the poetry.lock file, it's evident that the only poetry dependency required is PyVisa.
Expected Behavior:
The latest version of RsInstrument should successfully import the necessary modules without encountering import errors related to the visa module.
Additional Information:
Python version: python 3.10
Operating System: MacOS
This issue is critical for my project's functionality, and any insights or solutions would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: