{"id":4473,"date":"2014-03-30T11:23:41","date_gmt":"2014-03-30T11:23:41","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/python-error-when-runs-in-chroot-collection-of-common-programming-errors\/"},"modified":"2014-03-30T11:23:41","modified_gmt":"2014-03-30T11:23:41","slug":"python-error-when-runs-in-chroot-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/python-error-when-runs-in-chroot-collection-of-common-programming-errors\/","title":{"rendered":"Python error when runs in chroot-Collection of common programming errors"},"content":{"rendered":"<p>I try to run some Python programs in chroot and I get the following error<\/p>\n<pre><code>Could not find platform independent libraries \nCould not find platform dependent libraries \nConsider setting $PYTHONHOME to [:]\n'import site' failed; use -v for traceback\n<\/code><\/pre>\n<p>I used ldd to find the libraries on which the python runtime depends and copied the inside the jail. Could you please help me with that?<\/p>\n<p>Thank you<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I try to run some Python programs in chroot and I get the following error Could not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] &#8216;import site&#8217; failed; use -v for traceback I used ldd to find the libraries on which the python runtime depends and copied the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4473","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4473"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4473\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4473"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}