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

Got toroubles installing stompy using pip #2

Open
jpjoubert opened this issue Feb 6, 2019 · 1 comment
Open

Got toroubles installing stompy using pip #2

jpjoubert opened this issue Feb 6, 2019 · 1 comment

Comments

@jpjoubert
Copy link

Hello, I hope you are the right person to help me.
I am not sure, but I think that I have an issue when installing the library using pip.

I work under Windows 10 using Python 3.6.3, as well as
Cygwin NT-10.0 xxxxxxxxx 2.9.0(0.318/5/3) 2017-09-12 10:18 x86_64 using Python 2.7.14

I look for and need a Python library which allows me to work at low level (frame). I just found stompy as being convenient for my purpose. I tried to install it but I am facing the same problem in both environment.
Installation of stompy v0.2.8 or v0.2.9 failed for the same reason:

File "C:\Users\JPJOUB~1\AppData\Local\Temp\pip-install-u3gwp4kw\stompy\stompy\stomp.py", line 49
except socket.timeout, exc:
^
SyntaxError: invalid syntax

Can you provide me with instructions on how to proceed?
Attached some traces I got using pip -vvv install stompy or pip -vvv install stompy==0.2.8

Windows10_python_v360_stompy_v0.2.9.txt
Cygwin_python_v2.7.14_stomp_v0.2.8.txt
Cygwin_python_v2.7.14_stomp_v0.2.9.txt
Windows10_python_v363_stompy_v0.2.8.txt

@node
Copy link

node commented May 28, 2021

Hi @jpjoubert , the current python-stomp version does not support python 3 . You'd better update the python3 (actually from python 2.6) style try-except-as to handle exception like this :

try .... except SomeEception as e: print(.....)

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