Comments (6)
Thanks @gatagat. I think that a quickly approach is to declare cython and numpy as explicit requirements using install_requires
, I've forked the repo to not be blocked by this and it indeed solved the install issue. If you're ok with this I'll be glad to send a PR.
Let me know if you have any other suggestion.
Best regards!
from lap.
@fgmacedo do it :)
from lap.
First, thanks for reporting.
I don't know much about poetry yet, but I was thinking about giving it a try. Unfortunately I will not have enough time to devote to this soon. In case you would, I am happy to discuss the details.
from lap.
For people who are struggling to install lap with docker
, you can try to use the other fork of the same project called lap05
.
You can make a search on pypi for the version that most sweet to you.
In your pyproject.toml
:
lap05 = "0.5.1"
numpy = "1.23.2" # You have to add this line because `numpy` is a dependancy of lap
Just make sure, you also install the python3-dev
lib in the section of your docker file where you install system deps.
Example:
# install system dependencies
RUN apt-get update && \
apt-get install -y build-essential && \
apt-get install -y python3-dev && \
apt-get install -y telnet netcat && \
apt-get install -y --no-install-recommends gcc && \
apt-get install -y locales wkhtmltopdf jq && \
apt-get install -y curl
from lap.
@Almorisson if numpy
is a dependency it should be defined as such in lap05
, isn't it?
#41 solved the installation problem for me without the need to add numpy
explicitly.
Unfortunately, there is no word from @gatagat regarding the PR.
from lap.
For anyone coming accross this. You can use lapx
instead which will resolve to lap
when importing.
It worked for me when lauching the test scripts of mmdet
pip install lapx
import lap
from lap.
Related Issues (20)
- [Solved] Failure building wheel, even with g++ HOT 4
- what does the parameter cost_limit in lapjv mean? HOT 2
- Failed To Build on NVIDIA XAVIER NX HOT 2
- Please release 0.5.0 to PyPI HOT 1
- Error while installing lap in a container HOT 2
- Remove deprecated LooseVersion from distutils
- Move away from travis
- Problem installing lap if numpy not already installed HOT 12
- Disable AVX512 for people who don't have it HOT 3
- installation error HOT 6
- Failed to install through pip install lap HOT 18
- Support ARM architectures
- Can not install lap even numpy is installed HOT 3
- ERROR: Command errored out with exit status 1:
- No issue -> `lapx` is live on PyPI for all Windows/Linux/macOS Python 3.7-3.12 HOT 3
- ValueError: numpy.ndarray has the wrong size HOT 1
- having error with Lap 0.4.0 on python 3.10 on MacBook HOT 4
- WineBottler 4.0.1.1 cannot open exe file on Mac 2023
- Error when installing (already have numpy and visual cpp build tools) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lap.