Error while setting up development environment for coala

15 views
Skip to first unread message

gouravma...@gmail.com

unread,
Oct 23, 2016, 7:10:23 AM10/23/16
to coala-devel
Dear Developers,

I'm new to Coala and I am trying to setup the development environment in Ubuntu 16.04.
Firstly, I created a virtual environment using these commands:

virtualenv coala
cd coala
source bin
/activate

And, then I used: "sudo -H pip3 install coala-bears --pre"  to setup the development environment.

I'm getting this error:

"Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-e6pydk58/language-check/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-3k37squg-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-e6pydk58/language-check/"

Please help me to handle this error.

- Gourav (gmanchanda31)

Lasse Schuirmann

unread,
Oct 23, 2016, 7:11:28 AM10/23/16
to gouravma...@gmail.com, coala-devel
Hey,

are you on a Mac? LanguageTool usually fails when Java isn't present
which is a typical mac user thing.
Sincerely,

Lasse Schuirmann

la...@schuirmann.net
http://coala.io/ - http://viperdev.io/ - http://gitmate.com/
> --
> You received this message because you are subscribed to the Google Groups
> "coala-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to coala-devel...@googlegroups.com.
> To post to this group, send email to coala...@googlegroups.com.
> Visit this group at https://groups.google.com/group/coala-devel.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/coala-devel/d3b6fdec-d6d6-402c-9fa5-0dce5d021c30%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Abdeali Kothari

unread,
Oct 23, 2016, 7:41:21 AM10/23/16
to Lasse Schuirmann, coala-devel, gouravma...@gmail.com

When you're using a virtualenv don't use sudo. The sudo makes it use a different python than your virtualenv python and also messes up your permissions (especially using sudo -E can make it even more confusing).

Also, when you do 'virtualenv coala' you're calling your virtualenv by the name coala. Which will again be confusing, so preferably choose a different name there also!

@sils it is not a Mac as he said it's Ubuntu 16.04



> To post to this group, send email to coala...@googlegroups.com.
> Visit this group at https://groups.google.com/group/coala-devel.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/coala-devel/d3b6fdec-d6d6-402c-9fa5-0dce5d021c30%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "coala-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coala-devel+unsubscribe@googlegroups.com.

To post to this group, send email to coala...@googlegroups.com.
Visit this group at https://groups.google.com/group/coala-devel.

Gourav Manchanda

unread,
Oct 23, 2016, 8:36:34 AM10/23/16
to Abdeali Kothari, Lasse Schuirmann, coala-devel
I tried again after removing the sudo and changing the virtual environment name to "coala-dev" instead of coala. Now, the process stucks at this line:

"Running setup.py bdist_wheel for language-check ... -"
Reply all
Reply to author
Forward
0 new messages