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

getting error while installing this package #123

Open
hetvaghasia39 opened this issue Feb 27, 2024 · 0 comments
Open

getting error while installing this package #123

hetvaghasia39 opened this issue Feb 27, 2024 · 0 comments

Comments

@hetvaghasia39
Copy link

Is there any problem with my config?
I have installed

$ sudo apt-get install python3.12-dev
$ sudo apt-get install libevent-dev
(.venv) het@het-GF63-Thin-10UC:~/het-workspace/infiniti_talks(dev)$ pip install django-socketio
Collecting django-socketio
  Using cached django-socketio-0.3.9.tar.gz (48 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [12 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-quvx5285/django-socketio_06e43a86402646e0b2cfdb707af7e82e/setup.py", line 7, in <module>
          version = __import__("django_socketio").__version__,
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-install-quvx5285/django-socketio_06e43a86402646e0b2cfdb707af7e82e/django_socketio/__init__.py", line 2, in <module>
          from django_socketio.utils import NoSocket, send, broadcast, broadcast_channel
        File "/tmp/pip-install-quvx5285/django-socketio_06e43a86402646e0b2cfdb707af7e82e/django_socketio/utils.py", line 44
          except IndexError, KeyError:
                 ^^^^^^^^^^^^^^^^^^^^
      SyntaxError: multiple exception types must be parenthesized
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

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