Hi, When I run ```mpw_precheck.py``` I get an erro...
# shuttle
c
Hi, When I run
Copy code
mpw_precheck.py
I get an error: /opt/mpw_precheck.py: line 16: import: command not found which I was able to solve by running "python mpw_precheck.py" but now I have this error: File "mpw_precheck.py", line 32 tools_info.write(f"KLayout: {klayout_version}\n") ^ Is there a way to fix this?
t
Check if "python3 mpw_precheck.py" solves that.
c
@User Thanks! It did. As a follow-up question would I be able to run the precheck on the gds file "user_analog_project_wrapper.gds" that I have downloaded from the repository or do I need to make changes?
t
You can try it. . . I have been working on updating a few things in the repository example layout. It would be very helpful to me to have somebody run it through precheck. In theory, it should work.
c
@User I tried it, but there is an error that says "{{IDENTIFYING PROJECT TYPE FAILED}} A single valid GDS was not found."? when I go into the same input directory and use the basic "ls" command, I can see "user_analog_project_wrapper.gds" Is that the one I should be using or should I be using the ones in the caravel_user_project_analog/caravel/gds folder?
t
No, you don't want to reference anything in the caravel/ path. I'll try to find out what that error message indicates.
c
Okay, thanks so much! Should I compress the gds directory like it suggests? I didn't do it at first because there was only one gds file
t
Again, you can try. I'm still waiting for an answer about the error you mentioned above (due to time zone differences, I may not get an answer until tomorrow). My expectation is that the precheck should work on either a compressed or uncompressed GDS, but that might not be the case.
c
Sounds good. I will give it a try and let you know if that fixes the error.