-
Notifications
You must be signed in to change notification settings - Fork 606
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
xilinx: ModuleNotFoundError: No module named 'distutils.spawn' #407
Comments
This seems similar to pypa/pipenv#2922, can you try installing python3-distutils with: |
That does seem to solve the issue. It looks like that module isn't included by default on Ubuntu, nor is it included in the official Windows Embedded distribution. Should this module be used here, given that it's not universally installed, and it doesn't appear to be designed for this usecase, given it's not being used to install additional Python modules:
|
Thanks for the feedback. |
When building on a stock Ubuntu 18.04 Python distribution, litex produces the following error:
I have set
compile_gateware=False
as I'm just trying to generate Verilog code. Commenting outfrom distutils.spawn import find_executable
in bothvivado.py
andprogrammer.py
gets it working again.The text was updated successfully, but these errors were encountered: