Hello, I meet problems while running server.ipynb of week 1’s ungraded lab. After choosing an image from the provided folder, the following error appeared.
Would you help me to solve the problem ?
The requirements.txt file is as follows:
cvlib==0.2.6
opencv-python-headless==4.5.3.56
Pillow==8.4.0.
tensorflow==2.7.0
uvicorn==0.16.0
python-multipart==0.0.5
fastapi==0.70.1
nest-asyncio==1.5.4
jupyterlab==3.2.5
protobuf==3.20
Also, I am using conda on Windows.
1 Like
Lab works on linux. A mentor with access to windows OS will respond to this topic.
1 Like
Hello mentor. May I know if all the labs are expected to work only on Linux or on any OS ?
1 Like
Hi @dsfasfuqwjoasjsad !
The Lab works fine on Windows and Conda. Unfortunately, 400 Bad requests can be caused by many things. By the looks of the logs, it seems it cannot even get the main page working http://localhost:8000/docs
You can try resetting the kernels or reinstall the conda environment. I’m using the latest Conda version 2.5.3 and Windows 10.
If it is still not working, please DM me if you need more help.
BR,
Vy
Hello mentor, may I have your conda environment package and version ?
Hi, it’s Anaconda 2.5.3 python=3.7. It’s the same package as in requirements.txt
. Try updating your conda navigation and reinstalling the packages.
Hello, thanks for your help ! The problem has been solved