project-codeflare / codeflare

Simplifying the definition and execution, scaling and deployment of pipelines on the cloud.
https://codeflare.dev
Apache License 2.0
218 stars 35 forks source link

Requirement of 'pip==20.3.3' overwritten by previous instruction in getting started doc. #7

Open dmatch01 opened 3 years ago

dmatch01 commented 3 years ago

Describe the bug A clear and concise description of what the bug is. Error using getting started docs. Regarding: https://codeflare.readthedocs.io/en/latest/getting_started/starting.html#codeflare-on-openshift-container-platform-ocp Section: Alternatively, you can also build locally with:

git clone https://github.com/project-codeflare/codeflare.git
pip3 install --upgrade pip
pip3 install .
pip3 install -r requirements.txt 

SEE PROBLEM BELOW: $ pip3 install --upgrade pip Requirement already satisfied: pip in /usr/local/lib/python3.8/site-packages (20.3.3) Collecting pip Downloading pip-21.1.2-py3-none-any.whl (1.5 MB) |████████████████████████████████| 1.5 MB 4.1 MB/s Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 20.3.3 Uninstalling pip-20.3.3: Successfully uninstalled pip-20.3.3 Successfully installed pip-21.1.2 $ $ pip3 install . Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pkg_resources/init.py", line 583, in _build_master ws.require(requires) File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pkg_resources/init.py", line 900, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pkg_resources/init.py", line 791, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pip._vendor.pkg_resources.VersionConflict: (pip 21.1.2 (/usr/local/lib/python3.8/site-packages), Requirement.parse('pip==20.3.3'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/opt/python@3.8/bin/pip3", line 33, in sys.exit(load_entry_point('pip==20.3.3', 'console_scripts', 'pip3')()) File "/usr/local/opt/python@3.8/bin/pip3", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/local/Cellar/python@3.8/3.8.7/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/metadata.py", line 77, in load module = import_module(match.group('module')) File "/usr/local/Cellar/python@3.8/3.8.7/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 783, in exec_module File "", line 219, in _call_with_frames_removed File "/usr/local/lib/python3.8/site-packages/pip/_internal/cli/main.py", line 9, in from pip._internal.cli.autocompletion import autocomplete File "/usr/local/lib/python3.8/site-packages/pip/_internal/cli/autocompletion.py", line 10, in from pip._internal.cli.main_parser import create_main_parser File "/usr/local/lib/python3.8/site-packages/pip/_internal/cli/main_parser.py", line 8, in from pip._internal.cli import cmdoptions File "/usr/local/lib/python3.8/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in from pip._internal.cli.parser import ConfigOptionParser File "/usr/local/lib/python3.8/site-packages/pip/_internal/cli/parser.py", line 12, in from pip._internal.configuration import Configuration, ConfigurationError File "/usr/local/lib/python3.8/site-packages/pip/_internal/configuration.py", line 21, in from pip._internal.exceptions import ( File "/usr/local/lib/python3.8/site-packages/pip/_internal/exceptions.py", line 7, in from pip._vendor.pkg_resources import Distribution File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pkg_resources/init.py", line 3252, in def _initialize_master_working_set(): File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pkg_resources/init.py", line 3235, in _call_aside f(*args, **kwargs) File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pkg_resources/init.py", line 3264, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pkg_resources/init.py", line 585, in _build_master return cls._build_from_requirements(requires) File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pkg_resources/init.py", line 598, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pkg_resources/init.py", line 786, in resolve raise DistributionNotFound(req, requirers) pip._vendor.pkg_resources.DistributionNotFound: The 'pip==20.3.3' distribution was not found and is required by the application $

To Reproduce Steps to reproduce the behavior:

  1. See steps described above.

Expected behavior A clear and concise description of what you expected to happen. pip3 install . from instructions runs without failure. Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.