View Single Post
Old 09-09-2021, 09:50 AM   #7
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Hi eschwartz. Could you explain why Arch Linux's calibre includes ".local/lib/python3.9/site-packages" in the "sys.path" and it's before "/usr/lib/python3.9/site-packages", won't this break dependencies if a user install an incompatible version of some package in their user directory?

I used to append the deps folder at the end of sys.path, then an Arch user with incompatible pkg installed had an import error. Insert the deps folder at the start of sys.path solves the error.
xxyzz is offline   Reply With Quote