You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am building the local environment of a Python project, on a MacBook Pro (Apple M1 Max). However, I cannot install anymore tensorflow-recommenders = "~=0.7.3" using poetry.
I'm getting the following error:
$> poetry lock --no-cache
Creating virtualenv <path to venv>
Updating dependencies
Resolving dependencies... (4.4s)
Package 'tensorflow-macos' is listed as a dependency of itself.
I'm using the following versions:
Python 3.11.1
Poetry: 1.8.2
Pip: 24.0
To reproduce this, create an empty directory, make sure you have Python and poetry setup, paste the following as your initial pyproject.toml
I solve it by downgrading tensorflow-recommenders to 0.7.2, works like a charm, the problem is a recursive dependency in the new package
Thanks! The trick I am using right now is to lock without upgrading un-tached dependencies in the .toml file (poetry lock --no-update). I can do this because at some point I did manage to create a .lock file with tensorflow-recommenders = "~=0.7.3". The problem only started to arise with the latest releases of tensorflow in March 2024. I hope it gets solved.
I am building the local environment of a
Python
project, on a MacBook Pro (Apple M1 Max). However, I cannot install anymoretensorflow-recommenders = "~=0.7.3"
usingpoetry
.I'm getting the following error:
I'm using the following versions:
To reproduce this, create an empty directory, make sure you have
Python
andpoetry
setup, paste the following as your initialpyproject.toml
And then run
poetry lock
The text was updated successfully, but these errors were encountered: