using pyclips and import clips as a python module

前端 未结 3 1921
执念已碎
执念已碎 2021-01-16 22:03

am using pyclips to generate the facts a nd rules of my system .. i have download every requirements for installing pyclips which include a clips directory that contatins th

3条回答
  •  广开言路
    2021-01-16 22:35

    After the CLIPSSrc package is built, follow Mark's answer.

    If on running 'import clips' in a subsequent python prompt still throws the same error that means either the clips module failed to build or the clips module is not in the python path.

    You can put the clips module in in the python path by:

    import sys
    sys.path.append('C:\PATH\TO\clips\module\clips') # Whatever path the clips module is
    

    Now, 'import clips' should work.

提交回复
热议问题