问题
I want to use the PyCharm IDE for developing code in a gem5 project. With
import sys
sys.path.append('/home/<username>/gem5/src/python/')
import m5
from m5.objects import *
system = System()
i tried to import the m5 libraries of gem5 to allow linting within the project. m5 and everything related to it are not found by PyCharm
No Module named m5
How can i import this to make full use of the linter?
来源:https://stackoverflow.com/questions/61619113/add-custom-modules-to-pycharm-linter