Hi, I'm having a problem using pylint on Ubuntu 14.04 in a virtualenv based on python3.4. Here are steps to reproduce it:
- virtualenv --python=python3.4 VENV - source VENV/bin/activate - pip install pylint==1.2 - echo "import multiprocessing" > test.py - echo "print(multiprocessing.cpu_count())" >> test.py - pylint test.py
The problem is that pylint reports:
E: 2,22: Module 'multiprocessing' has no 'cpu_count' member (no-member)
but python has no problem executing the file.
There is no error when run with python3.3. The multiprocessing package has changed in python3.4 regarding how it exposes its methods which might be troublesome for pylint.
Could you please confirm there is a problem or if I'm doing something wrong.