Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import issue #1662

Open
Dishant0210 opened this issue Dec 30, 2024 · 7 comments
Open

Import issue #1662

Dishant0210 opened this issue Dec 30, 2024 · 7 comments

Comments

@Dishant0210
Copy link

Dishant0210 commented Dec 30, 2024

ImportError: cannot import name 'identity' from 'phi.utils' (C:\Users\Dell\AppData\Local\Programs\Python\Python312\Lib\site-packages\phi\utils_init_.py)
I got the above issue I searched in this repository still didnt' found it
I want to use this function to deploy my agent in phidata playground

@manthanguptaa
Copy link
Contributor

Hey, @Dishant0210 can you update your phidata version using pip install -U phidata? This should resolve the issue.

@mdeepak2021
Copy link

still not working even after running pip install -U phidata, what could be the issue?

@tanmayyyj
Copy link

I went through the source code, the modules are there, but still not working

@mdeepak2021
Copy link

I was able to fix it, I deleted the conda environment and created a new one and it started working. Try this way, it might help

@manthanguptaa
Copy link
Contributor

@mdeepak2021 @tanmayyyj @Dishant0210 can you confirm what Phidata version you are on?

Also can you all share the code so that I can try to replicate it on my end. My guess is that your virtual environment is messed up a little. I will try my best to help you.

@mdeepak2021
Copy link

I am using the latest version of phidata

@manthanguptaa
Copy link
Contributor

@mdeepak2021 can you share the code you are running that is giving this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants