Skip to content
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

No module called GatEngine #12

Closed
foriin opened this issue Oct 16, 2018 · 2 comments
Closed

No module called GatEngine #12

foriin opened this issue Oct 16, 2018 · 2 comments

Comments

@foriin
Copy link

foriin commented Oct 16, 2018

Whatever I do, however I install and reinstall gat, I can't launch gat-compare:

Traceback (most recent call last):
  File "/home/adc34/anaconda2/bin/gat-compare.py", line 4, in <module>
    __import__('pkg_resources').run_script('gat==1.3.5', 'gat-compare.py')
  File "/home/adc34/anaconda2/lib/python2.7/site-packages/pkg_resources/__init__.py", line 661, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/home/adc34/anaconda2/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1441, in run_script
    exec(code, namespace, namespace)
  File "/home/adc34/anaconda2/lib/python2.7/site-packages/gat-1.3.5-py2.7-linux-x86_64.egg/EGG-INFO/scripts/gat-compare.py", line 98, in <module>
    import GatEngine
ImportError: No module named GatEngine

The frustration is overwhelming

@foriin
Copy link
Author

foriin commented Oct 17, 2018

Got it. You need manually change the line "import GatEngine" to "import gat.Engine as GatEngine".
The same applies to SegmentList in gat-great.py.

@AndreasHeger
Copy link
Owner

Apologies for the late reply, @foriin , I have now finally fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants