qubvel / efficientnet

Implementation of EfficientNet model. Keras and TensorFlow Keras.
https://arxiv.org/abs/1905.11946
Apache License 2.0
2.07k stars 472 forks source link

Failed to install on Ubuntu 16.04.6 #66

Open IdoWSC opened 5 years ago

IdoWSC commented 5 years ago

Hi, I ran pip install -U git+https://github.com/qubvel/efficientnet and received the following:

Collecting git+https://github.com/qubvel/efficientnet Cloning https://github.com/qubvel/efficientnet to /tmp/pip-k06rtpj3-build Collecting keras_applications<=1.0.8,>=1.0.7 (from efficientnet==1.0.0b3) Downloading https://files.pythonhosted.org/packages/71/e3/19762fdfc62877ae9102edf6342d71b28fbfd9dea3d2f96a882ce099b03f/Keras_Applications-1.0.8-py3-none-any.whl (50kB) 100% |████████████████████████████████| 51kB 11.2MB/s Collecting scikit-image (from efficientnet==1.0.0b3) Downloading https://files.pythonhosted.org/packages/00/ba/9688afba6ab3714875a8d22284ce0362086e47f3cda60243e5d4de5e5943/scikit_image-0.15.0-cp35-cp35m-manylinux1_x86_64.whl (26.2MB) 100% |████████████████████████████████| 26.2MB 57kB/s Collecting numpy>=1.9.1 (from keras_applications<=1.0.8,>=1.0.7->efficientnet==1.0.0b3) Downloading https://files.pythonhosted.org/packages/d4/64/7619774f0bd8ef364d46a5df8eb1bc78784cd787324b9624f6793e72f787/numpy-1.17.1-cp35-cp35m-manylinux1_x86_64.whl (20.1MB) 100% |████████████████████████████████| 20.2MB 77kB/s Requirement already up-to-date: h5py in ./.local/lib/python3.5/site-packages (from keras_applications<=1.0.8,>=1.0.7->efficientnet==1.0.0b3) Collecting PyWavelets>=0.4.0 (from scikit-image->efficientnet==1.0.0b3) Downloading https://files.pythonhosted.org/packages/6a/3f/d92fbd9b65f879197620f404c1603bfeaa54560743bb9fb3a6b48b66a707/PyWavelets-1.0.3-cp35-cp35m-manylinux1_x86_64.whl (4.4MB) 100% |████████████████████████████████| 4.4MB 373kB/s Collecting pillow>=4.3.0 (from scikit-image->efficientnet==1.0.0b3) Downloading https://files.pythonhosted.org/packages/d6/98/0d360dbc087933679398d73187a503533ec0547ba4ffd2115365605559cc/Pillow-6.1.0-cp35-cp35m-manylinux1_x86_64.whl (2.1MB) 100% |████████████████████████████████| 2.1MB 802kB/s Requirement already up-to-date: imageio>=2.0.1 in ./.local/lib/python3.5/site-packages (from scikit-image->efficientnet==1.0.0b3) Collecting matplotlib!=3.0.0,>=2.0.0 (from scikit-image->efficientnet==1.0.0b3) Downloading https://files.pythonhosted.org/packages/12/d1/7b12cd79c791348cb0c78ce6e7d16bd72992f13c9f1e8e43d2725a6d8adf/matplotlib-3.1.1.tar.gz (37.8MB) 100% |████████████████████████████████| 37.8MB 42kB/s Complete output from command python setup.py egg_info:

Beginning with Matplotlib 3.1, Python 3.6 or above is required.

This may be due to an out of date pip.

Make sure you have pip >= 9.0.1.

----------------------------------------

Command "python setup.py egginfo" failed with error code 1 in /tmp/pip-build-l3aisvf/matplotlib/ You are using pip version 8.1.2, however version 19.2.3 is available. You should consider upgrading via the 'pip install --upgrade pip' command.

Does anyone know the reason?

mosheliv commented 5 years ago

use pip3 for installing for python3. python 2 is declining fast as it is not supported anymore.

