-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation failure with Homebrew #1355
Comments
Shouldn't that be |
@Kodiologist not with Homebrew on a Mac! To be fair it's acceptable in this kind of setup to Still, why should this install something directly to |
No installation directories are named in
No, it just generates
Probably. Check Pip's documentation. |
Wait, this isn't right. Nothing should be installed into |
Can't we use |
No, or else It's difficult for me to see how this could be our bug. That's why I closed the issue. |
99.9% of Unix systems have To begin with, placing stuff in TBH I'm pretty sure this can be solved with some distutils hackery. Messy, sure, but everyone does it anyway (!). |
@kirbyfan64 this actually does look like an upstream bug. Try this minimal Python "package": setup.pyimport os, sys
from setuptools import setup
os.chdir(os.path.split(os.path.abspath(__file__))[0])
with open('hello.txt', 'w') as f:
f.write('hello')
setup(
name='tmp_pkg',
version='0.0.1',
data_files=[ ('hello', ['hello.txt']) ]
) I get the same problem:
Setuptools' |
Yes, yet the bug has been open for 10 months... IMO regardless of whether or not |
Same with me (macOS 10.15.1).
But ok if I install |
On the 5-year anniversary of this issue, I still don't think it should've been reopened. First, it's an upstream issue that we apparently can't do anything about. Second, we don't test on Mac OS, anyway, and nobody currently involved with Hy maintenance uses Mac OS, so there is approximately zero chance of this getting addressed in the foreseeable future. Let's put it to bed. |
I'm encountering an error when trying to install Hy with Pip. My setup is vanilla Python3-on-Homebrew-on-MacOS, so Python3 is installed to
/usr/local/Cellar/python3/3.6.2
and symlinked into/usr/local/opt/python3
as well as/usr/local
. I have the latest versions of both Pip and Setuptools withpip3 install -U pip setuptools
.It seems like the problem is that
setup.py
is trying to install theget_version
script in/usr/local
rather than/usr/local/bin
or somewhere else. I have the same problem when Ibrew unlink python3
and use the MacPorts version instead (sudo port install python36 py36-pip
). I'd rather not change the permissions on/usr/local
.(WARNING: wall of CLI output incoming)
This is what I get when I try
pip3 install hy
:And
pip3 install git+https://github.com/hylang/hy.git
:And finally
git clone hy && pip3 install ./hy
:The text was updated successfully, but these errors were encountered: