Comments (6)
Could be this?
enterprise_gateway/pyproject.toml
Line 29 in 9424e3f
from enterprise_gateway.
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
Welcome to the Jupyter community! 🎉
from enterprise_gateway.
Correct. EG doesn't support jupyter_client 7 or higher, nor does it support jupyter_server 2 or higher.
If you must use server >= 2 and client >= 7 you may want to explore using gateway_provisioners.
If you need your "kernel server" separated from your notebook server, you could deploy kernel gateway with gateway provisioners to get similar functionality. That said, EG should be usable so long as your python environments are properly configured.
from enterprise_gateway.
@kevin-bates and @lresende - Thank you for your information. Below is my setup
- ven-gw - virtual environment for JEG (3.2.2) and configured with a ipython kernel using pip
ipykernel==6.25.2
ipython==8.15.0
jupyter-client==6.1.12
jupyter-server==1.24.0
jupyter_core==5.3.1
jupyter_enterprise_gateway==3.2.2
jupyterlab-pygments==0.2.2
tornado==6.3.3
pyzmq==24.0.1
- venv-nb - a virtual environment of jupyter-server & lab
Are you saying that I should use the same versions of jupyter-server and jupyter_client as JEG pinned to? i.e 6.1.12 and 1.24.0. Please, clarify it? If possibel, please share requirements.txt file?
Yes, I tried to use JEG on k8s (AWS-EKS) and Jupyter-server/lab from the laptop/EC2 box but I ran into the same above issues.
[I 2023-09-23 11:49:18.217 ServerApp] Connecting to kernel 448500a4-f6a7-437e-9cac-ea134712f108.
[I 2023-09-23 11:49:18.217 ServerApp] Connecting to ws://127.0.0.1:8888/api/kernels/448500a4-f6a7-437e-9cac-ea134712f108/channels
[W 2023-09-23 11:49:19.051 ServerApp] Lost connection to Gateway: 448500a4-f6a7-437e-9cac-ea134712f108
[I 2023-09-23 11:49:19.051 ServerApp] Attempting to re-establish the connection to Gateway in 1.49 secs (1/5): 448500a4-f6a7-437e-9cac-ea134712f108
I will test your suggestions and keep posted. Thanks again for your help.
from enterprise_gateway.
I was able to make it work using JupyterLab==3.6.5 with jupyter-client==6.1.12 and jupyter-server==1.24.0 same as JEG 3.2.2. Below is the details configuration.
jupyter-client==6.1.12
jupyter-events==0.7.0
jupyter-lsp==2.2.0
jupyter-server==1.24.0
jupyter-telemetry==0.1.0
jupyter-ydoc==0.2.5
jupyter_core==5.3.1
jupyter_server_fileid==0.9.0
jupyter_server_ydoc==0.8.0
jupyterhub==4.0.2
jupyterlab==3.6.5
jupyterlab-pygments==0.2.2
jupyterlab_server==2.25.0
Next, I will try suggested using kernel gateway with gateway provisioners. Is there an ETA for JEG supports kernel provisioners?
from enterprise_gateway.
Is there an ETA for JEG supports kernel provisioners?
Not really (unfortunately), unless someone wants to take that on. Although not required, it would be good to first move the base Jupyter Server to 2.0 prior to removing the process-proxies, but given the authorization hurdles encountered in a similar exercise in JKG, it might be better treat the two tasks independently. (Although if the goal is to have a combined Python env for both server and EG, we'd need JS 2.x. I don't view the combined envs to be a requirement since the whole purpose of EG is to separate the compute (kernels) from the user's desktop - and you can achieve that today using JKG and GatewayProvisioners.)
from enterprise_gateway.
Related Issues (20)
- Avoid too many retried on kernel shutdown tries HOT 1
- Failed to start kernels (Spark Operator) keeps trying to connect indefinitely
- could not find elyra/enterprise-gateway:3.2.1 HOT 4
- Conda -> Venv for local development HOT 4
- DockerProcessProxy missing abstract method implementation
- Add Karpenter do-not-evict annotations to kernel-pod HOT 2
- Jupyter Enterprise Gateway to also create an Ingress resource along with service for each driver pod to access Spark UI HOT 3
- Add Mutual Authentication Option as a Parameter HOT 3
- Fix doc build HOT 1
- Build fail -> Error response from daemon: No such container: itest-yarn
- Jupyter lab error starting kernel HOT 8
- Add the option to terminate pending kubernetes kernels if they have events preventing them from starting HOT 5
- KIP cannot use ImagePullSecret when using containerd HOT 2
- kernel Status: Unknown in Jupyterhub 3.2.1 while connecting remote kernel vai Jupyter Enterprise Gateway 3.2.1 on K8s 1.25 AWS EKS HOT 3
- upgrade the os version used by the kernel-image-puller from Debian 11 to Debian 12 HOT 2
- image not found for 3.2.3 release HOT 4
- Sometimes cannot connect to kernel through websocket in replication availability mode
- JEG 3.2.3 on K3s v1.28.5 unable to start kernels. Same actions with helm chart 3.2.2 pyspark kubernetes work. HOT 6
- Jupyter Enterprise Gateway内核使用pyspark报错 HOT 1
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 enterprise_gateway.