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

Module has no attribute problem. #200

Closed
fockez opened this issue Jan 31, 2020 · 4 comments
Closed

Module has no attribute problem. #200

fockez opened this issue Jan 31, 2020 · 4 comments

Comments

@fockez
Copy link

fockez commented Jan 31, 2020

I use comtypes within anaconda under win10 64 to talk to ASCOM telescope driver, then I always met the error
module 'comtypes.gen.ASCOM_DeviceInterfaces' has no attribute 'ITelescopeV3'
I follow the suggestion to clear the gen dir, for the first time I met
item 1 in _argtypes_ passes a union by value, which is unsupported
then the same.
The numpy version is 1.18.1, I want to use comtypes to get numpy array directly from camera driver, without safearray, win32com is too slow for this, I hope comtypes can help.

Thanks.

@fockez
Copy link
Author

fockez commented Jan 31, 2020

On an old computer, comtypes 1.1.4 and numpy 1.14.2 on the same windows 10, works fine.

@fockez
Copy link
Author

fockez commented Jan 31, 2020

Comfirm the python 3.7.6 cause the problem. Downgrade to 3.7.5 solves it.

@yinkaisheng
Copy link

#202 similar. 3.7.5 is ok.

@junkmd
Copy link
Collaborator

junkmd commented Dec 3, 2022

@fockez
@yinkaisheng

This may be caused by a cpython problem.

If the issue remains, please re-open.

@junkmd junkmd closed this as completed Dec 3, 2022
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

3 participants