kdafuse.blogg.se

Python pip install specific version
Python pip install specific version











Since you already have an installed version, you should either uninstall the current existing driver or use pip install -I MySQL_python=1.2.2 Ivvv).įor more information, see pip install -helpįirst, I see two issues with what you're trying to do. You can combine for even more verbosity (i.e.

  • -I stands for -ignore-installed which will ignore the installed packages, overwriting them.
  • Thanks to for highlighting this (and it seems that the context of the question has broadened given the time when the question was first asked!), the documentation for Python discusses a caveat with using -I, in that it can break your installation if it was installed with a different package manager or if if your package is/was a different version.

    python pip install specific version

  • -force-reinstall is an option to reinstall all packages even if they are already up-to-date.
  • Is this a problem specific to this package, or am I doing something wrong? 推荐答案įor example: pip install -force-reinstall -v "MySQL_python=1.2.2"

    python pip install specific version

    However, when installed, it still shows MySQL_python-1.2.3-py2.6.egg-info in the site packages. Is there a way to install the older version? I have tried: pip install MySQL_python=1.2.2 The current version shown in PyPi is 1.2.3.

    python pip install specific version

    I am trying to install version 1.2.2 of MySQL_python, using a fresh virtualenv created with the -no-site-packages option. pip install -Iv(即pip install -Iv MySQL_python=1.2.2).例如:pip install -force-reinstall -v "MySQL_python=1.2.2"













    Python pip install specific version