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

not compatible with Python 3 (print syntax)? #164

Open
wivaku opened this issue Sep 2, 2020 · 1 comment
Open

not compatible with Python 3 (print syntax)? #164

wivaku opened this issue Sep 2, 2020 · 1 comment

Comments

@wivaku
Copy link

wivaku commented Sep 2, 2020

pip --version
pip 20.2.2 from /usr/local/lib/python3.8/site-packages/pip (python 3.8)
pip install CoAPthon
Processing ./Library/Caches/pip/wheels/c6/e2/84/ff63650286b3a63b0c2b29dd4f0f3504ba39d9ba1302fde4ba/CoAPthon-4.0.2-py3-none-any.whl
Installing collected packages: CoAPthon
Successfully installed CoAPthon-4.0.2
coapserver.py
  File "/usr/local/bin/coapserver.py", line 29
    print "CoAP Server start on " + host + ":" + str(port)
          ^
SyntaxError: invalid syntax
@fpalmese
Copy link

They made a specific version for python3. It's called CoAPthon3 check it out here: https://github.com/Tanganelli/CoAPthon3

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

2 participants