libcno icon indicating copy to clipboard operation
libcno copied to clipboard

Can't install on python 3.9

Open rainzee opened this issue 3 years ago • 4 comments

rainzee avatar Mar 20 '22 08:03 rainzee

I don't have 3.9, but seems to install fine on 3.10 for me (though fails with a couple TypeErrors due to loop parameters no longer existing in asyncio.Event and asyncio.Channel). Did you install cffi first? That's due to the package not being on pypi I think, pip needs to load setup.py to read dependencies in that case but setup.py needs cffi to call setup with the right arguments.

pyos avatar Mar 20 '22 10:03 pyos

First of all thanks for your reply, I installed cffi, I don't know much about C and C++, but I presume that the installation may have failed due to my lack of Gcc compilation environment? This exception seems to be caused by Subprocess, so you can see if this is the case proff

rainzee avatar Mar 20 '22 12:03 rainzee

Yes, you need some sort of C compiler. Probably MSVC.

pyos avatar Mar 20 '22 15:03 pyos

So what should i install

rainzee avatar Mar 21 '22 16:03 rainzee