On Tue, Sep 3, 2019 at 3:02 AM IdoWSC notifications@github.com wrote:

Hi, I ran pip install -U git+https://github.com/qubvel/efficientnet and received the following:

Collecting git+https://github.com/qubvel/efficientnet Cloning https://github.com/qubvel/efficientnet to /tmp/pip-k06rtpj3-build Collecting keras_applications<=1.0.8,>=1.0.7 (from efficientnet==1.0.0b3) Downloading https://files.pythonhosted.org/packages/71/e3/19762fdfc62877ae9102edf6342d71b28fbfd9dea3d2f96a882ce099b03f/Keras_Applications-1.0.8-py3-none-any.whl (50kB) 100% |████████████████████████████████| 51kB 11.2MB/s Collecting scikit-image (from efficientnet==1.0.0b3) Downloading https://files.pythonhosted.org/packages/00/ba/9688afba6ab3714875a8d22284ce0362086e47f3cda60243e5d4de5e5943/scikit_image-0.15.0-cp35-cp35m-manylinux1_x86_64.whl (26.2MB) 100% |████████████████████████████████| 26.2MB 57kB/s Collecting numpy>=1.9.1 (from keras_applications<=1.0.8,>=1.0.7->efficientnet==1.0.0b3) Downloading https://files.pythonhosted.org/packages/d4/64/7619774f0bd8ef364d46a5df8eb1bc78784cd787324b9624f6793e72f787/numpy-1.17.1-cp35-cp35m-manylinux1_x86_64.whl (20.1MB) 100% |████████████████████████████████| 20.2MB 77kB/s Requirement already up-to-date: h5py in ./.local/lib/python3.5/site-packages (from keras_applications<=1.0.8,>=1.0.7->efficientnet==1.0.0b3) Collecting PyWavelets>=0.4.0 (from scikit-image->efficientnet==1.0.0b3) Downloading https://files.pythonhosted.org/packages/6a/3f/d92fbd9b65f879197620f404c1603bfeaa54560743bb9fb3a6b48b66a707/PyWavelets-1.0.3-cp35-cp35m-manylinux1_x86_64.whl (4.4MB) 100% |████████████████████████████████| 4.4MB 373kB/s Collecting pillow>=4.3.0 (from scikit-image->efficientnet==1.0.0b3) Downloading https://files.pythonhosted.org/packages/d6/98/0d360dbc087933679398d73187a503533ec0547ba4ffd2115365605559cc/Pillow-6.1.0-cp35-cp35m-manylinux1_x86_64.whl (2.1MB) 100% |████████████████████████████████| 2.1MB 802kB/s Requirement already up-to-date: imageio>=2.0.1 in ./.local/lib/python3.5/site-packages (from scikit-image->efficientnet==1.0.0b3) Collecting matplotlib!=3.0.0,>=2.0.0 (from scikit-image->efficientnet==1.0.0b3) Downloading https://files.pythonhosted.org/packages/12/d1/7b12cd79c791348cb0c78ce6e7d16bd72992f13c9f1e8e43d2725a6d8adf/matplotlib-3.1.1.tar.gz (37.8MB) 100% |████████████████████████████████| 37.8MB 42kB/s Complete output from command python setup.py egg_info:

Beginning with Matplotlib 3.1, Python 3.6 or above is required.

This may be due to an out of date pip.

Make sure you have pip >= 9.0.1.


Command "python setup.py egginfo" failed with error code 1 in /tmp/pip-build-l3aisvf/matplotlib/ You are using pip version 8.1.2, however version 19.2.3 is available. You should consider upgrading via the 'pip install --upgrade pip' command.

Does anyone know the reason?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/qubvel/efficientnet/issues/66?email_source=notifications&email_token=AC7IWCYMA5JPAQQNQJDJCT3QHUTJRA5CNFSM4IS6KUWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HIZ2RJQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AC7IWCZUXV6KZE4FLHIVYODQHUTJRANCNFSM4IS6KUWA .

IdoWSC commented 5 years ago

Thx @mosheliv I am using pyhon3, the problem occurs for some requirements of Matplotlib