-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[Python] file INSTALL cannot duplicate symlink because: A directory already exists at that location #34395
Comments
After having installed
I suppose I get this error because I first need the backend, i.e. I need to do |
I've just run into this same problem, first time.
It might still be a config issue but more likely an issue with the pyarrow build. It definitely shouldn't be installing to the homebrew libdir, makes me think there's something awry with the install_prefix. Time to start digging through source code 😞 |
…include directories Homebrew uses symbolic link for `$(brew --prefix)/include/arrow`. The current code doesn't work with it because `install(DIRECTORY)` accepts a directory not a symbolic link.
You can try #34674 by: git clone https://github.com/kou/arrow.git
cd arrow
git switch python-include-arrow-symlink
pip install ./python |
…ude directories (#34674) ### Rationale for this change Homebrew uses symbolic link for `$(brew --prefix)/include/arrow`. The current code doesn't work with it because `install(DIRECTORY)` accepts a directory not a symbolic link. ### What changes are included in this PR? This changes use resolved path instead of symbolic link. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * Closes: #34395 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Jacob Wujciak-Jens <jacob@wujciak.de>
…d include directories (apache#34674) ### Rationale for this change Homebrew uses symbolic link for `$(brew --prefix)/include/arrow`. The current code doesn't work with it because `install(DIRECTORY)` accepts a directory not a symbolic link. ### What changes are included in this PR? This changes use resolved path instead of symbolic link. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * Closes: apache#34395 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Jacob Wujciak-Jens <jacob@wujciak.de>
…d include directories (apache#34674) ### Rationale for this change Homebrew uses symbolic link for `$(brew --prefix)/include/arrow`. The current code doesn't work with it because `install(DIRECTORY)` accepts a directory not a symbolic link. ### What changes are included in this PR? This changes use resolved path instead of symbolic link. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * Closes: apache#34395 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Jacob Wujciak-Jens <jacob@wujciak.de>
Describe the bug, including details regarding any error messages, version, and platform.
I was having this issue #34120, which I wasn't able to solve. So, for 1-2 weeks, I didn't do anything about it. Now, I'm back to it because I actually need to solve it. I tried to do a simple
pip install pyarrow
and I get this different errorI don't know if this is due to some leftovers of my previous attempts to install pyarrow and arrow from source and with brew (as reported here #34120) or not. In any case, I'm not sure how to solve this problem and I think other people may face it.
I tried to do
brew reinstall apache-arrow
and thenpip install pyarrow
brew uninstall apache-arrow
and thenpip install pyarrow
But I still get the error above
So, now that I'm not specifying version 7.0.0 now. If I do, I get another completely different error
Python version: 3.7.13
Component(s)
Python
The text was updated successfully, but these errors were encountered: