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

Makefile, Tabs, IOError #10

Open
vertighel opened this issue Feb 27, 2023 · 0 comments
Open

Makefile, Tabs, IOError #10

vertighel opened this issue Feb 27, 2023 · 0 comments

Comments

@vertighel
Copy link

Hello,

Considering the latest versions of Ubuntu 22.04 and python 3.10, I suggest the following changes:

# To avoid a linking error related to time_msec:
sed -i.bak 's/CC = gcc/CC = g++/' Makefile
# To avoid TabError                                                                                                                                                                                                               
sed -i.bak 's/\t/    /g' pyk8055/pyk8055.py      
# To avoid SyntaxError                                                                                                                                                                                                                                   
sed -i.bak 's/IOError, "Could not open device"/IOError("Could not open device")/g' pyk8055/pyk8055.py                                                                                                                                                                               

Thank you for the useful work!
Cheers,
Davide

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

1 participant