Skip to content

Error in the lttbc=0.2.0 dependency. Blocks the installation in openshift #106

@thanosam

Description

@thanosam

In my app, when I add the plotly-resampler in my requirements file and I try to deploy it in openshift I receive the following error:

Collecting tenacity>=6.2.0
Downloading http:......../packages/tenacity/8.0.1/tenacity-8.0.1-py3-none-any.whl (24 kB)
Collecting lttbc==0.2.0
Downloading http:....../packages/lttbc/0.2.0/lttbc-0.2.0.tar.gz (91 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 91.4/91.4 kB 351.3 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-2odxphd1/lttbc_514ddccd4677437fb07b2fbc930424d3/setup.py", line 7, in
import numpy
ModuleNotFoundError: No module named 'numpy'
[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.
error: build error: er.....................

It seems that in setup.py file of the lttbc==0.2.0 is imported the numpy in line 7, something that changed in lttbc==0.2.1. Why in your dependencies exists lttbc==0.2.0 and not lttbc>0.2.0?

Metadata

Metadata

Assignees

No one assigned

    Labels

    installationProblem with installing the package or necessary dependencies

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions