我刚在Openshift上创建了一个Python 2.7设备,我正在尝试部署Flask应用程序。但是它无法安装所有要求。
部署后,我在控制台中看到以下错误:
The directory '/var/lib/openshift/XYZ/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
You are using pip version 7.1.0, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
The repository located at mirror1.ops.rhcloud.com 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 mirror1.ops.rhcloud.com'.
Could not find a version that satisfies the requirement pandas==0.15.1
请建议。