Comments (4)
Thanks for the report. Could you provide the Dockerfile to make it easier to reproduce the error? The base image above does not provide g++, python and any of the python dependencies.
from lap.
Thank you for taking the time. I've rewritten these a bit for readability, but these should still reproduce the bug (I tested it).
I build the image using the command line docker-compose -f docker-compose.yml build
Dockerfile.txt
docker-compose.yml.txt
requirements.txt
from lap.
Thanks, the build is missing python headers:
...
#17 122.1 lap/_lapjv.cpp:4:10: fatal error: Python.h: No such file or directory
#17 122.1 #include "Python.h"
#17 122.1 ^~~~~~~~~~
#17 122.1 compilation terminated.
...
Adding the headers to your dockerfile should solve it:
apt install python3.8-dev
Let me know if this helped.
from lap.
That fixed it, thank you!
from lap.
Related Issues (20)
- 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 19
- 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
- Hi everyone, I'm installing the library lap using the command "pip install lap".
- problem installing LAP library in vscode using pyhton 3.12.4 HOT 3
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.