Not able to connect to the app
Madhu-gh opened this issue ยท 2 comments
Madhu-gh commented
๐ Bug
I'm not able to connect to the Trainer studio App because of the error. None of the lightning command works. It is kept showing this error below
File "/Users/madhumathiyalagan/lightning-hpo/lightning_hpo/framework/agnostic.py", line 6, in <module>
from typing import Any, Dict, Optional, TypedDict
ImportError: cannot import name 'TypedDict' from 'typing' (/Users/madhumathiyalagan/miniconda3/envs/prod-12265/lib/python3.7/typing.py)
To Reproduce
- Open Terminal
- make_prod
- Do ---> step 1 here
git clone https://github.com/Lightning-AI/lightning-hpo && cd lightning-hpo
pip install -e . -r requirements.txt --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
- Do ---> Step 3 here
PACKAGE_LIGHTNING=1 python -m lightning run app app.py --cloud
- Click ---> OpenApp
- Connect to app --->
lightning connect 01gkmref244yjm4zv3gqs860ef --yes
Then I get the below error
Code sample
Expected behavior
Environment
- PyTorch Version (e.g., 1.0):
- OS (e.g., Linux):
- How you installed PyTorch (
conda
,pip
, source): - Build command you used (if compiling from source):
- Python version:
- CUDA/cuDNN version:
- GPU models and configuration:
- Any other relevant information:
Additional context
github-actions commented
Hi! thanks for your contribution!, great first issue!
lantiga commented
This is because you are using Python 3.7.
In the Installation section we explicitly state we require Python 3.8+