Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] Conan package requires pip packages #13244

Closed
1 task done
xakod opened this issue Feb 26, 2023 · 1 comment
Closed
1 task done

[question] Conan package requires pip packages #13244

xakod opened this issue Feb 26, 2023 · 1 comment

Comments

@xakod
Copy link

xakod commented Feb 26, 2023

What is your question?

Does conan provide any way to install pip packages? For example, I need some pip packages only for test package. So I don't want to install it globally. I know, I can use pip install pkg from conanfile but maybe conan provide something by default. Thanx

Have you read the CONTRIBUTING guide?

  • I've read the CONTRIBUTING guide
@memsharded
Copy link
Member

Hi @Jihadist

Thanks for your question.
Installing pip packages is not a simple thing, because you need a Python installation to install them. If that is the installation that is running Conan, pip easily cause version conflicts and other problems. If Conan is running with the self-contained executable, no pip packages can be installed there, because it is a bundled executable without a site-packages.

I think this is a duplicate question, and it is being managed already in this proposal for 2.X roadmap in #11601. It is based on the idea of creating virtualenvs on the fly to be able to install pip packages there. I am closing this issue, please track the efforts in that issue, progress will be reported there when the 2.X roadmap issue gets prioritized. Thanks!

@memsharded memsharded closed this as not planned Won't fix, can't repro, duplicate, stale Feb 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants