Building-ML-Pipelines / building-machine-learning-pipelines

Code repository for the O'Reilly publication "Building Machine Learning Pipelines" by Hannes Hapke & Catherine Nelson
MIT License
583 stars 250 forks source link

There issues installing the requirements.txt in ubutu 22.04 #68

Open ivan1016017 opened 1 year ago

ivan1016017 commented 1 year ago

Thank you for reporting an issue!

If you want to report an issue with the code in this repository, please provide the following information:

Trying to install:

tensorboard_plugin_fairness_indicators==0.35.0 tensorflow_hub==0.12.0 tensorflow_privacy==0.7.3 tensorflow==2.6.1 tfx==1.4.0 witwidget==1.8.1

Runing environements I am trying to use (using pyenv):

3.5.8 3.6.8 3.8.2 3.9.2 3.9.8

(venv) ivan@ivan-Z590I-AORUS-ULTRA ~/ProjectPrometheus/ComputerScience/NeuralNetworksProjects/ci-cd-pipelines/foundations/building-machine-learning-pipelines/requirements (main)$ pip install -r requirements.txt 
ERROR: Could not find a version that satisfies the requirement tensorboard_plugin_fairness_indicators==0.35.0 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.23.0, 0.24.0, 0.25.0, 0.26.0, 0.27.0, 0.28.0, 0.29.0, 0.30.0)
ERROR: No matching distribution found for tensorboard_plugin_fairness_indicators==0.35.0
WARNING: You are using pip version 21.2.3; however, version 22.3.1 is available.
You should consider upgrading via the '/home/ivan/ProjectPrometheus/ComputerScience/NeuralNetworksProjects/ci-cd-pipelines/foundations/building-machine-learning-pipelines/venv/bin/python3 -m pip install --upgrade pip' command

Try to use

Trying to install:

tensorboard_plugin_fairness_indicators==0.35.0 tensorflow_hub==0.12.0 tensorflow_privacy==0.7.3 tensorflow==2.6.1 tfx==1.4.0 witwidget==1.8.1

and use any of the running environments

3.5.8 3.6.8 3.8.2 3.9.2 3.9.8

and try to run the commands

cd requirements
pip install -r requirements.txt
hanneshapke commented 1 year ago

Hi @ivan1016017,

Not quite sure which Python version you are using. But if it is 3.10.0 (set by /home/ivan/.pyenv/version), then I don't think that TFX and some dependencies support 3.10.