-
Notifications
You must be signed in to change notification settings - Fork 13
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
fab hl.operations_deploy fails with ImportError: No module named colors #12
Comments
This is caused by your local installation of fabric. You need to remove it
again and the pip install fabric3. I will need to upgrade the NGAS package
to reflect that.
Andreas
…On Fri., 11 Oct. 2019, 10:54 Greg Sleap, ***@***.***> wrote:
Hi,
I'm using ngas v11.0.2 tag and following
https://ngas.readthedocs.io/en/latest/install.html#total-system-setup
This is on a clean install of ubuntu18.04 server, with a virtual env built
with:
create_venv.sh -f -2 -p /usr/bin/python2.7 /home/mwa/ngas_rt
Have you seen this before? Any ideas on what dependency I am missing? I
can't find anything similar on google to help either!
Here's the full output:
*(ngas_rt) ***@***.***:~/ngas_src$ pip freeze*
DEPRECATION: Python 2.7 will reach the end of its life on January 1st,
2020. Please upgrade your Python as Python 2.7 won't be maintained after
that date. A future version of pip will drop support for Python 2.7. More
details about Python 2 support in pip, can be found at
https://pip.pypa.io/en/latest/development/release-process/#python-2-support
asn1crypto==1.0.1
bcrypt==3.1.7
boto==2.49.0
cffi==1.12.3
cryptography==2.7
enum34==1.1.6
fabric==2.5.0
invoke==1.3.0
ipaddress==1.0.22
paramiko==2.6.0
pycparser==2.19
pycrypto==2.6.1
PyNaCl==1.3.0
six==1.12.0
*(ngas_rt) ***@***.***:~/ngas_src$ fab hl.operations_deploy -u gsleap
--set NGAS_USER=mwa*
Traceback (most recent call last):
File "/home/mwa/ngas_rt/bin/fab", line 10, in
sys.exit(program.run())
File
"/home/mwa/ngas_rt/local/lib/python2.7/site-packages/invoke/program.py",
line 373, in run
self.parse_collection()
File
"/home/mwa/ngas_rt/local/lib/python2.7/site-packages/invoke/program.py",
line 465, in parse_collection
self.load_collection()
File "/home/mwa/ngas_rt/local/lib/python2.7/site-packages/fabric/main.py",
line 87, in load_collection
super(Fab, self).load_collection()
File
"/home/mwa/ngas_rt/local/lib/python2.7/site-packages/invoke/program.py",
line 696, in load_collection
module, parent = loader.load(coll_name)
File
"/home/mwa/ngas_rt/local/lib/python2.7/site-packages/invoke/loader.py",
line 76, in load
module = imp.load_module(name, fd, path, desc)
File "/home/mwa/ngas_src/fabfile/*init*.py", line 30, in
from . import aws
File "/home/mwa/ngas_src/fabfile/aws.py", line 29, in
from fabric.colors import green, red, blue, yellow
ImportError: No module named colors
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#12?email_source=notifications&email_token=AAJVMSDX3XOA2VLESDLAPW3QOA5L7A5CNFSM4I7W6ZUKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HREYBQQ>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVMSECLCM3N7MASDSH5YTQOA5L7ANCNFSM4I7W6ZUA>
.
|
Thanks Andreas, that did the trick, thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm using ngas v11.0.2 tag and following https://ngas.readthedocs.io/en/latest/install.html#total-system-setup
This is on a clean install of ubuntu18.04 server, with a virtual env built with:
create_venv.sh -f -2 -p /usr/bin/python2.7 /home/mwa/ngas_rt
Have you seen this before? Any ideas on what dependency I am missing? I can't find anything similar on google to help either!
Here's the full output:
(ngas_rt) mwa@mwacache01:~/ngas_src$ pip freeze
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
asn1crypto==1.0.1
bcrypt==3.1.7
boto==2.49.0
cffi==1.12.3
cryptography==2.7
enum34==1.1.6
fabric==2.5.0
invoke==1.3.0
ipaddress==1.0.22
paramiko==2.6.0
pycparser==2.19
pycrypto==2.6.1
PyNaCl==1.3.0
six==1.12.0
(ngas_rt) mwa@mwacache01:~/ngas_src$ fab hl.operations_deploy -u gsleap --set NGAS_USER=mwa
Traceback (most recent call last):
File "/home/mwa/ngas_rt/bin/fab", line 10, in
sys.exit(program.run())
File "/home/mwa/ngas_rt/local/lib/python2.7/site-packages/invoke/program.py", line 373, in run
self.parse_collection()
File "/home/mwa/ngas_rt/local/lib/python2.7/site-packages/invoke/program.py", line 465, in parse_collection
self.load_collection()
File "/home/mwa/ngas_rt/local/lib/python2.7/site-packages/fabric/main.py", line 87, in load_collection
super(Fab, self).load_collection()
File "/home/mwa/ngas_rt/local/lib/python2.7/site-packages/invoke/program.py", line 696, in load_collection
module, parent = loader.load(coll_name)
File "/home/mwa/ngas_rt/local/lib/python2.7/site-packages/invoke/loader.py", line 76, in load
module = imp.load_module(name, fd, path, desc)
File "/home/mwa/ngas_src/fabfile/init.py", line 30, in
from . import aws
File "/home/mwa/ngas_src/fabfile/aws.py", line 29, in
from fabric.colors import green, red, blue, yellow
ImportError: No module named colors
The text was updated successfully, but these errors were encountered: