After I installed MozillaBuild 4, and run moz-phab, I got this error: ``` $ moz-phab 8c6479f46dc8 Traceback (most recent call last): File "D:\mozilla-build\python3\Scripts\moz-phab-script.py", line 33, in <module> sys.exit(load_entry_point('MozPhab==1.0.0', 'console_scripts', 'moz-phab')()) File "D:\mozilla-build\python3\Scripts\moz-phab-script.py", line 25, in importlib_load_entry_point return next(matches).load() File "d:\mozilla-build\python3\lib\importlib\metadata.py", line 77, in load module = import_module(match.group('module')) File "d:\mozilla-build\python3\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "d:\mozilla-build\python3\lib\site-packages\mozphab\mozphab.py", line 17, in <module> from mozphab import environment File "d:\mozilla-build\python3\lib\site-packages\mozphab\environment.py", line 6, in <module> import pkg_resources File "d:\mozilla-build\python3\lib\site-packages\pkg_resources\__init__.py", line 3247, in <module > def _initialize_master_working_set(): File "d:\mozilla-build\python3\lib\site-packages\pkg_resources\__init__.py", line 3221, in _call_a side f(*args, **kwargs) File "d:\mozilla-build\python3\lib\site-packages\pkg_resources\__init__.py", line 3259, in _initia lize_master_working_set working_set = WorkingSet._build_master() File "d:\mozilla-build\python3\lib\site-packages\pkg_resources\__init__.py", line 579, in _build_m aster ws.require(__requires__) File "d:\mozilla-build\python3\lib\site-packages\pkg_resources\__init__.py", line 897, in require needed = self.resolve(parse_requirements(requirements)) File "d:\mozilla-build\python3\lib\site-packages\pkg_resources\__init__.py", line 783, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'cffi>=1.13.0' distribution was not found and is required by glean-sdk ``` Even after I reverted to MozillaBuild 3.4, I got this error: ``` Traceback (most recent call last): File "d:\mozilla-build\python3\Scripts\moz-phab-script.py", line 33, in <module> sys.exit(load_entry_point('MozPhab==1.0.0', 'console_scripts', 'moz-phab')()) File "d:\mozilla-build\python3\Scripts\moz-phab-script.py", line 22, in importlib_load_entry_point for entry_point in distribution(dist_name).entry_points File "d:\mozilla-build\python3\lib\importlib\metadata.py", line 533, in distribution return Distribution.from_name(distribution_name) File "d:\mozilla-build\python3\lib\importlib\metadata.py", line 187, in from_name raise PackageNotFoundError(name) importlib.metadata.PackageNotFoundError: MozPhab ```
Bug 1761444 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
After I installed MozillaBuild 4, and run moz-phab, I got this error: ``` $ moz-phab 8c6479f46dc8 Traceback (most recent call last): File "D:\mozilla-build\python3\Scripts\moz-phab-script.py", line 33, in <module> sys.exit(load_entry_point('MozPhab==1.0.0', 'console_scripts', 'moz-phab')()) File "D:\mozilla-build\python3\Scripts\moz-phab-script.py", line 25, in importlib_load_entry_point return next(matches).load() File "d:\mozilla-build\python3\lib\importlib\metadata.py", line 77, in load module = import_module(match.group('module')) File "d:\mozilla-build\python3\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "d:\mozilla-build\python3\lib\site-packages\mozphab\mozphab.py", line 17, in <module> from mozphab import environment File "d:\mozilla-build\python3\lib\site-packages\mozphab\environment.py", line 6, in <module> import pkg_resources File "d:\mozilla-build\python3\lib\site-packages\pkg_resources\__init__.py", line 3247, in <module > def _initialize_master_working_set(): File "d:\mozilla-build\python3\lib\site-packages\pkg_resources\__init__.py", line 3221, in _call_a side f(*args, **kwargs) File "d:\mozilla-build\python3\lib\site-packages\pkg_resources\__init__.py", line 3259, in _initia lize_master_working_set working_set = WorkingSet._build_master() File "d:\mozilla-build\python3\lib\site-packages\pkg_resources\__init__.py", line 579, in _build_m aster ws.require(__requires__) File "d:\mozilla-build\python3\lib\site-packages\pkg_resources\__init__.py", line 897, in require needed = self.resolve(parse_requirements(requirements)) File "d:\mozilla-build\python3\lib\site-packages\pkg_resources\__init__.py", line 783, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'cffi>=1.13.0' distribution was not found and is required by glean-sdk ``` Even after I reverted to MozillaBuild 3.4, I got this error: ``` $ moz-phab . Traceback (most recent call last): File "d:\mozilla-build\python3\Scripts\moz-phab-script.py", line 33, in <module> sys.exit(load_entry_point('MozPhab==1.0.0', 'console_scripts', 'moz-phab')()) File "d:\mozilla-build\python3\Scripts\moz-phab-script.py", line 22, in importlib_load_entry_point for entry_point in distribution(dist_name).entry_points File "d:\mozilla-build\python3\lib\importlib\metadata.py", line 533, in distribution return Distribution.from_name(distribution_name) File "d:\mozilla-build\python3\lib\importlib\metadata.py", line 187, in from_name raise PackageNotFoundError(name) importlib.metadata.PackageNotFoundError: MozPhab ```