Comments (6)
author: @akchinSTC
im getting the same correct output in both instances
verified that both sys.path (PYTHON_PATH) were identical, with the jupyter lab root workspace as the first directory prepended to it.
file structure:
[jupyter lab root]\
notebook1.ipynb
test.py
helloworld.py
__init__.py
in both instances executing via notebook and python runner
from helloworld import Helloworld
a = Helloworld()
a.say_hi('John')
results in a
Hi John
tried also via a python console window and same result.
from elyra.
author: @lresende
Did you do these tests from the root of the workspace? The only difference I can see is that I have these in a folder. Here are the files I have used:
from elyra.
author: @lresende
Yes, running from within the root folder, the imports seem to work. This might end up being a JupyterLab issue?
from elyra.
author: @akchinSTC
Did you do these tests from the root of the workspace? The only difference I can see is that I have these in a folder. Here are the files I have used:
Yep, ran all from the root of the workspace. Im thinking it has to do with the way JupyterLab sets the PYTHON_PATH? (sys.path)
from elyra.
author: @lresende
Deferring for now as it's currently a JupyterLab bug
from elyra.
This seems to be working after the python editor is now using the proper path context when executing the python script #1071
from elyra.
Related Issues (20)
- AWS access key are referenced in exported pipeline file HOT 1
- tracker: Airflow 2.x support HOT 4
- make generic pipelines to DAG rendering work with Airflow 2.x HOT 4
- add limits for container resources like cpu. memory, GPU in addition to requests HOT 9
- Issue with Elyra Pipeline Canvas: Deleting "File Dependencies" in "Node Parameters" leads to blank page
- Kubeflow pipelines 2.0.0 support HOT 3
- Can't export kubeflow pipelines if I use parameters HOT 1
- Introduce Option to make S3 Region configurable
- Unable to use KUBERNETES_SERVICE_ACCOUNT_TOKEN authentication method HOT 2
- Common or shared variables for different notebooks in a pipeline HOT 9
- Does elyra stop update new version anymore? HOT 1
- Unable to include folder/dir as deps in elyra pipeline from node properties.
- Introduce pipeline version with numbers(v1,etc) instead of datastamp HOT 1
- ODH Quick Install links are broken HOT 3
- Support AWS airflow configuration
- elyra-pipeline validate CLI command fails for pipelines with parameters and default properties HOT 1
- Kubeflow Pipelines runtime configuration HOT 1
- Fix/Add back support for Python 3.11
- Local development setup not working HOT 6
- Read the Docs: Update integration webhook secret
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 elyra.