Closed arnagaram closed 10 years ago
Try this:
git clone https://github.com/liluo/linguist.git
cd linguist
git checkout dev
(sudo) python setup.py install
pylinguist setup.py
cd tests
python run.py
@liluo
Thanks for a quick reply. The solution did not work either. Got the same error as before when executing 'pylinguist' or run.py. Below the screen shots taken during the installation are attached so that it would be easy to see where its going wrong if any.
Thanks,
Regards, Aditya Reddy.
@anagaram
Update https://github.com/liluo/linguist/commit/10c573a928c1d41ce014188987d41b69944a0ff9
Test worked on new VPS, pls retry:
git clone https://github.com/liluo/linguist.git
cd linguist
git checkout dev
(sudo) python setup.py install
pylinguist setup.py
cd tests
python run.py
@liluo
After the update its working fine now.
Thanks,
Regards, Aditya Reddy
Release v0.1.1, pip install linguist==0.1.1
it's working~
@liluo Ho nice. But One thing is to be realized is that:
If Pygments is already installed or due to missing dependency of 'pygments' its automatically installed through the command :
pip install linguist=0.1.1
then it does not work.
But the procedure through python setup.py install
it only installs required parts of required Pygments and it works without error
So you can look in to that aspect of issue.
When Installed 'linguist' package using 'pip' including its dependencies successfully and tried to run, got the following error. This was the same error when the project was cloned and then "run.py" file was run from "tests" folder as suggested.
when running the file in test folder:
So What was causing such an error as mentioned above and how to resolve it?
Regards, Aditya Reddy