Installation procedure for M1 macs, proposed by Kévin C. (nov 2022)
- Requirements:
- MacOS 12.6 Mac M1Pro, conda 22.9.0
- Instructions:
conda create python=3.9 --name fidle
conda activate fidle
conda install -c apple tensorflow-deps
python -m pip install tensorflow-macos
python -m pip install tensorflow-metal
conda install pytorch torchvision -c pytorch
conda install -c conda-forge Scikit-image
conda install -c conda-forge Scikit-learn
conda install -c conda-forge Matplotlib
conda install -c conda-forge Pandas
conda install -c conda-forge Pandoc
conda install -c conda-forge pyyaml
conda install -c plotly plotly
conda install -c conda-forge Jupyterlab
python -m pip install --upgrade barviz
python -m pip install --upgrade fidle
mkdir fidle-tp
cd fidle-tp
fid install --quiet
fid check
fid check
gives something like :
==========================================================
fid - Your favorite Fidle admin command :-) (v2.0b52)
==========================================================
Notebooks and datasets can only be found if they are in/near the explored folder.
Explored directory is : /Users/xxx/fidle-tp
Datasets dir found :
/Users/xxx/fidle-tp/datasets-fidle (Datasets Fidle / 1.6)
The environment variable FIDLE_DATASETS_DIR is : undefined
Notebooks dir found :
/Users/xxx/fidle-tp/fidle-master (Notebooks Fidle / 2.2.2)
Check environment :
Python : Ok (3.9.13)
Fidle module : Ok (2.0b52)
tensorflow : Ok (2.10.0)
tensorflow.keras : Ok (2.10.0)
numpy : Ok (1.23.2)
sklearn : Ok (1.1.3)
skimage : Ok (0.19.3)
matplotlib : Ok (3.6.2)
plotly : Ok (5.11.0)
pandas : Ok (1.5.1)
jupyterlab : Ok (3.5.0)
torch : Ok (1.13.0)
torchvision : Ok (0.14.0)
Vous pouvez maintenant lancer votre jupyter lab !
Depuis un shell :
cd (...)/fidle-tp
conda activate fidle
jupyter lab