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.
Hi Nedbat,
I followed the installation guide.
https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/146440579/Native+Open+edX+platform+Ubuntu+16.04+64+bit+Installation
Please see attached image here for more details.
Thanks,
@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”.
Thanks,
hi netbat,
i have try this version"open-release/juniper.3" three times, but still meet same error :"
Ansible failed!
Decoded 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
Collecting pymongo==3.6.1
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.
ERROR: Exception:
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
resolver.resolve(requirement_set)
File “/usr/local/lib/python2.7/dist-packages/pip/_internal/legacy_resolve.py”, line 177, in resolve
discovered_reqs.extend(self._resolve_one(requirement_set, req))
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
hashes=hashes,
File “/usr/local/lib/python2.7/dist-packages/pip/_internal/operations/prepare.py”, line 287, in unpack_url
hashes=hashes,
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
decode_content=False,
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.
============================================================
Installation failed!
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
Your environment:
OPENEDX_RELEASE=open-release/juniper.3
============================================================"
@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
Hi neversai,
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.
OPENEDX_RELEASE=open-release/juniper.master
oh!~ i know ,thanks!