... | ... | @@ -9,14 +9,14 @@ Under Mac Monterey (and may be under Big Sur), you may need to update your Pytho |
|
|
For instance, with Python 3.9.9 pip installation of the following environment succeeds and Jupyterlab can be launched.
|
|
|
|
|
|
|
|
|
## First install Tensorflow from the official install procedure
|
|
|
## 1 - First install Tensorflow from the official install procedure
|
|
|
|
|
|
The easiest way is to follow the official procedure proposed on the Tensorflow and PyTorch web sites:
|
|
|
|
|
|
- **https://www.tensorflow.org/install/pip?hl=fr**
|
|
|
- **https://pytorch.org/**
|
|
|
|
|
|
## Required additional packages for Fidle
|
|
|
## 2 - Required additional packages for Fidle
|
|
|
|
|
|
Once Tensorflow is installed following the official procedure, you must install the following additional modules:
|
|
|
|
... | ... | @@ -39,4 +39,77 @@ pip install Scikit-image Scikit-learn Matplotlib plotly barviz Pandas Pandoc pyy |
|
|
|
|
|
Once your Python environment is installed, **you should be able to follow the standard Linux** procedure **[from point 4)](Using-Fidle/Linux%20installation%20with%20pip#4-install-notebooks-et-datasets)**
|
|
|
|
|
|
|
|
|
## Annexe 1 - Mac M1
|
|
|
|
|
|
An installation procedure for M1 macs, proposed by Kévin C. (thanks a lot !!)
|
|
|
Under **MacOS 12.6 Mac M1Pro**, the following procedure using **conda 22.9.0** seems to work:
|
|
|
```
|
|
|
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
|
|
|
```
|
|
|
|
|
|
[Back to the install procedure](Using Fidle/install fidle) |
|
|
\ No newline at end of file |