Comments (9)
The rest api accepts a zip file. The zip file may contain a requirements file. But the βclientβ has to create the zip file first.
from openwhisk-runtime-python.
Hi, @rabbah I am a beginner in whisk dev and I would like to send a PR for this issue if no one else is working on it.
from openwhisk-runtime-python.
Hi, actually the newer runtimes for python does have support for compilation. Adding support for requirements.txt is a matter of adding a pip install -r requirements.txt here:
and I planned to add this feature in the next PR where I clean a few bugs and use the latest runtime.
from openwhisk-runtime-python.
@ezio-auditore am I understanding correctly that you'd like to enhance the python runtime to perform the pip installation?
if so, I'll transfer this issue to the python runtime repo and @sciabarra can provide you with pointers for how to implement this - the project welcomes contributions. Thank you for your interest.
from openwhisk-runtime-python.
@rabbah it would be great, thanks.
from openwhisk-runtime-python.
I can do it and I will do it also soon but I have some other stuff in my workload. A few days.
from openwhisk-runtime-python.
@sciabarra So as I understand, this update will support requirements.txt as a parameter instead of making zip file ?
from openwhisk-runtime-python.
@sciabarra is this now supported with the new version of the runtime?
from openwhisk-runtime-python.
from openwhisk-runtime-python.
Related Issues (20)
- normalize naming to remove actionLoop
- build image error HOT 4
- Installation of spaCy package is not possible HOT 2
- Support for 3.12 HOT 1
- openwhisk/python2action runtime fails with ImportError HOT 7
- update base image to use newer alpine
- Tests failing with current OpenWhisk HOT 2
- AI Action example: ImportError: No module named 'inference' HOT 1
- Python 3.7 - sys.executable is empty
- update python 3 image to python 3.7 HOT 3
- Possible enhancement: Deepspeech runtime HOT 1
- license for image HOT 3
- Naming consistency: "pythonAction" folder/image should include "3" in name HOT 3
- Failed to build image for python 2 by "./gradlew :core:python2Action:distDocker" HOT 2
- Python dynamic module loading HOT 1
- Openwhisk incompatibility problem!! HOT 1
- action-loop runtime is not exporting env variables correctly HOT 1
- convert scripts to python3 HOT 3
- build image error HOT 2
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 openwhisk-runtime-python.