mirror of
https://github.com/patrickchugh/terravision.git
synced 2026-05-09 16:35:30 +02:00
[GH-ISSUE #143] Getting an error while executing the Terravision draw command. #82
Labels
No labels
bug
enhancement
enhancement
good first issue
good first issue
good first issue
pipeline
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/terravision#82
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Acenda-raj-haldar on GitHub (Jul 31, 2025).
Original GitHub issue: https://github.com/patrickchugh/terravision/issues/143
Hello,
I have started to explore Terravision. I have created a python virtual env and then installed all the required packages and dependency inside that. Now, when I am trying to execute terravision command to generate the diagram from my Terraform code, i am getting the following error:-
Command I tried to execute: $ terravision draw --source ~/iacdemo/terraform/network-compute/
The directory mentioned above against --source is where few of my TF files exist.
The error I received: -
(myenv) rajarshih@MMD-06206986293:~/iac/tools/terravision$ terravision draw --source ~/iacdemo/terraform/network-compute/
Traceback (most recent call last):
File "/home/rajarshih/iac/tools/terravision/terravision", line 8, in
import modules.fileparser as fileparser
File "/home/rajarshih/iac/tools/terravision/modules/fileparser.py", line 8, in
from numpy import source
ImportError: cannot import name 'source' from 'numpy' (/home/rajarshih/myenv/lib/python3.12/site-packages/numpy/init.py)
I tried to comment out that line, but it did not help as it was used in the other area of the source code.
If you can advise or help on this that would be appreciated.
Thanks,
Raj
@patrickchugh commented on GitHub (Oct 20, 2025):
Please try the latest version and review new updated Readme for details
@patrickchugh commented on GitHub (Dec 16, 2025):
closing with no activity