0

I want to install some python dependency using requirement.txt file. But as you can see to install a client-py I have to use some additional flags manly extra-index-url. How can I accommodate this in single requirement.txt file.

pip3 install \
    word2number==1.1 \
    setuptools==57.0.0 \
    numpy \
    scipy \
    pyproj

pip3 install --ignore-requires-python client-py --extra-index-url https://conda.abc.com/artifactory/api/pypi/noc-shared-pypi/simple
Pranjal Doshi
  • 862
  • 11
  • 29
  • Does this answer your question? [How to maintain pip install options in requirements file made by pip freeze?](https://stackoverflow.com/questions/8874638/how-to-maintain-pip-install-options-in-requirements-file-made-by-pip-freeze) – Mohamed Yasser May 10 '22 at 08:34
  • @MohamedYasser This answer upto some extent. But as I mentioned I want to install `ndas-client-py` which require `--ignore-requires-python` flag as well. And I am getting `pip3: error: no such option: --ignore-requires-python` when using requirement.txt – Pranjal Doshi May 10 '22 at 08:48

0 Answers0