user3523406
user3523406

Reputation: 575

error: invalid command 'bdist_wheel' inside dockerfile

I am getting the following error:

Building wheels for collected packages: fisher, goatools, wget
  ...
  Running setup.py bdist_wheel for fisher: finished with status 'error'
  ...

  error: invalid command 'bdist_wheel'

  ----------------------------------------
  Failed building wheel for fisher
  Running setup.py clean for fisher

Inside the this Dockerfile:

FROM debian:stretch-backports
RUN apt-get update  && apt-get install -y --no-install-recommends \
    build-essential \
    apache2 \
    python-dev \
    python-setuptools \
    python-numpy \
    python-mysqldb \
    python-pip \
    git wget \
    ncbi-blast+ && \
    apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN pip install wheel fisher goatools

What did I miss?

Thank you in advance

Upvotes: 0

Views: 4581

Answers (1)

Max Voitko
Max Voitko

Reputation: 1629

Try to install wheel package first then everything else

RUN pip install wheel
RUN pip install fisher goatools

Upvotes: 1

Related Questions