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

ImportError #78

Open
webicson opened this issue May 16, 2017 · 2 comments
Open

ImportError #78

webicson opened this issue May 16, 2017 · 2 comments

Comments

@webicson
Copy link

Hi Sir/Mrs.
After all installed and configured I try to
shell> start spectrum2 service
I get a next error:
ImportError: <module 'transWhat.transwhat' from '/usr/local/lib/python2.7/dist-packages/transwhat-0.2.2-py2.7.egg/transWhat/transwhat.pyc'> has no 'main' attribute
Please advise.
Thank you.

@pr0j3ctx
Copy link

pr0j3ctx commented Jun 21, 2017

Hi.
Similar error here:

  File "/usr/local/bin/transwhat", line 11, in <module>
    load_entry_point('transwhat==0.2.2', 'console_scripts', 'transwhat')()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 561, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2649, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2303, in load
    return self.resolve()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2313, in resolve
    raise ImportError(str(exc))
ImportError: 'module' object has no attribute 'main'

@proxmator
Copy link

Hi,

I am facing exactly the same error as @pr0j3ctx . Is any fix/workaround known?

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

No branches or pull requests

3 participants