Comments (4)
I get that same error in multiple terraform init-ed projects.
from blast-radius.
graphviz-2.30.1-21.el7.x86_64
from blast-radius.
Hi @pastephens
blast-radius works with python 3.5 or newer. The {**dict, **dict}
syntax cited above was introduced in that release. In theory setup.py
is configured to check for this requirement, but I'm not sure what happens when a release >= 3.5 is installed but the default python3 is < 3.5.
from blast-radius.
Thanks for the tip. After setting up a python3.6 virtualenv, and manually removing blastradius from the 3.4 lib/site-packages, I get a very strange outcome:
(python36) -1 stephens1@ops7ws01:~/code/ewp-virtual-hosting-edge/terraform [master L|✚ 1]> pip install blastradius
Requirement already satisfied: blastradius in /home/stephens1/python36/lib/python3.6/site-packages (0.1.18)
Requirement already satisfied: Flask in /home/stephens1/python36/lib/python3.6/site-packages (from blastradius) (1.0.2)
Requirement already satisfied: jinja2 in /home/stephens1/python36/lib/python3.6/site-packages (from blastradius) (2.10)
Requirement already satisfied: pyhcl>=0.3.10 in /home/stephens1/python36/lib/python3.6/site-packages (from blastradius) (0.3.10)
Requirement already satisfied: requests in /home/stephens1/python36/lib/python3.6/site-packages (from blastradius) (2.20.1)
Requirement already satisfied: BeautifulSoup4 in /home/stephens1/python36/lib/python3.6/site-packages (from blastradius) (4.6.3)
Requirement already satisfied: click>=5.1 in /home/stephens1/python36/lib/python3.6/site-packages (from Flask->blastradius) (7.0)
Requirement already satisfied: Werkzeug>=0.14 in /home/stephens1/python36/lib/python3.6/site-packages (from Flask->blastradius) (0.14.1)
Requirement already satisfied: itsdangerous>=0.24 in /home/stephens1/python36/lib/python3.6/site-packages (from Flask->blastradius) (1.1.0)
Requirement already satisfied: MarkupSafe>=0.23 in /home/stephens1/python36/lib/python3.6/site-packages (from jinja2->blastradius) (1.1.0)
Requirement already satisfied: ply==3.10 in /home/stephens1/python36/lib/python3.6/site-packages (from pyhcl>=0.3.10->blastradius) (3.10)
Requirement already satisfied: idna<2.8,>=2.5 in /home/stephens1/python36/lib/python3.6/site-packages (from requests->blastradius) (2.7)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /home/stephens1/python36/lib/python3.6/site-packages (from requests->blastradius) (1.24.1)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/stephens1/python36/lib/python3.6/site-packages (from requests->blastradius) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in /home/stephens1/python36/lib/python3.6/site-packages (from requests->blastradius) (2018.10.15)
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(python36) ✔ stephens1@ops7ws01:~/code/ewp-virtual-hosting-edge/terraform [master L|✚ 1]> blast-radius --serve
Traceback (most recent call last):
File "/usr/bin/blast-radius", line 14, in <module>
from blastradius.handlers.dot import DotGraph, Format, DotNode
ImportError: No module named 'blastradius'
(python36) ✘-1 stephens1@ops7ws01:~/code/ewp-virtual-hosting-edge/terraform [master L|✚ 1]> python
Python 3.6.6 (default, Aug 13 2018, 18:24:23)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import blastradius
>>> exit()
(python36) ✔ stephens1@ops7ws01:~/code/ewp-virtual-hosting-edge/terraform [master L|✚ 1]> blast-radius --serve
Traceback (most recent call last):
File "/usr/bin/blast-radius", line 14, in <module>
from blastradius.handlers.dot import DotGraph, Format, DotNode
ImportError: No module named 'blastradius'
(python36) ✘-1 stephens1@ops7ws01:~/code/ewp-virtual-hosting-edge/terraform [master L|✚ 1]> which blast-radius
~/python36/bin/blast-radius
(python36) ✔ stephens1@ops7ws01:~/code/ewp-virtual-hosting-edge/terraform [master L|✚ 1]>
from blast-radius.
Related Issues (20)
- Receiving issue when trying to connect to git for AWS provider HOT 4
- When using with an AWS project, diagram is blank. HOT 9
- BUG: Commit a7ec4ef Docker feature not functional, returns `no such file or dir` error HOT 3
- REQ: SemVer Release or Tag
- Python 3.10 incomptablity due to collections HOT 3
- AttributeError: module 'collections' has no attribute 'MutableSet' HOT 1
- Error using && Logical Operators
- Hosting on Azure HOT 1
- HTTP 500 internal server error: unexpected LEFTBRACKET HOT 4
- Importing ABC directly from collections will be removed in Python 3.10
- Using blast-radius for the first time HOT 1
- All I see is the graphviz svg graph HOT 1
- Error fetching terraform module in blast-radius HOT 16
- AttributeError: 'NoneType' object has no attribute 'groupdict' HOT 12
- Is this project still maintained? HOT 2
- Local install fails to find templates
- Error: Unsuitable value type HOT 1
- Blast Radius triggers 500 response HOT 4
- WORKING VERSION
- Does not start up HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blast-radius.