This is minor, but should probably get fixed...
If you try to install python-stix into a clean virtualenv (or onto a clean system) using pip install stix, it fails because the cybox bindings are not already installed. Even though "cybox" is listed as a prerequisite in setup.py, due to the chain of imports shown below, setup.py cannot even be imported successfully.
File "/home/gback/.environments/stix2/build/stix/setup.py", line 5, in <module>
import stix
File "stix/__init__.py", line 9, in <module>
import stix.bindings.stix_core as core_binding
File "stix/bindings/stix_core.py", line 15, in <module>
import stix.bindings.stix_common as stix_common_binding
File "stix/bindings/stix_common.py", line 15, in <module>
import cybox.bindings.cybox_common as cybox_common_binding
ImportError: No module named cybox.bindings.cybox_common
Doing pip install cybox followed by pip install stix is successful, as a workaround until we fix this.
This is minor, but should probably get fixed...
If you try to install python-stix into a clean virtualenv (or onto a clean system) using
pip install stix, it fails because the cybox bindings are not already installed. Even though "cybox" is listed as a prerequisite insetup.py, due to the chain of imports shown below, setup.py cannot even be imported successfully.Doing
pip install cyboxfollowed bypip install stixis successful, as a workaround until we fix this.