alendit / sphinx-pyreverse

Simple sphinx wrapper around pyreverse (from pylint suit) to generate UML diagramms from modules.
GNU General Public License v3.0
50 stars 20 forks source link

Import Error #1

Closed KshitijKarthick closed 5 years ago

KshitijKarthick commented 8 years ago

Import Error

ImportError: No module named /run/media/kshitijkarthick/LinuxData/Programming/FinalProject/sphinx_pyreverse/sphinx_pyreverse.py 1

Log File Generated sphinx-err-oZPxSf.log.txt

katsar0v commented 7 years ago

Traceback (most recent call last): File "/home/katsarov/pypy/bin/pyreverse", line 11, in sys.exit(run_pyreverse()) File "/home/katsarov/pypy/site-packages/pylint/init.py", line 35, in run_pyreverse Run(sys.argv[1:]) File "/home/katsarov/pypy/site-packages/pylint/pyreverse/main.py", line 115, in init sys.exit(self.run(args)) File "/home/katsarov/pypy/site-packages/pylint/pyreverse/main.py", line 127, in run black_list=self.config.black_list) File "/home/katsarov/pypy/site-packages/pylint/pyreverse/inspector.py", line 340, in project_from_files fpath = modutils.file_from_modpath(something.split('.')) File "/home/katsarov/pypy/site-packages/astroid/modutils.py", line 324, in file_from_modpath return file_info_from_modpath(modpath, path, context_file)[0] File "/home/katsarov/pypy/site-packages/astroid/modutils.py", line 369, in file_info_from_modpath return _file_from_modpath(modpath, path, context) File "/home/katsarov/pypy/site-packages/astroid/modutils.py", line 582, in _file_from_modpath mtype, mp_filename = _module_file(modpath, path) File "/home/katsarov/pypy/site-packages/astroid/modutils.py", line 673, in _module_file return _search_zip(modpath, pic)[:2] File "/home/katsarov/pypy/site-packages/astroid/modutils.py", line 606, in _search_zip raise ImportError('No module named %s' % '.'.join(modpath)) ImportError: No module named app

I got a similar error

doublethefish commented 5 years ago

You should now be able to run 'pip install sphinx-pyreverse' against python2 and python3, on sphinx 2.2.0