-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
NameError when installing pylint in a Docker image #2538
Comments
Related issue for reference: #2291 |
@ethanchewy This is caused by our use of environment markers in astroid: https://github.com/PyCQA/astroid/blob/master/astroid/__pkginfo__.py#L33. I managed to reproduce this error using your Dockerfile, thanks for providing that! The problem is that your container uses an old version of |
Hi @PCManticore , I'm encountering the same issue using Python 3.5.2, while trying to install Edit: Also running simply |
For some reason, I run into this issue when trying to install pylint versions > 2.0 in Docker (earlier version work).
Steps to reproduce
docker build -t testing .
Current behavior
Expected behavior
Not sure if this has to do with me. When I change it to an earlier version in my Dockerfile, it works:
RUN pip3 install pylint==1.9
Not exactly sure why...
pylint --version output
The text was updated successfully, but these errors were encountered: