Missing packages in setup.py?
See original GitHub issueHello,
Shouldn’t setup.py
include widgets
and utils
? Running python -m angrmanagement
fails:
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/dist-packages/angrmanagement/__main__.py", line 27, in <module>
main()
File "/usr/local/lib/python2.7/dist-packages/angrmanagement/__main__.py", line 11, in main
from ui.main import Main
File "/usr/local/lib/python2.7/dist-packages/enaml/core/import_hooks.py", line 143, in load_module
exec code in mod.__dict__
File "/usr/local/lib/python2.7/dist-packages/angrmanagement/ui/main.enaml", line 22, in
from .state import RegistersItem, MemoryItem
File "/usr/local/lib/python2.7/dist-packages/enaml/core/import_hooks.py", line 143, in load_module
exec code in mod.__dict__
File "/usr/local/lib/python2.7/dist-packages/angrmanagement/ui/state.enaml", line 8, in
from ..widgets.api import Table
ImportError: No module named widgets.api
After copying widgets
it fails again with missing utils
. Even after having both widgets
and utils
, I stil get this error:
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/dist-packages/angrmanagement/__main__.py", line 27, in <module>
main()
File "/usr/local/lib/python2.7/dist-packages/angrmanagement/__main__.py", line 22, in main
view.show()
File "/usr/local/lib/python2.7/dist-packages/enaml/widgets/window.py", line 416, in show
self.activate_proxy()
File "/usr/local/lib/python2.7/dist-packages/enaml/widgets/toolkit_object.py", line 213, in activate_proxy
child.activate_proxy()
File "/usr/local/lib/python2.7/dist-packages/enaml/widgets/toolkit_object.py", line 213, in activate_proxy
child.activate_proxy()
File "/usr/local/lib/python2.7/dist-packages/enaml/widgets/toolkit_object.py", line 214, in activate_proxy
self.activate_bottom_up()
File "/usr/local/lib/python2.7/dist-packages/enaml/widgets/toolkit_object.py", line 236, in activate_bottom_up
self.proxy.activate_bottom_up()
File "/usr/local/lib/python2.7/dist-packages/enaml/qt/qt_toolkit_object.py", line 82, in activate_bottom_up
self.init_layout()
File "/usr/local/lib/python2.7/dist-packages/enaml/qt/qt_notebook.py", line 412, in init_layout
self.init_selected_tab()
File "/usr/local/lib/python2.7/dist-packages/enaml/qt/qt_notebook.py", line 453, in init_selected_tab
if d.selected_tab:
File "/usr/local/lib/python2.7/dist-packages/enaml/core/declarative_meta.py", line 43, in __call__
value = engine.read(owner, name)
File "/usr/local/lib/python2.7/dist-packages/enaml/core/expression_engine.py", line 179, in read
return pair.reader(owner, name)
File "/usr/local/lib/python2.7/dist-packages/enaml/core/standard_handlers.py", line 101, in __call__
return call_func(func, (tr,), {}, scope)
File "/usr/local/lib/python2.7/dist-packages/angrmanagement/ui/main.enaml", line 186, in <module>
selected_tab << inst.current_workspace.name if inst.current_workspace is not None else u''
AttributeError: 'NoneType' object has no attribute 'current_workspace'
I’m running the latest Kali version, installed angrmanagement with pip
.
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Python: setup.py missing: No such file or directory
setup.py is not part of the python installation location. It is included with the package that you wish to install.
Read more >[BUG] 61.0.0 breaks "setup.py install" by missing ... - GitHub
The issue is that the "setup.py install" command successfully installs the pywbem package, but upon import it turns out that dependent packages ......
Read more >Building and Distributing Packages with Setuptools
Packages built and distributed using setuptools look to the user like ordinary ... If setup.py is missing from the project directory when a...
Read more >How to Package Python dependencies with PIP setuptools
Simply put, setup.py is a build script template distributed with Python's setuptools package. Setuptools is the Python Packaging Authority (PyPA) ...
Read more >How to Fix 'Python Setup.py egg_info' Failed with Error Code 1
The issue with python package managers. The good news is that you do not have to manually add other programmers' code (packages) into...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For missing packages, you are right. I’ll get it fixed today.
Update: apparently my fixes didn’t go to the master branch, so it wasn’t synced here 😦
This issue will be fixed the next time we make a release then. The current plan is this upcoming weekend.
I have no idea what CKAN is and why it is related to angr or angr management. I also just noticed that the ImportError you saw was caused in ckan. It should have nothing to do with angr or angr management.
Please use Python 3.6 or 3.6+ on Windows. We never tested angr or angr management on Python 3.4.
In the end, please do not hijack a three-year old issue. Open a new issue instead.