Skip to content
Advertisement

Failed to install packages from artifactory

Tying to install packages from Artifactory in PyCharm and getting the following error.

ERROR: Could not find a version that satisfies the requirement matplotlib (from versions: none)

I went to Settings -> Project Interpreter -> + -> Manage Respositeries and entered the URL of the repository. But it doesn’t work.

Advertisement

Answer

This error can be a result of many issues:

  1. For some reason Artifactory is not responding to your requests or you cannot reach it. Are you able to connect to Artifactory using a web broweser/cURL?

  2. Using an old version of pip (see this stackoverflow answer)

  3. The package you’re trying to install (matplotlib) is not available for your Python version

  4. The package is not present in Artifactory. Make sure you you are using either:

Advertisement