Skip to content

Installation issues with Python3.7 #63

Open
@ankit95050

Description

@ankit95050

I am trying to follow the readme but consistently running into multiple issues.

Installation details:
$ pip3 install autometrics Collecting autometrics Downloading autometrics-0.6-py3-none-any.whl (21 kB) Collecting prometheus-client==0.16.0 Downloading prometheus_client-0.16.0-py3-none-any.whl (122 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 122.5/122.5 kB 2.1 MB/s eta 0:00:00 Collecting opentelemetry-sdk<2.0.0,>=1.17.0 Downloading opentelemetry_sdk-1.18.0-py3-none-any.whl (101 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.6/101.6 kB 4.3 MB/s eta 0:00:00 Collecting python-dotenv==1.0.0 Downloading python_dotenv-1.0.0-py3-none-any.whl (19 kB) Collecting opentelemetry-api<2.0.0,>=1.17.0 Downloading opentelemetry_api-1.18.0-py3-none-any.whl (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.3/57.3 kB 3.2 MB/s eta 0:00:00 Collecting typing-extensions<5.0.0,>=4.5.0 Downloading typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting opentelemetry-exporter-prometheus<2.0.0,>=1.12.0rc1 Downloading opentelemetry_exporter_prometheus-1.12.0rc1-py3-none-any.whl (10 kB) Collecting importlib-metadata~=6.0.0 Downloading importlib_metadata-6.0.1-py3-none-any.whl (21 kB) Requirement already satisfied: setuptools>=16.0 in /usr/local/lib/python3.10/site-packages (from opentelemetry-api<2.0.0,>=1.17.0->autometrics) (63.4.3) Collecting deprecated>=1.2.6 Downloading Deprecated-1.2.14-py2.py3-none-any.whl (9.6 kB) Collecting opentelemetry-semantic-conventions==0.39b0 Downloading opentelemetry_semantic_conventions-0.39b0-py3-none-any.whl (26 kB) Collecting wrapt<2,>=1.10 Downloading wrapt-1.15.0-cp310-cp310-macosx_10_9_x86_64.whl (35 kB) Collecting zipp>=0.5 Downloading zipp-3.16.0-py3-none-any.whl (6.7 kB) Installing collected packages: zipp, wrapt, typing-extensions, python-dotenv, prometheus-client, opentelemetry-semantic-conventions, importlib-metadata, deprecated, opentelemetry-api, opentelemetry-sdk, opentelemetry-exporter-prometheus, autometrics Successfully installed autometrics-0.6 deprecated-1.2.14 importlib-metadata-6.0.1 opentelemetry-api-1.18.0 opentelemetry-exporter-prometheus-1.12.0rc1 opentelemetry-sdk-1.18.0 opentelemetry-semantic-conventions-0.39b0 prometheus-client-0.16.0 python-dotenv-1.0.0 typing-extensions-4.7.1 wrapt-1.15.0 zipp-3.16.0

`$ python3
Python 3.7.9 (v3.7.9:13c94747c7, Aug 15 2020, 01:31:08)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

from autometrics.objectives import Objective, ObjectiveLatency, ObjectivePercentile
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'autometrics.objectives'
`

I have tried it on multiple computers but the same issue. Is there something more I need to do when it comes to installation?

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