-
Notifications
You must be signed in to change notification settings - Fork 141
Cannot build on debian #1118
Comments
I tried to install on another debian machine, and make install finally got: Messages+-----------------+------------+ Global evaluationYour code has been rated at 9.96/10 (previous run: 9.95/10, +0.00) Makefile:41: recipe for target 'pylint-check' failed I checked this pylint error should already fixed? |
Apologies for the time between a response.
This is likely difference between the package names between Fedora and Debian and the Fedora name snuck in. It looks like the Debian package is indeed pylint or pylint3 The referenced document also seems to be missing: And I'm going to guess the Hopefully that helps. If the above packages end up getting you to a point you can install without problem please let me know (and I'll update the referenced doc) or, even better, update the doc and send it as a PR with a reference to me for review 😄. |
@ashcrow Thanks for response.
|
@wydwww can you provide the output of:
It should look like:
unless you are getting the wrong |
After I pip uninstall gi and use python-gi, the output of this script is same with yours. Looks like this problem fixed. Thanks. Now comes the error I mentioned in my second comment previously.
|
@wydwww I believe this is differences in I wasn't able to reproduce with You can either upgrade |
@ashcrow Thanks for replying! |
@ashcrow Finally it worked! I updated the pylint to newest but still error, although the mark is 10/10. The pylint issue is the main problem although I still don't know what goes wrong. Anyway it can build now on Debian. Thanks |
@wydwww You're welcome 🎆 😄. Do you want to put a PR in to update the Debian doc or would you rather I did it? |
@ashcrow I can make one in two days. |
@wydwww Great! cc me on the PR when it's ready and I'll review it ASAP 😄 |
I followed the debian doc
First, I can't
apt-get install python-pylint
, then I triedapt-get install pylint
, it worked.Then
make install
failed, log was:#make install
/usr/bin/python setup.py build
Traceback (most recent call last):
File "setup.py", line 5, in
import Atomic as _Atomic
File "/home/ywang/atomic/Atomic/init.py", line 3, in
from .atomic import Atomic
File "/home/ywang/atomic/Atomic/atomic.py", line 6, in
from .syscontainers import SystemContainers
File "/home/ywang/atomic/Atomic/syscontainers.py", line 22, in
gi.require_version('OSTree', '1.0')
AttributeError: 'module' object has no attribute 'require_version'
Makefile:37: recipe for target 'python-build' failed
make: *** [python-build] Error 1
It looks like #409. I tried to comment out line 22 in syscontainers.py, but will have other pylint problems.
Thanks a lot if you could help me.
--
Edit:
I tried enkore/i3pystatus#314 and sdrelton/cryptocoin-indicator#4 and installed
sudo apt install python-gobject
, but still same error.The text was updated successfully, but these errors were encountered: