- macOS
- Python 3.12 installé (si nécessaire :
brew install python@3.12) - FFmpeg (pour l’audio/vidéo) :
brew install ffmpegpip install poetryou
curl -sSL https://install.python-poetry.org | python3 -Ajoute Poetry au PATH (si nécessaire, fichier ~/.zshrc) :
export PATH="$HOME/.local/bin:$PATH"Recharge :
source ~/.zshrc
poetry --versiongit clone <URL_DU_DEPOT>
cd JuggleTrackInstallation normale :
poetry installLes packages tensorflow standards peuvent poser problème. Utilise la version macOS :
poetry remove tensorflow
poetry add tensorflow-macos(Optionnel Metal GPU) :
poetry add tensorflow-metalSi un message “lock file is currently blocking” / “lock blocking” ou conflit de version apparaît :
rm poetry.lock
poetry lock
poetry installDeux méthodes :
poetry env activate # ouvre un shell virtuel ou donne la commande à lancer pour l'ouvrir
# ou sans activer directement :
poetry run python -Vpoetry run streamlit run app.py| Problème | Solution |
|---|---|
| ModuleNotFoundError | Toujours lancer avec poetry run ... |
| TensorFlow KO | Utiliser tensorflow-macos + éventuellement tensorflow-metal |
| ffmpeg introuvable | brew install ffmpeg |
poetry updatepoetry run python path/to/script.pydeactivate # si dans 'poetry shell'