I am trying to make a wheel installation from requirements.txt
. Is there a way to pip install
a .whl
file. I am running Windows 10 and Python version 3.9.12.
CMD command
pip install -r requirements.txt
Error:
ERROR: Invalid requirement: 'TA-Lib @ file:./TA_Lib-0.4.24-cp37-cp37m-win_amd64.whl'
Contents of requirement.txt:
stdiomask==0.0.6
strict-rfc3339==0.7
swagger-spec-validator==2.7.3
sympy==1.9
ta==0.10.1
./TA_Lib-0.4.24-cp37-cp37m-win_amd64.whl
Directory Tree:
C:.
├───TA_Lib-0.4.24-cp37-cp37m-win_amd64
└───requirements.txt
Packages and versions
Package Version
---------- -------
Cython 0.29.30
pip 22.1
setuptools 58.1.0
You can just refer to local file in requirement file this way:
./TA_Lib-0.4.24-cp37-cp37m-win_amd64.whl
Based on example
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.