[Bug 5404] New: Mercurial easy_install on Mac Sierra prints NoneType exception, sorta breaks python install
bugzilla at mercurial-scm.org
bugzilla at mercurial-scm.org
Mon Oct 10 22:20:48 UTC 2016
https://bz.mercurial-scm.org/show_bug.cgi?id=5404
Bug ID: 5404
Summary: Mercurial easy_install on Mac Sierra prints NoneType
exception, sorta breaks python install
Product: Mercurial
Version: default branch
Hardware: PC
OS: Mac OS
Status: UNCONFIRMED
Severity: feature
Priority: wish
Component: Mercurial
Assignee: bugzilla at selenic.com
Reporter: andi.m.mcclure at gmail.com
CC: mercurial-devel at selenic.com
Created attachment 1935
--> https://bz.mercurial-scm.org/attachment.cgi?id=1935&action=edit
ATTACHMENT 1
I apologize I only have screenshots for this, but I accidentally cleared the
text.
So, I got a new mac laptop out of the box. I upgraded it to Sierra. I then
immediately wanted to install MacPorts and Mercurial. I installed macports via
the normal method but didn't install anything else. (I say this to stress I do
not have an unusual system configuration.) I then installed Mercurial via:
easy_install mercurial
which didn't work because I was not root, so I went on to say:
sudo easy_install mercurial
This failed, with ATTACHMENT 1. After running, hg was not found (see ATTACHMENT
2).
At this point a friend pointed out I should have installed pip and then done
`pip install -U --user mercurial` anyway, as that is smarter than
sudo-installing third party software. That makes sense! But I can't do that,
because it thinks Mercurial is already installed (see ATTACHMENT 2).
Well, okay, I'll uninstall Mercurial and try again. But I *can't uninstall
mercurial*. See ATTACHMENT 3.
EXPECTED BEHAVIOR: Installing Mercurial through a standard method on a major
operating system should not result in an error. After installing Mercurial, it
should be possible to uninstall it through the standard method.
---
Notes:
First off, I don't know if what I saw was actually problem with Mercurial, or
with easy_install under Sierra. However, the exception was thrown from your
__init__.py.
Second off, my immediate problem is resolved. It turns out I can do `pip
install -U --user --ignore-installed mercurial`. It succeeded, so now I have a
personal copy of mercurial in ~/Library and everything is nice.
But, third off, since I *did* hit the original error condition, I now have a
directory
/Library/Python/2.7/site-packages/mercurial-3.9.2-py2.7-macosx-10.12-intel.egg
and I don't know what it is and I don't actually know if it's safe for me to
delete it. Should I delete this directory? :(
I posted this bug as "default branch" because there is no 3.9.2 Version listed.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list