trfl: Raise "error: could not create 'build': File exists" while installing
When I firstly install trfl, it raised error almost at the end of installation,
Failed building wheel for trfl Running setup.py clean for trfl Failed to build trfl Installing collected packages: trfl Running setup.py install for trfl ... error
The further issue is like
running install running build running build_py creating build error: could not create 'build': File exists
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 21 (4 by maintainers)
We managed to reproduce the issue, which seems to only affect the
python3prebuilt binaries forMacOS. We will investigate this further (note that, in the meanwhile, building for MacOS locally is still possible for both python2 and python3 according to the instructions inINSTALL.md).Hi @abdel,
About the difference between your wheel and our wheel:
intelis used for a universal build with thei386andx86_64architectures (from https://docs.python.org/2/distutils/apiref.html#module-distutils.util) so I think that this shouldn’t be an issue.However, when I install from pip on my personal MacOS laptop I can see
_gen_distribution_ops.so.Just to double check, in your message you mention you can’t find
gen_distribution_ops.so; it should be_gen_distribution_ops.so, with an underscore, both when you build locally as well as when you install from pip. Can you verify that there is no_gen_distribution_ops.so?