You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To better manage the versions of open source software packages used in our Test Automation, we keep our own local copy of install files and point pip to this location. For example, using command-line only to install Robot Framework we can do:
Since we install MANY packages this way, we prefer to use a pip command file, but when we do so we get:
Q:\TestAutomation\Integration\Common\PC>pip install --ignore-installed -r pipCommon_Reqts.txt
Collecting robotframework (from -r pipCommon_Reqts.txt (line 4))
The repository located at None is not a trusted or secure host and is being ignored. If this repository is available via HTTPS it is recommended to use HTTPS instead, otherwise you may silence this warning and allow it anyways with '--trusted-host None'.
Could not find a version that satisfies the requirement robotframework (from -r pipCommon_Reqts.txt (line 4)) (from versions: )
No matching distribution found for robotframework (from -r pipCommon_Reqts.txt (line 4))
Here are the top lines from the pipCommon_Reqts.txt file:
#
# pip Requirements file for installing or upgrading Common
# Test Automation libraries on a PC platform.
#
# Ignore the PyPi site on the web
#
--no-index
#
# Local locations for Common Test Automation Libraries
#
--find-links .
--find-links ..\PlatformIndependent
#
# List the Common Test Automation Libraries to be installed
#
robotframework
Trying the "--trusted-host None" workaround suggested in the error message, we get the same:
Q:\TestAutomation\Integration\Common\PC>pip install --ignore-installed --trusted-host None -r pipCommon_Reqts.txt
Collecting robotframework (from -r pipCommon_Reqts.txt (line 4))
The repository located at None is not a trusted or secure host and is being ignored. If this repository is available via HTTPS it is recommended to use HTTPS instead, otherwise you may silence this warning and allow it anyways with '--trusted-host None'.
Could not find a version that satisfies the requirement robotframework (from -r pipCommon_Reqts.txt (line 4)) (from versions: )
No matching distribution found for robotframework (from -r pipCommon_Reqts.txt (line 4))
Why does a reference to finding files at . and ..\PlatformIndependent work on the command line but not from a command file?
Why does the suggested workaround of --trusted-host None not work at all?
The text was updated successfully, but these errors were encountered:
To better manage the versions of open source software packages used in our Test Automation, we keep our own local copy of install files and point pip to this location. For example, using command-line only to install Robot Framework we can do:
Since we install MANY packages this way, we prefer to use a pip command file, but when we do so we get:
Here are the top lines from the pipCommon_Reqts.txt file:
Trying the "--trusted-host None" workaround suggested in the error message, we get the same:
The text was updated successfully, but these errors were encountered: