Closed Bug 1484450 Opened 6 years ago Closed 6 years ago

mozregression can't be installed on macOS Mojave

Categories

(Testing :: mozregression, defect)

Version 3
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1403730

People

(Reporter: soeren.hentzschel, Unassigned)

Details

The tool mozregression can't be installed on macOS Mojave (10.14). I tested it on two different machines.

The first machine was a system with macOS 10.13 which has been upgraded to the current Mojave Beta. I was still able to use mozregression because it was already installed but mozregression couldn't be updated since the update of macOS.

Now I have a new MacBook with macOS Mojave Beta and no mozregression. I am not able to install mozregression because of the same error.

The installation aborts with the following error:

Installing collected packages: six, blessings, mozlog, mozprofile, moznetwork, mozdevice, mozrunner, BeautifulSoup, idna, certifi, chardet, urllib3, enum34, pycparser, cffi, asn1crypto, ipaddress, cryptography, pyOpenSSL, requests, mozinstall, mozversion, redo, mohawk, slugid, taskcluster, colorama, configobj, mozregression
  Found existing installation: six 1.4.1
Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
This isn't specific to 10.14. I had the same issue on 10.13.

If installed in the global env, the following did the trick:

sudo pip2 install -U mozregression --ignore-installed

More generally, it was recommended to install mozregression in a virtualenv. See bug 1403730 comment 1.
No longer blocks: mojave
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.