question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

flag to force use of --find-links and ignore later PyPI versions

See original GitHub issue

Presumably, if the user specifies --find-links, they would prefer to install packages from that directory versus PyPI. For example, if I have a wheelhouse with matplotlib, and I specify pip install -f $WHEELHOUSE matplotlib, it should install from there. However, it will default to install from PyPI unless I ALSO specify --no-index.
You might say that this is the desired behaviour. However, what if I have a requirements.txt file and some of the packages are hosted in my wheelhouse and the others are available on PyPI? There is no pip command that will allow me to install my packages using the requirements.txt file, unless I am missing something.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:2
  • Comments:48 (21 by maintainers)

github_iconTop GitHub Comments

1reaction
dstufftcommented, Jan 26, 2017

You’d likely need to modify the setup.py unless it was written with this idea in general.

0reactions
lock[bot]commented, May 30, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

pip install - pip documentation v22.3.1
pip looks for packages in a number of places: on PyPI (if not disabled via --no-index ), in the local filesystem, and in...
Read more >
pip: force install ignoring dependencies - Stack Overflow
pip has a --no-dependencies switch. You should use that. For more information, run pip install -h , where you'll see this line:
Read more >
User Guide — pip 10.0.0.dev0 documentation
Requirements files are used to force pip to install an alternate version of a sub-dependency. ... To disable this, use the –no-binary flag...
Read more >
User Guide — pip 8.1.1 documentation
pip supports installing from PyPI, version control, local projects, ... To disable this, use the --no-binary flag for pip install.
Read more >
https://swarm.workshop.perforce.com/view/guest/esp...
Requirements files are used to force pip to install an alternate version of ... To disable this, use the :ref:`--no-use-wheel <install_--no-use-wheel>` flag ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found