0

I have built and installed a custom version of package A from source code(by running python setup.py install). package A also exists in pip repository. when I want to install package B that depends on A(A is one of its dependencies), pip also installs package A (from its repository). I do not want this, because that Package A in pip repository is incompatible with my system. how to prevent package A from change? or is there any way that pip can recognize the installed custom package A correctly (i mean its version, now its version is 1.9.0a0+gitd69c22d, but the corresponding package's version in repository is 1.9.0).

I tried option pip install B --no-deps, does not work, because it disable all dependencies.

mhrsalehi
  • 616
  • 1
  • 6
  • 22

0 Answers0