I'm trying to configure my requirements.txt
which is the following:
wheel
apache-airflow
I created python3.8 -m venv ~/test-env
and tried to do the installation. The problem is
python -m pip install -r requirements.txt
produces tons of messages
error: invalid command 'bdist_wheel'
----------------------------------------
Failed building wheel for thrift
I made sure that wheel
is installed when doing requirements.txt
installation:
Collecting wheel (from -r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.
But if I install it separately
python -m pip install wheel
python -m pip install -r requirements
it works fine and the python -m pip -r requirements
finishes with no error messages.
So isn't it possible to put wheel
installation into requirements.txt
? What is the proper way to deal with it when installing into venv
? To install it before requirements.txt
installation?