Skip to content
This repository has been archived by the owner on Jun 17, 2023. It is now read-only.

Can't get running based off README #38

Closed
streeter opened this issue Jan 25, 2014 · 3 comments · Fixed by #40
Closed

Can't get running based off README #38

streeter opened this issue Jan 25, 2014 · 3 comments · Fixed by #40

Comments

@streeter
Copy link
Contributor

So the readme says to call imhotep.py to run the script, but it looks like that file doesn't exist. At least not on master (as of c4ee47e). So I tried instead to call imhotep/main.py, but got the following error:

Traceback (most recent call last):
  File "imhotep/main.py", line 305, in <module>
    imhotep = gen_imhotep(**params)
  File "imhotep/main.py", line 200, in gen_imhotep
    plugins = load_plugins()
  File "imhotep/main.py", line 112, in load_plugins
    klass = ep.load()
  File "/Users/streeter/.virtualenvs/tmp-2582e1239fbec948/lib/python2.7/site-packages/pkg_resources.py", line 2021, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/Users/streeter/.virtualenvs/tmp-2582e1239fbec948/lib/python2.7/site-packages/imhotep_pylint/plugin.py", line 1, in <module>
    from imhotep.tools import Tool
ImportError: No module named imhotep.tools

I fixed that by first running:

python setup.py install

from within the imhotep checkout. So we should update the readme to reflect the new installation instructions.

@scottjab
Copy link
Collaborator

I would gladly accept a PR with README updates ;)

@streeter
Copy link
Contributor Author

Yep, I'm planning on it 😃

@scottjab
Copy link
Collaborator

Rad thanks!

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

Successfully merging a pull request may close this issue.

2 participants