phidatahq / ai-cookbook

Mozilla Public License 2.0
60 stars 12 forks source link

Identity #5

Open Keppler55B opened 6 months ago

Keppler55B commented 6 months ago

The error message is indicating that there's an issue with importing the 'identity' function from 'phi.utils' module. It seems that the 'identity' function is not found in the init.py file of the 'phi.utils' module.

ashpreetbedi commented 6 months ago

@Keppler55B i think you might have the wrong phidata package. Please can you confirm phidata is installed using pip install phidata?

Keppler55B commented 6 months ago

Installing collected packages: tomli, sniffio, shellingham, pyyaml, python-dotenv, pydantic-core, h11, annotated-types, pydantic, httpcore, anyio, typer, pydantic-settings, httpx, phidata WARNING: Failed to write executable - trying to use .deleteme logic ERROR: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified: 'C:\Python312\Scripts\dotenv.exe' -> 'C:\Python312\Scripts\dotenv.exe.deleteme'

Keppler55B commented 6 months ago

I think its pointing to the wrong directory