absl-py==0.14.1 argcomplete==1.12.3 argon2-cffi==21.1.0 astor==0.7.1 astunparse==1.6.3…
- User
absl-py==0.14.1 argcomplete==1.12.3 argon2-cffi==21.1.0 astor==0.7.1 astunparse==1.6.3 attrs==21.2.0 backcall==0.2.0 bleach==4.1.0 cached-property==1.5.2 cachetools==4.2.4 certifi==2021.5.30 cffi==1.14.6 charset-normalizer==2.0.7 clang==5.0 click==8.0.1 colorama==0.4.4 cycler==0.10.0 debugpy==1.4.3 decorator==5.1.0 defusedxml==0.7.1 entrypoints==0.3 face-recognition==1.3.0 face-recognition-models==0.3.0 flatbuffers==1.12 gast==0.4.0 google-auth==2.3.0 google-auth-oauthlib==0.4.6 google-pasta==0.2.0 grpcio==1.41.0 h5py==3.1.0 idna==3.3 importlib-metadata==4.8.1 ipykernel==6.4.1 ipython==7.28.0 ipython-genutils==0.2.0 ipywidgets==7.6.5 jedi==0.18.0 Jinja2==3.0.1 joblib==1.0.1 jsonschema==3.2.0 jupyter==1.0.0 jupyter-client==7.0.4 jupyter-console==6.4.0 jupyter-core==4.8.1 jupyterlab-pygments==0.1.2 jupyterlab-widgets==1.0.2 keras==2.6.0 Keras-Applications==1.0.7 Keras-Preprocessing==1.1.2 kiwisolver==1.3.2 Markdown==3.1 MarkupSafe==2.0.1 matplotlib==3.4.3 matplotlib-inline==0.1.3 mistune==0.8.4 mock==2.0.0 mtcnn==0.1.1 nbclient==0.5.4 nbconvert==6.2.0 nbformat==5.1.3 nest-asyncio==1.5.1 notebook==6.4.4 numpy==1.19.5 oauthlib==3.1.1 opencv-python==4.5.3.56 opt-einsum==3.3.0 ortools==9.0.9048 packaging==21.0 pandocfilters==1.5.0 parso==0.8.2 pbr==5.1.3 pickleshare==0.7.5 Pillow==8.3.2 prometheus-client==0.11.0 prompt-toolkit==3.0.20 protobuf==3.18.1 pyasn1==0.4.8 pyasn1-modules==0.2.8 pycparser==2.20 Pygments==2.10.0 pyparsing==2.4.7 pyrsistent==0.18.0 python-dateutil==2.8.2 pywin32==301 pywinpty==1.1.4 pyzmq==22.3.0 qtconsole==5.1.1 QtPy==1.11.2 requests==2.26.0 requests-oauthlib==1.3.0 rsa==4.7.2 scikit-learn==0.21.3 scipy==1.7.1 Send2Trash==1.8.0 six==1.15.0 tensorboard==2.7.0 tensorboard-data-server==0.6.1 tensorboard-plugin-wit==1.8.0 tensorflow==2.6.0 tensorflow-estimator==2.6.0 termcolor==1.1.0 terminado==0.12.1 testpath==0.5.0 threadpoolctl==2.2.0 tornado==6.1 traitlets==5.1.0 typing-extensions==3.7.4.3 urllib3==1.26.7 wcwidth==0.2.5 webencodings==0.5.1 Werkzeug==0.15.2 widgetsnbextension==3.5.1 wincertstore==0.2 wrapt==1.12.1 zipp==3.5.0
What version of python shall be used for this? The project should run flawlessly with full functionality.
- Assistant
Based on the package versions you have provided, the best version of Python to use for your project is Python 3.7.
Here's the reasoning:
- TensorFlow 2.6.0: Supports Python 3.6 to 3.9.
- Scikit-learn 0.21.3: This version of scikit-learn officially supports Python 3.5, 3.6, and 3.7. It may not be fully compatible with Python 3.8 or higher.
- Face-recognition and dlib: These packages have historically had compatibility issues with newer Python versions. Using Python 3.7 ensures better compatibility.
- mtcnn 0.1.1: Compatible with Python 3.6 and 3.7.
By choosing Python 3.7, you align with the maximum compatibility range of all your specified packages, ensuring that your project runs flawlessly with full functionality.
Recommendation: Use Python 3.7 for your project.