user971652
user971652

Reputation: 87

dependency resolution pip virtualenv

I have 2 local libraries which are dependent on different version of suds.

Example -

Both these modules are required by Module-C, which has the following its setup.py

Module-C will be installed in a virtualenv using pip. My question is which version of suds will be installed and can I have both versions installed in the same virtual env?

What I noticed was, whichever module I specified first in the setup.py for Module-C, that version of suds gets installed. So in this case suds 0.3.9. If I switched the modules to

The version of suds that gets installed in suds-0.4.0.

Upvotes: 0

Views: 587

Answers (1)

David Wolever
David Wolever

Reputation: 154624

Using pip + virtualenv you can't have two versions of a library installed at the same time.

And, unfortunately, I don't know of any good ways of handling this situation. Sorry.

Upvotes: 1

Related Questions