Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'attr' #383

Open
magnetarz opened this issue Aug 4, 2022 · 0 comments
Open

ModuleNotFoundError: No module named 'attr' #383

magnetarz opened this issue Aug 4, 2022 · 0 comments

Comments

@magnetarz
Copy link

magnetarz commented Aug 4, 2022

I am testing the acitoolkit application functionality in a devnet lab I reserved. Trying to use diagram.py I get the error in the title.

I am in the directory aci-diagram and run the command $ sudo python3 diagram.py -l admin -p C1sco12345 -u https://10.10.20.14 -o output.png

I have manually installed attr and attrs into the virtual environment I am working in and all libraries are in my site-packages. I am working on a ubuntu 22.04 virtualbox vm. I am currently connected to my anyconnect vpn connection and and have access to the apic gui. I was also able to successfully build out a tenant with acitoolkit in this environment.

Here is the output error

from acitoolkit.acitoolkit import *
File "/usr/local/lib/python3.10/dist-packages/acitoolkit-0.4-py3.10.egg/acitoolkit/init.py", line 30, in
File "/usr/local/lib/python3.10/dist-packages/acitoolkit-0.4-py3.10.egg/acitoolkit/aciFaults.py", line 6, in
File "/usr/local/lib/python3.10/dist-packages/jsonschema-4.9.1-py3.10.egg/jsonschema/init.py", line 12, in
from jsonschema._format import (
File "/usr/local/lib/python3.10/dist-packages/jsonschema-4.9.1-py3.10.egg/jsonschema/_format.py", line 10, in
from jsonschema.exceptions import FormatError
File "/usr/local/lib/python3.10/dist-packages/jsonschema-4.9.1-py3.10.egg/jsonschema/exceptions.py", line 12, in
import attr
ModuleNotFoundError: No module named 'attr'

@magnetarz magnetarz changed the title ModuleNotfoundError: No module named 'attr' ModuleNotFoundError: No module named 'attr' Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant