Open xanderstevenson opened 1 year ago
same for me
(ACI) ec2-user:~/environment/aci-learning-labs-code-samples/apic_fabric_setup (master) $ python baseline.py
Traceback (most recent call last):
File "/home/ec2-user/environment/aci-learning-labs-code-samples/apic_fabric_setup/baseline.py", line 11, in
python3 baseline.py
Traceback (most recent call last): File "/Users/alexstev/Documents/CiscoDevNet/code/aci-learning-labs-code-samples/apic_fabric_setup/baseline.py", line 11, in
import startup_script
File "/Users/alexstev/Documents/CiscoDevNet/code/aci-learning-labs-code-samples/apic_fabric_setup/startup_script.py", line 3, in
import cobra.mit.access
File "/Users/alexstev/Documents/CiscoDevNet/code/aci-learning-labs-code-samples/ven/lib/python3.9/site-packages/cobra/init.py", line 17, in
from cobra import io
File "/Users/alexstev/Documents/CiscoDevNet/code/aci-learning-labs-code-samples/ven/lib/python3.9/site-packages/cobra/io/init.py", line 4, in
from cobra.io.dict import model_from_dict, model_to_dict
File "/Users/alexstev/Documents/CiscoDevNet/code/aci-learning-labs-code-samples/ven/lib/python3.9/site-packages/cobra/io/dict.py", line 71, in
value: Union[str, np.float, np.bool, Set, Dict]
File "/Users/alexstev/Documents/CiscoDevNet/code/aci-learning-labs-code-samples/ven/lib/python3.9/site-packages/numpy/init.py", line 284, in getattr
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'float'
I tried updating numpy but that didn't help