Skip to content

Error while installing #9

@Towux

Description

@Towux

Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/PteroPackages/Pytero
Cloning https://github.com/PteroPackages/Pytero to /tmp/pip-req-build-yfi10fef
Running command git clone --filter=blob:none --quiet https://github.com/PteroPackages/Pytero /tmp/pip-req-build-yfi10fef
Resolved https://github.com/PteroPackages/Pytero to commit de38e1a
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-req-build-yfi10fef/setup.py", line 12, in
from pytero import version
File "/tmp/pip-req-build-yfi10fef/pytero/init.py", line 13, in
from .app import PteroApp
File "/tmp/pip-req-build-yfi10fef/pytero/app.py", line 12, in
from .node import Node
File "/tmp/pip-req-build-yfi10fef/pytero/node.py", line 2, in
from .servers import AppServer
File "/tmp/pip-req-build-yfi10fef/pytero/servers.py", line 2, in
from .types import _Http, Allocation, Container, Egg, FeatureLimits, Limits,
File "/tmp/pip-req-build-yfi10fef/pytero/types.py", line 40, in
class _Http:
File "/tmp/pip-req-build-yfi10fef/pytero/types.py", line 43, in _Http
_raw: Callable[[str, str, Any | None], Any]
TypeError: unsupported operand type(s) for |: '_SpecialForm' and 'NoneType'
[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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions