-
Notifications
You must be signed in to change notification settings - Fork 43
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
FileExistsError: File already exists: ./site-packages/cppyy_backend/lib/libcppyy_backend.so #266
Comments
I understand neither the problem, nor the proposed solution, but at issue is likely that the backend is split into two PyPI packages, a large one containing Cling and a small one containing just the wrapper. The latter installs Anyway, there are 2 setup.py files involved: Again, I have no idea how bazel works, what the error is precisely, or what the intend is here, but if this is a matter of repackaging, then the best thing to do is to combine these two PyPI packages into a single bazel package, thus side-stepping the problem. |
Assuming combining PyPI packages would fix the problems with Bazel builds, would you accept a PR in that direction? Do you foresee any problems taking that approach? |
Yes, upstream has also been asking for a cleanup. There could be a top-level |
@hofbi This might be unrelated but I ran into the same issue when trying to install cppyy-backend myself and the fix was to revert the changes on clingwrapper/steup.py that happened between v1.5.0 & v1.5.2. Essentially it's reverting the changes cause by the commit I mentioned last but mentioned others that are related that too. |
I try to make cppyy working with bazel and run into an issue looking exactly as bazelbuild/rules_python#1659. In this comment they identified that this issue seems to be an issue of the upstream repo (cppyy or cppyy-backend in this case)
ipython-contrib/jupyter_contrib_nbextensions#1612 and aws/aws-elastic-beanstalk-cli#469 is how other projects fix this. However, I could not find this in your
setup.py
. Any help guiding me to the right place is appreciated.The text was updated successfully, but these errors were encountered: