-
Notifications
You must be signed in to change notification settings - Fork 7
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
IS_CM_SENSOR_RAW8 #4
Comments
- Fixed importing pyueye and IDS related issue when SDK is not installed (issue #4 ). - Fixed CPU based fitting bug in pyfit3Dcspline.
Hello, I am unsure which version of microeye you are using, but I have fixed this issue in the most recent commit. If the pyueye package and the IDS SDK were not installed this issue arises. Now you can use the hardware part without necessarily needing IDS-related software being installed. You might get a similar issue though when it comes to missing Thorlabs drivers for their cameras (Thorcam) as it tries to import the uc480_64.dll library from its directory in program files. |
thank u. C:\Users\Copil\Desktop\microEye-main\examples>python control_module.py |
Hi, one of the dependencies pycode.python has a problem with the updated package pyflakes which comes with your specific Python version. For pyflakes >= 2.5.0 the attribute 'ReturnWithArgsInsideGenerator' has been dropped thus a fast fix would be to install pyflakes==2.4.0. I will be closing this issue as it is related to a dependency and Python version mismatch. The microEye is tested with Python >= 3.9.7 yet you might need to install pyflakes==2.4.0 for later versions. |
hello deaar,
i get this error.
python version 3.9
C:\Users\Copil\Desktop\microEye-main\examples>python control_module.py
Traceback (most recent call last):
File "C:\Users\Copil\Desktop\microEye-main\examples\control_module.py", line 1, in
from microEye.hardware import control_module
File "C:\Users\Copil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\microEye\hardware_init_.py", line 1, in
from .acquisition_module import acquisition_module
File "C:\Users\Copil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\microEye\hardware\acquisition_module.py", line 17, in
from .CameraListWidget import CameraListWidget
File "C:\Users\Copil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\microEye\hardware\CameraListWidget.py", line 10, in
from .ueye_camera import IDS_Camera
File "C:\Users\Copil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\microEye\hardware\ueye_camera.py", line 10, in
formats_ = {ueye.IS_CM_SENSOR_RAW8: 8,
AttributeError: 'NoneType' object has no attribute 'IS_CM_SENSOR_RAW8'
The text was updated successfully, but these errors were encountered: