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

serial_query missing #4

Open
wimg opened this issue Sep 6, 2018 · 5 comments
Open

serial_query missing #4

wimg opened this issue Sep 6, 2018 · 5 comments

Comments

@wimg
Copy link

wimg commented Sep 6, 2018

When trying to use SerialMock, I get the following error :

(most recent call last):
File "test.py", line 1, in
from serial_mock import Serial
File "/usr/lib/python3.5/site-packages/serial_mock/init.py", line 1, in
from decorators import serial_query
ImportError: cannot import name 'serial_query'

Any suggestions on how to fix this problem ?

@joranbeasley
Copy link
Owner

hmm .... cool I will get it figured out ... it was working fine (I bet its a py3 thing (I wrote it in 2.7)) ... but it really should support 3 no problem ill figure it out asap :) thanks for the feedback/bugreport

@joranbeasley
Copy link
Owner

supporting python3 is proving a bit more challenging ... I have started a branch that sort of works but seems to have issues (although those issues may be related to windows only ) if you want to try and install from that branch on linux

@wimg
Copy link
Author

wimg commented Sep 16, 2018

I will try this next week on my dev environment at the office

@joranbeasley
Copy link
Owner

I am going to table this ... i will release a different version that supports python 3 in the near future ... I think i have learned a lot from this version but will improve it

@alfredopalhares
Copy link

Is there any update on this? I wanted to use this module on Python3 but no luck :(

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