-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Comments
Hey, @Dishant0210 can you update your phidata version using |
still not working even after running pip install -U phidata, what could be the issue? |
I went through the source code, the modules are there, but still not working |
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 |
@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. |
I am using the latest version of phidata |
@mdeepak2021 can you share the code you are running that is giving this error? |
@manthanguptaa I am too on the latest version of phidata, using the code snippet from the examples only to check, but not working
|
I guess then the problem might be in my venv only, let me try once again. |
Facing the same issue. Waiting for the solution |
Had the same issue. It only appeared after updating to v2.7.6, so I tried uninstalling phidata and then installing v2.7.5 instead. The error no longer occurs... guess I'll wait a while before updating. |
it's a shame that I accidentally put three underscores ( ___ ) instead of two ( __ ) in Anyway, I tried both 'v2.7.6' and 'v2.7.5'. Both of them are working fine. I also faced this issue I updated the code a bit: Now it works fine. [Issue solved] I would recommend everyone to double-check that you are using the appropriate venv. I think it was the main issue |
Thanks @Al-Shafi-Github for sharing the solution here! I am closing this issue now as this is the correct answer |
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
The text was updated successfully, but these errors were encountered: