我对此很陌生。我安装jsonschema
并importlib_metadata
手动将其复制到我正在synthesis
使用的文件夹中,make syn
即vlsi
在我的情况下的文件夹。
它以这个错误终止:importlib_metadata.PackageNotFoundError: No package metadata was found for jsonschema
[usr@serv vlsi]$ make syn
./example-vlsi -e /home/usr/chipyard/vlsi/env.yml -p example.yml -p /home/usr/chipyard/vlsi/build/chipyard.TestHarness.RocketConfig-ChipTop/inputs.yml --obj_dir /home/usr/chipyard/vlsi/build/chipyard.TestHarness.RocketConfig-ChipTop build
Traceback (most recent call last):
File "./example-vlsi", line 4, in <module>
import hammer_vlsi
File "/home/usr/chipyard/vlsi/hammer_vlsi/__init__.py", line 15, in <module>
from .hammer_vlsi_impl import *
File "/home/usr/chipyard/vlsi/hammer_vlsi/hammer_vlsi_impl.py", line 22, in <module>
from hammer_tech import Library, ExtraLibrary
File "/home/usr/chipyard/vlsi/hammer_tech.py", line 18, in <module>
import python_jsonschema_objects # type: ignore
File "/home/usr/chipyard/vlsi/python_jsonschema_objects/__init__.py", line 1, in <module>
import jsonschema
File "/home/usr/chipyard/vlsi/jsonschema/__init__.py", line 34, in <module>
__version__ = metadata.version("jsonschema")
File "/home/usr/chipyard/vlsi/importlib_metadata/__init__.py", line 585, in version
return distribution(distribution_name).version
File "/home/usr/chipyard/vlsi/importlib_metadata/__init__.py", line 558, in distribution
return Distribution.from_name(distribution_name)
File "/home/usr/chipyard/vlsi/importlib_metadata/__init__.py", line 215, in from_name
raise PackageNotFoundError(name)
importlib_metadata.PackageNotFoundError: No package metadata was found for jsonschema
make: *** No rule to make target 'syn'. Stop.
我在这里找到了一些解决方案:http: //biercoff.com/how-to-fix-package-not-found-error-importlib-metadata/但是在哪里可以找到 serverless.yml 文件,并且会使slim
true 到 false 影响其他事物?知道什么可能导致此错误吗?