EverythingMe / redshift_console

Redshift Ops Console

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't run redshift_console

michaelloewenstein opened this issue · comments

setup.py install fails:
File "setup.py", line 7, in
install_reqs = parse_requirements('requirements.txt', session=pip.download.PipSession())
AttributeError: 'module' object has no attribute 'PipSession'

I tried to remov the following: " , session=pip.download.PipSession() " and got a different error when trying to run redshift-console runserver:

File "/usr/lib/python2.6/site-packages/redshift_console-0.1.1-py2.6.egg/redshift_console/redshift.py", line 178
self.inflight_queries = {q['id']: q for q in _concat_query_text(inflight_queries)}

What version of pip do you have? What version of Python?

pip 1.3.1 from /usr/lib/python2.6/site-packages (python 2.6)

running inside a centos6 docker container

Michael Loewenstein
http://www.facebook.com/LoenMichael
http://il.linkedin.com/pub/michael-loewenstein/22/9a5/713/ | Blog
http://blogs.microsoft.co.il/miziel |w: i-collect.info | m:+972544503551 |
e:Michael.Loewenstein@gmail.com

On Mon, Jun 29, 2015 at 5:45 PM, Arik Fraimovich notifications@github.com
wrote:

What version of pip do you have? What version of Python?


Reply to this email directly or view it on GitHub
#14 (comment)
.

I think this feature needs newer version of pip. If having the container based on centos is not a requirement, you can use the container I created:

https://registry.hub.docker.com/u/arikfr/redshift-console/

(based on the python:2.7 base image)