# Pylint crash with AttributeError in Travis CI while working fine on local computer

**URL:** <https://travis-ci.community/t/pylint-crash-with-attributeerror-in-travis-ci-while-working-fine-on-local-computer/2476>\
**Category:** Python\
**Created:** [February 27, 2019, 10:23am UTC](https://travis-ci.community/t/pylint-crash-with-attributeerror-in-travis-ci-while-working-fine-on-local-computer/2476 "2019-02-27T10:23:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SLAPaper](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/slapaper/32/1288_2.png) [@SLAPaper](https://travis-ci.community/u/SLAPaper)\
**Post date:** [February 27, 2019, 10:23am UTC](https://travis-ci.community/t/pylint-crash-with-attributeerror-in-travis-ci-while-working-fine-on-local-computer/2476/1 "2019-02-27T10:23:18Z")

</div>

The failed builds are here:  
[https://travis-ci.com/SLAPaper/Project-KnowNet/builds/102466002](https://travis-ci.com/SLAPaper/Project-KnowNet/builds/102466002)

It seems that the pylint installation has some problems in Travis CI environment but I can’t quite figure out why.  
Since pylint works fine in local environment and I can’t search any related issue on pylint side, so I reach here for help.

The error message is here:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/travis_ci/original/2X/6/6bbc7efccf98076bae66ea5d33b3a90d7c2fc407.png)

---

<div class="post-metadata">

**Author:** ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Post date:** [February 27, 2019, 7:20pm UTC](https://travis-ci.community/t/pylint-crash-with-attributeerror-in-travis-ci-while-working-fine-on-local-computer/2476/2 "2019-02-27T19:20:41Z")

</div>

Did this help you? [https://travis-ci.com/SLAPaper/Project-KnowNet/builds/102486785](https://travis-ci.com/SLAPaper/Project-KnowNet/builds/102486785)

---

<div class="post-metadata">

**Author:** ![SLAPaper](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/slapaper/32/1288_2.png) [@SLAPaper](https://travis-ci.community/u/SLAPaper)\
**Post date:** [February 28, 2019, 2:55am UTC](https://travis-ci.community/t/pylint-crash-with-attributeerror-in-travis-ci-while-working-fine-on-local-computer/2476/3 "2019-02-28T02:55:59Z")

</div>

Yes, I change the travis config, and it magically works, but I don’t quite know why.

Anyway thanks for help!
