-
Notifications
You must be signed in to change notification settings - Fork 450
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
nikola plugin install dependency with pip in wrong python version #2275
Comments
So, for python 2 it's guaranteed to be available as pip2 and for python 3 as pip3, right? |
no, it's not that simple |
how isn't it that simple? Anyone has a python 2 without a pip2 and a python3 without a pip3? |
Alternatively, it's possible to use pip as a module but I don't have details. |
Some distros use |
Doesn't look very hard. For example, this works: import pip
pip.main(['freeze']) |
Blah, pip is really weird. Working through it but it sucks. Fun: pip has an internal "requests" module, so if we have requests imported that explodes awesomely. |
Yep, totally not doing this. Sorry. |
it just calls |
We can make it stop trying to install things at all. On Tue, Mar 1, 2016 at 9:08 PM davidak [email protected] wrote:
|
it could just display the command. |
And then this bug would be "it's printing the wrong command, I ran it and On Wed, Mar 2, 2016 at 3:11 AM davidak [email protected] wrote:
|
We could use |
i use Nikola with python3, so it has to use pip3 to install dependencys
example:
nikola plugin -i import_page
The text was updated successfully, but these errors were encountered: