Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Steven-NYP/b0d86383a9a2322d8cc44ce74ecc60c2 to your computer and use it in GitHub Desktop.
Save Steven-NYP/b0d86383a9a2322d8cc44ce74ecc60c2 to your computer and use it in GitHub Desktop.
python3 -m pip install flask-socketio fastapi uvicorn datamodel-code-generator
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: flask-socketio in /home/steven/.local/lib/python3.10/site-packages (5.3.4)
Requirement already satisfied: fastapi in /home/steven/.local/lib/python3.10/site-packages (0.99.1)
Requirement already satisfied: uvicorn in /home/steven/.local/lib/python3.10/site-packages (0.22.0)
Collecting datamodel-code-generator
Using cached datamodel_code_generator-0.21.1-py3-none-any.whl (88 kB)
Requirement already satisfied: python-socketio>=5.0.2 in /home/steven/.local/lib/python3.10/site-packages (from flask-socketio) (5.8.0)
Requirement already satisfied: Flask>=0.9 in /home/steven/.local/lib/python3.10/site-packages (from flask-socketio) (2.3.2)
Requirement already satisfied: typing-extensions>=4.5.0 in /home/steven/.local/lib/python3.10/site-packages (from fastapi) (4.7.1)
Requirement already satisfied: pydantic!=1.8,!=1.8.1,<2.0.0,>=1.7.4 in /home/steven/.local/lib/python3.10/site-packages (from fastapi) (1.10.11)
Requirement already satisfied: starlette<0.28.0,>=0.27.0 in /home/steven/.local/lib/python3.10/site-packages (from fastapi) (0.27.0)
Requirement already satisfied: click>=7.0 in /home/steven/.local/lib/python3.10/site-packages (from uvicorn) (8.1.4)
Requirement already satisfied: h11>=0.8 in /home/steven/.local/lib/python3.10/site-packages (from uvicorn) (0.14.0)
Collecting prance>=0.18.2
Using cached prance-23.6.21.0-py3-none-any.whl (36 kB)
Collecting PySnooper<2.0.0,>=0.4.1
Using cached PySnooper-1.1.1-py2.py3-none-any.whl (14 kB)
Collecting inflect<6.0,>=4.1.0
Using cached inflect-5.6.2-py3-none-any.whl (33 kB)
Collecting openapi-spec-validator<=0.5.2,>=0.2.8
Using cached openapi_spec_validator-0.5.2-py3-none-any.whl (31 kB)
Requirement already satisfied: toml<1.0.0,>=0.10.0 in /usr/lib/python3/dist-packages (from datamodel-code-generator) (0.10.2)
Collecting argcomplete<4.0,>=1.10
Using cached argcomplete-3.1.1-py3-none-any.whl (41 kB)
Requirement already satisfied: jinja2<4.0,>=2.10.1 in /home/steven/.local/lib/python3.10/site-packages (from datamodel-code-generator) (3.1.2)
Collecting genson<2.0,>=1.2.1
Using cached genson-1.2.2-py2.py3-none-any.whl
Requirement already satisfied: packaging in /usr/lib/python3/dist-packages (from datamodel-code-generator) (21.3)
Collecting isort<6.0,>=4.3.21
Using cached isort-5.12.0-py3-none-any.whl (91 kB)
Collecting black>=19.10b0
Using cached black-23.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB)
Collecting tomli>=1.1.0
Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting packaging
Using cached packaging-23.1-py3-none-any.whl (48 kB)
Requirement already satisfied: platformdirs>=2 in /home/steven/.local/lib/python3.10/site-packages (from black>=19.10b0->datamodel-code-generator) (3.8.1)
Collecting pathspec>=0.9.0
Using cached pathspec-0.11.1-py3-none-any.whl (29 kB)
Collecting mypy-extensions>=0.4.3
Using cached mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB)
Requirement already satisfied: blinker>=1.6.2 in /home/steven/.local/lib/python3.10/site-packages (from Flask>=0.9->flask-socketio) (1.6.2)
Requirement already satisfied: itsdangerous>=2.1.2 in /home/steven/.local/lib/python3.10/site-packages (from Flask>=0.9->flask-socketio) (2.1.2)
Requirement already satisfied: Werkzeug>=2.3.3 in /home/steven/.local/lib/python3.10/site-packages (from Flask>=0.9->flask-socketio) (2.3.6)
Requirement already satisfied: MarkupSafe>=2.0 in /home/steven/.local/lib/python3.10/site-packages (from jinja2<4.0,>=2.10.1->datamodel-code-generator) (2.1.3)
Collecting lazy-object-proxy<2.0.0,>=1.7.1
Using cached lazy_object_proxy-1.9.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (63 kB)
Collecting jsonschema<5.0.0,>=4.0.0
Using cached jsonschema-4.18.0-py3-none-any.whl (81 kB)
Collecting jsonschema-spec<0.2.0,>=0.1.1
Using cached jsonschema_spec-0.1.6-py3-none-any.whl (12 kB)
Collecting openapi-schema-validator<0.5,>=0.3.2
Using cached openapi_schema_validator-0.4.4-py3-none-any.whl (9.0 kB)
Collecting ruamel.yaml>=0.17.10
Using cached ruamel.yaml-0.17.32-py3-none-any.whl (112 kB)
Requirement already satisfied: six~=1.15 in /usr/lib/python3/dist-packages (from prance>=0.18.2->datamodel-code-generator) (1.16.0)
Requirement already satisfied: chardet>=3.0 in /usr/lib/python3/dist-packages (from prance>=0.18.2->datamodel-code-generator) (4.0.0)
Requirement already satisfied: requests>=2.25 in /usr/lib/python3/dist-packages (from prance>=0.18.2->datamodel-code-generator) (2.25.1)
Collecting email-validator>=1.0.3
Using cached email_validator-2.0.0.post2-py3-none-any.whl (31 kB)
Requirement already satisfied: python-engineio>=4.3.0 in /home/steven/.local/lib/python3.10/site-packages (from python-socketio>=5.0.2->flask-socketio) (4.5.1)
Requirement already satisfied: bidict>=0.21.0 in /home/steven/.local/lib/python3.10/site-packages (from python-socketio>=5.0.2->flask-socketio) (0.22.1)
Requirement already satisfied: anyio<5,>=3.4.0 in /home/steven/.local/lib/python3.10/site-packages (from starlette<0.28.0,>=0.27.0->fastapi) (3.7.1)
Requirement already satisfied: idna>=2.8 in /usr/lib/python3/dist-packages (from anyio<5,>=3.4.0->starlette<0.28.0,>=0.27.0->fastapi) (3.3)
Requirement already satisfied: sniffio>=1.1 in /home/steven/.local/lib/python3.10/site-packages (from anyio<5,>=3.4.0->starlette<0.28.0,>=0.27.0->fastapi) (1.3.0)
Requirement already satisfied: exceptiongroup in /home/steven/.local/lib/python3.10/site-packages (from anyio<5,>=3.4.0->starlette<0.28.0,>=0.27.0->fastapi) (1.1.2)
Collecting dnspython>=2.0.0
Using cached dnspython-2.3.0-py3-none-any.whl (283 kB)
Collecting jsonschema-specifications>=2023.03.6
Using cached jsonschema_specifications-2023.6.1-py3-none-any.whl (17 kB)
Collecting rpds-py>=0.7.1
Using cached rpds_py-0.8.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB)
Collecting attrs>=22.2.0
Using cached attrs-23.1.0-py3-none-any.whl (61 kB)
Collecting referencing>=0.28.4
Using cached referencing-0.29.1-py3-none-any.whl (25 kB)
Collecting jsonschema<5.0.0,>=4.0.0
Using cached jsonschema-4.17.3-py3-none-any.whl (90 kB)
Collecting pathable<0.5.0,>=0.4.1
Using cached pathable-0.4.3-py3-none-any.whl (9.6 kB)
Requirement already satisfied: PyYAML>=5.1 in /usr/lib/python3/dist-packages (from jsonschema-spec<0.2.0,>=0.1.1->openapi-spec-validator<=0.5.2,>=0.2.8->datamodel-code-generator) (5.4.1)
Collecting requests>=2.25
Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /usr/lib/python3/dist-packages (from jsonschema<5.0.0,>=4.0.0->openapi-spec-validator<=0.5.2,>=0.2.8->datamodel-code-generator) (0.18.1)
Collecting rfc3339-validator
Using cached rfc3339_validator-0.1.4-py2.py3-none-any.whl (3.5 kB)
Collecting charset-normalizer<4,>=2
Using cached charset_normalizer-3.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (201 kB)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests>=2.25->prance>=0.18.2->datamodel-code-generator) (2020.6.20)
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/lib/python3/dist-packages (from requests>=2.25->prance>=0.18.2->datamodel-code-generator) (1.26.5)
Collecting ruamel.yaml.clib>=0.2.7
Using cached ruamel.yaml.clib-0.2.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (485 kB)
ERROR: Exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 165, in exc_logging_wrapper
status = run_func(*args)
File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 205, in wrapper
return func(self, options, args)
File "/usr/lib/python3/dist-packages/pip/_internal/commands/install.py", line 389, in run
to_install = resolver.get_installation_order(requirement_set)
File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 188, in get_installation_order
weights = get_topological_weights(
File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 276, in get_topological_weights
assert len(weights) == expected_node_count
AssertionError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment