I see it is still not fixed. I tried installing on a fresh new machine three times today but still got the same error.
@Thong_Nguyen I’m sorry it’s still failing. To help, need to see details of what you tried, and what failed.
I followed the installation guide.
Please see attached image here for more details.
@Thong_Nguyen you have left out important details: what did you set OPENEDX_RELEASE to? use “open-release/juniper.master”
@nedbat I used OPENEDX_RELEASE=open-release/juniper.2. You mean this is not fixed yet. Let me try with “open-release/juniper.master”.
i have try this version"open-release/juniper.3" three times, but still meet same error :"
== cmd ===========================
[’/usr/local/bin/pip2’, ‘install’, ‘-i’, ‘https://pypi.python.org/simple’, ‘pymongo==3.6.1’]
== msg ===========================
stdout: Looking in indexes: https://pypi.python.org/simple
Downloading pymongo-3.6.1-cp27-cp27mu-manylinux1_x86_64.whl (381 kB)
:stderr: DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
WARNING: The directory ‘/home/azureuser/.cache/pip’ or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
Traceback (most recent call last):
File “/usr/local/lib/python2.7/dist-packages/pip/_internal/cli/base_command.py”, line 186, in _main
status = self.run(options, args)
File “/usr/local/lib/python2.7/dist-packages/pip/_internal/commands/install.py”, line 331, in run
File “/usr/local/lib/python2.7/dist-packages/pip/_internal/legacy_resolve.py”, line 177, in resolve
File “/usr/local/lib/python2.7/dist-packages/pip/_internal/legacy_resolve.py”, line 333, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File “/usr/local/lib/python2.7/dist-packages/pip/_internal/legacy_resolve.py”, line 282, in _get_abstract_dist_for
abstract_dist = self.preparer.prepare_linked_requirement(req)
File “/usr/local/lib/python2.7/dist-packages/pip/_internal/operations/prepare.py”, line 482, in prepare_linked_requirement
File “/usr/local/lib/python2.7/dist-packages/pip/_internal/operations/prepare.py”, line 287, in unpack_url
File “/usr/local/lib/python2.7/dist-packages/pip/_internal/operations/prepare.py”, line 159, in unpack_http_url
link, downloader, temp_dir.path, hashes
File “/usr/local/lib/python2.7/dist-packages/pip/_internal/operations/prepare.py”, line 303, in _download_http_url
for chunk in download.chunks:
File “/usr/local/lib/python2.7/dist-packages/pip/_internal/utils/ui.py”, line 160, in iter
for x in it:
File “/usr/local/lib/python2.7/dist-packages/pip/_internal/network/utils.py”, line 39, in response_chunks
File “/usr/local/lib/python2.7/dist-packages/pip/_vendor/urllib3/response.py”, line 564, in stream
data = self.read(amt=amt, decode_content=decode_content)
File “/usr/local/lib/python2.7/dist-packages/pip/_vendor/urllib3/response.py”, line 529, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File “/usr/lib/python2.7/contextlib.py”, line 35, in exit
self.gen.throw(type, value, traceback)
File “/usr/local/lib/python2.7/dist-packages/pip/_vendor/urllib3/response.py”, line 439, in _error_catcher
raise ReadTimeoutError(self._pool, None, “Read timed out.”)
ReadTimeoutError: HTTPSConnectionPool(host=‘files.pythonhosted.org’, port=443): Read timed out.
WARNING: You are using pip version 20.0.2; however, version 20.2.2 is available.
You should consider upgrading via the ‘/usr/bin/python -m pip install --upgrade pip’ command.
If you need help, see https://open.edx.org/getting-help .
When asking for help, please provide as much information as you can.
These might be helpful:
Your log file is at /home/azureuser/logs/install-20200826-045250.log
@nedbat Thank very much! I have successfully installed with open-release/juniper.master.
hi Thong_Nguyen,where can i find “open-release/juniper.master”? from this url https://edx.readthedocs.io/projects/edx-developer-docs/en/latest/named_releases.html i only find juniper 3 ,thanks
Please see above messages. I have failed with “open-release/juniper.2” so @netbat recommended to use “open-release/juniper.master”. You can try it.
oh!~ i know ,thanks！