Giter Club home page Giter Club logo

Comments (6)

fgmacedo avatar fgmacedo commented on August 11, 2024 2

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.

lig avatar lig commented on August 11, 2024 1

@fgmacedo do it :)

from lap.

gatagat avatar gatagat commented on August 11, 2024

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.

Almorisson avatar Almorisson commented on August 11, 2024

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.

lig avatar lig commented on August 11, 2024

@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.

AlanBlanchet avatar AlanBlanchet commented on August 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.