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
Built wheel but No model ModuleNotFoundError: No module named 'setuptools' #1201
Comments
add |
I will test that out, thank you for your help! :) |
@Czaki The issue seemed to go away. However, cibuildwheel failed due to a pure python wheel was generated |
I'm sorry. But without seeing the code, I cannot help you. Did your package contain any compiled extensions? |
@Czaki Are you capable of just running cibuildwheel within a directory only containing a pyproject.toml file or do you need to run cibuildwheel within your project's directory containing the pyproject.toml file? I was just trying to generate wheels locally for packages that need to be compiled for the aarch64 architecture. |
|
@Czaki So I am unable to just build python library wheels and just be able to access them? Is it required to have setup.py? |
But from what you would like to build a wheel. To build a wheel you need to have sources. In screenshot, you use |
Oh wait, I believe I have misunderstood the use-case for cibuildwheel. Correct me if I am wrong, but say I want to cross compile cppyy. I could run cibuildwheel within the cppyy source code directory and it will generate the wheel for that library. |
There is an option to build wheel from If I correctly understand, you need to download cppyy sdist from pypi and call |
wonderful, thank you so much for the help! You're awesome! |
cibuildwheel builds wheels for your project. So you should, in theory, be able to produce the list of wheel files here for cppyy-cling: https://pypi.org/project/cppyy-cling/#files. You can also use it to build wheels for another project, if as you said, you pointed it at the source dir or SDist for that library. Though you'd then need to distribute the wheels somehow too, I'd assume in that case it's not common that you'd have permission to upload them to PyPI. Guessing since you have wheels for cppyy-cling already, you want to build wheels for |
Description
Running
cibuildwheel --platform linux --arch aarch64
with the following pyproject.toml file:
I got to the point where cppyy-cling's wheel was created
However, I cannot find it at this location.
After the above text, cibuildwheel fails with the following
Even though setuptools exists already
running
python -m pip show setuptools
Does the wheel exist on the device because I cannot find it.
Also, do I need to do something to not get this module not found 'setuptools'? Let me know, thank you!
Using a python 3.8 Virtenv
Build log
No response
CI config
No response
The text was updated successfully, but these errors were encountered: