diff --git a/snapcraft/plugins/python.py b/snapcraft/plugins/python.py
index dbb4214..a2179fa 100644
--- a/snapcraft/plugins/python.py
+++ b/snapcraft/plugins/python.py
@@ -206,23 +206,23 @@ class PythonPlugin(snapcraft.BasePlugin):
self.options.requirements)
if download:
pip.download(['--requirement', requirements])
- else:
pip.wheel(['--requirement', requirements])
+ else:
pip.install(['--requirement', requirements])
if self.options.python_packages:
if download:
pip.download(self.options.python_packages)
- else:
pip.wheel(self.options.python_packages)
+ else:
pip.install(self.options.python_packages)
if os.path.exists(setup):
cwd = os.path.dirname(setup)
if download:
pip.download(['.'], cwd=cwd)
- else:
pip.wheel(['.'], cwd=cwd)
+ else:
pip.install(['.'], cwd=cwd)
def _fix_permissions(self):