Closed plesiopterys closed 4 months ago
Suggest putting pyscan.general import first, in addition to fixing this
Try: May need init.py in the drivers/testing folder
Put pyscan.general import first
Fixed directly in main by rsbrost , confirmed fresh install working without error by jjmah
Error code on fresh install
ModuleNotFoundError Traceback (most recent call last) Cell In[1], line 1 ----> 1 import pyscan as ps 2 import matplotlib.pyplot as plt 3 import numpy as np
File ~/anaconda3/envs/pyscan/lib/python3.11/site-packages/pyscan/init.py:2 1 from pyscan.measurement import ----> 2 from pyscan.drivers import 3 from pyscan.general import 4 from pyscan.plotting import
File ~/anaconda3/envs/pyscan/lib/python3.11/site-packages/pyscan/drivers/init.py:84 80 from .new_instrument import new_instrument 83 # Test Devices ---> 84 from .testing.test_voltage import TestVoltage 85 from .testing.test_instrument_driver import TestInstrumentDriver
ModuleNotFoundError: No module named 'pyscan.drivers.testing'