https://flyte.org logo
#ask-the-community
Title
# ask-the-community
l

L godlike

08/05/2023, 12:39 PM
Hi community Does anyone develop the flytekit and meet the following error ?
Copy code
cd flytekit
pip install -e .
Copy code
>>> from flytekit import Resources, task, workflow
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'Resources' from 'flytekit' (unknown location)
y

Yicheng Lu

08/06/2023, 6:55 AM
Maybe run
make setup
under flytekit folder.
l

L godlike

08/06/2023, 6:55 AM
I’ve done it before, but it doesn’t work, but thanks a lot!
k

Kevin Su

08/07/2023, 5:17 PM
try to create a new python virtual environment, and reinstall it
l

L godlike

08/07/2023, 11:41 PM
Sure
6 Views