Giter Site home page Giter Site logo

Comments (5)

MareArts avatar MareArts commented on May 19, 2024

--use-wheel
this option is also not support on pip..

from lambda-packs.

ryfeus avatar ryfeus commented on May 19, 2024

@MareArts You can use the following code to install python36 with pip:

yum install -y yum-utils
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install -y python36.x86_64
yum install -y python36-devel.x86_64
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python36 get-pip.py

Then everything else should work.

from lambda-packs.

MareArts avatar MareArts commented on May 19, 2024

@ryfeus
Thank you very much for your answers.
I have success to build Tensorflow, but I have this issue when I build opencv

Unable to import module 'index_py3': /var/task/cv2/cv2.cpython-36m-x86_64-linux-gnu.so: ELF load command address/offset not properly aligned

I use "pip install opencv-python".

Do you have any idea?
Thank you.

from lambda-packs.

ryfeus avatar ryfeus commented on May 19, 2024

@MareArts it happens when you strip command runs on some .so files. In the case of this pack you need to make sure that strip command doesn't run on cv2.cpython-36m-x86_64-linux-gnu.so

from lambda-packs.

Beomi avatar Beomi commented on May 19, 2024

@MareArts
Currently, AWS lambda uses amazonlinux:1 version.
Since build script on this repo is targeting amazonlinux:latest,
but recently AWS releases amazonlinux:2 so currently I'm working on to edit it.

from lambda-packs.

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.