RuntimeError: Error initializing rest store with URL 'http://127.0.0.1:8237': module 'jwt' has no attribute 'encode'

34 Views Asked by At

The first command python run_deployment.py --config deploy runs successfully and suggests that I run the next command- zenml up

zenml up generates the following error.

Image 1

Image 2

image 3

image 4

image 5

image 6

image 7

I was following along with the MLOPs course by Ayush on youtube. Thank you for your help in advance.

I tried

1. pip install jwt
2. pip install PyJWT
3. pip uninstall jwt
4. pip install jwt==1.3.0
5. pip install --upgrade --force-reinstall PyJWT 
6. pip install --upgrade --force-reinstall jwt
0

There are 0 best solutions below