Reputation: 3360
I have created a conda environnmennt and then pip installed tensorflow using a pip wheel. numpy was installed by pip at same stage.
When trying to install scipy, conda wants to install numpy in parallel of pip installed numpy....?
How to make various installed be recognized by conda ?
Upvotes: 1
Views: 778
Reputation: 77117
This is what the new configuration option pip_interop_enabled
, introduced in Conda v4.6 is for. It is still considered a "preview" feature, but I've had success using it:
conda config --set pip_interop_enabled true
Until this feature is released in earnest, I think it would be wise to limit its use to a per-env-basis by using the --env
flag when running the above.
It should be kept in mind that preferring Conda packages is still best practice. A must read in this regard is "Using Pip in a Conda Environment".
Upvotes: 1