Skip to content
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

GNUIndentBear does not fulfill all requirements. 'indent' is not installed. #6129

Open
ArdaOzd opened this issue Dec 9, 2020 · 1 comment

Comments

@ArdaOzd
Copy link

ArdaOzd commented Dec 9, 2020

I am new to coala and trying to use GNUIndentBear through command prompt on a Windows 10 x64. Altough I installed indent.py with pip install indent, when I run coala it gives error that indent is not installed.
I have added paths to environment variables of the system. Tried deleting and installing again. I have no idea why this happens and couldn't find any source on how to solve this problem.

C:\SRS_DENEME>pip install indent
Requirement already satisfied: indent in c:\users\26055841\appdata\local\programs\python\python39\lib\site-packages (0.1)

C:\SRS_DENEME>coala
�[33m[WARNING]�[0m[15:52:22] 'cli' is an internally reserved section name. It may have been generated into your coafile while running coala with --save. The settings in that section will inherit implicitly to all sections as defaults just like CLI args do.Please change the name of that section in your coafile to avoid any unexpected behavior.�[0m
Executing section cli...
�[31m[ERROR]�[0m[15:52:22] The bear GNUIndentBear does not fulfill all requirements. 'indent' is not installed.�[0m

@codehobbyist06
Copy link

The reason you get this error is because the package installed by pip install indent is a python package and it is not what is required for GNUIndentBear to run. The GNUIndentBear is a cpp language bear and it requires a different package. For windows you can download and install the package from the below link:
[http://gnuwin32.sourceforge.net/downlinks/indent.php]
For Linux this package can be installed using the following command:
sudo apt install indent

Hope the issue is resolved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants