dgoeries / lttbc Goto Github PK
View Code? Open in Web Editor NEWLargest-Triangle-Three-Buckets (LTTB) downsampling algorithm in Python (C-Extension)
License: MIT License
Largest-Triangle-Three-Buckets (LTTB) downsampling algorithm in Python (C-Extension)
License: MIT License
Hi @dgoeries
Thanks so much for this package. I see that this package does not have a manylinux
based distribution for python 3.11. It would be great to have this distribution to be able to install this package on WSL systems with the latest pip
.
I ran into an issue with numpy 1.22.2 and lttbc 0.2.2. Downgrading to lttbc 0.2.1 or upgrading to numpy 1.24 solved the issue.
Exception has occurred: ImportError
numpy.core.multiarray failed to import
File "C:\temp\lttbc stuff\main.py", line 1, in
import lttbc
ImportError: numpy.core.multiarray failed to import
Hi, I need to install lttbc when building a python docker image, based on python:3.11.4-slim-bookworm.
The command in the Dockerfile is:
RUN pip3 install --no-cache-dir numpy==1.24.4 lttbc==0.2.4
However, it takes more than 10 minutes to finish installing the build dependencies
(I get the message Installing build dependencies: still running...
).
I do not see any dependencies for lttbc in the Readme.
For completeness, I also RUN apt-get install -y build-essential libblas-dev gcc
before running the pip install stage.
I am on an M1-pro and building the image with the flag --platform linux/amd64
.
Any ideas what might cause this problem?
Hi @dgoeries
The latest pip version (23.0.1) removed the capability to build python packages that use a setup.py
file. Moving the build information to pyproject.toml
will enable an user to build the lttbc
package on any environment, including OSX systems.
Do you allow contributions for this package?
I'm unable to install this with pip install lttbc
and am seeing a Failed to build lttbc
error.
Are you able to support Apple Silicon currently?
Hi,
I tried installing with Python 3.10 (linux) but it fails when trying to install from source. I see that the release files don't include one for Python 3.10. Do you intend to put out a new version?
Thanks
Hi, I tried installing on Python 3.11 but it doesn't appear that there are any wheels for it. Would you be able to create those?
Thanks
Version number is hardcoded. This should be changed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.