{"id":18,"date":"2011-05-01T17:40:00","date_gmt":"2011-05-01T21:40:00","guid":{"rendered":"http:\/\/72.167.111.237\/wpmgreene\/?p=18"},"modified":"2011-05-01T17:40:00","modified_gmt":"2011-05-01T21:40:00","slug":"gentoo-python-3-x-error","status":"publish","type":"post","link":"https:\/\/www.mgreene.org\/?p=18","title":{"rendered":"Gentoo python 3.x error &#8230;"},"content":{"rendered":"<p>I received an error compiling docutils and it is caused by python 3.x:<\/p>\n<p>(File &#8220;\/usr\/lib\/python3.1\/encodings\/ascii.py&#8221;, line 26, in decode &#8230;)<\/p>\n<p>A work around:<\/p>\n<p># mkdir -p \/etc\/portage\/env\/dev-python\/<br \/># echo &#8220;export LC_CTYPE=en_US.utf8&#8221; &gt; \/etc\/portage\/env\/app-portage\/docutils<\/p>\n<p>Compiled correctly afterwards.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I received an error compiling docutils and it is caused by python 3.x: (File &#8220;\/usr\/lib\/python3.1\/encodings\/ascii.py&#8221;, line 26, in decode &#8230;) A work around: # mkdir -p \/etc\/portage\/env\/dev-python\/# echo &#8220;export LC_CTYPE=en_US.utf8&#8221; [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[12],"tags":[],"class_list":["post-18","post","type-post","status-publish","format-standard","hentry","category-gentoo"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":371,"url":"https:\/\/www.mgreene.org\/?p=371","url_meta":{"origin":18,"position":0},"title":"Gpytage","author":"Mike","date":"September 17, 2020","format":false,"excerpt":"Updated to use Python 3.7 and Gtk3. I included an ebuild file for local repository use. https:\/\/gitlab.com\/mikeos2\/gpytage \u00a0","rel":"","context":"In &quot;Gentoo&quot;","block_context":{"text":"Gentoo","link":"https:\/\/www.mgreene.org\/?cat=12"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":89,"url":"https:\/\/www.mgreene.org\/?p=89","url_meta":{"origin":18,"position":1},"title":"Gentoo Java emerge issue","author":"Mike","date":"February 8, 2015","format":false,"excerpt":"Once again portage tells me there is an Oracle Java update and I already know it will have to be downloaded manually and moved into \/usr\/portage\/distfiles. I do this, expecting everything to install without a hitch, but it does not. I get the dreaded \u201ctar: This does not look like\u2026","rel":"","context":"In &quot;Gentoo&quot;","block_context":{"text":"Gentoo","link":"https:\/\/www.mgreene.org\/?cat=12"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":159,"url":"https:\/\/www.mgreene.org\/?p=159","url_meta":{"origin":18,"position":2},"title":"The Dreaded Gentoo emerge -e @world","author":"Mike","date":"March 31, 2015","format":false,"excerpt":"Not something I take lightly, nor is it something I look forward to doing. \u00a0In Gentoo the emerge \"-e\" means rebuild all packages installed on the system that portage has recorded. \u00a0A quick 'equery -l \"*\"' will list all packages installed. So why do I do this every year or\u2026","rel":"","context":"In &quot;Gentoo&quot;","block_context":{"text":"Gentoo","link":"https:\/\/www.mgreene.org\/?cat=12"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":563,"url":"https:\/\/www.mgreene.org\/?p=563","url_meta":{"origin":18,"position":3},"title":"Gnome 40","author":"Mike","date":"April 17, 2021","format":false,"excerpt":"EDIT 16 May 21: gnome-40.0.ebuild is in portage emerge --autounmask-write =gnome-40.0 and etc-update should make it available - good luck! Also - I am having good luck with wayland enabled - so far! The big gnome change from vertical to horizontal.","rel":"","context":"In &quot;Gentoo&quot;","block_context":{"text":"Gentoo","link":"https:\/\/www.mgreene.org\/?cat=12"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.mgreene.org\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-17-12-17-25.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.mgreene.org\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-17-12-17-25.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.mgreene.org\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-17-12-17-25.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.mgreene.org\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-17-12-17-25.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":187,"url":"https:\/\/www.mgreene.org\/?p=187","url_meta":{"origin":18,"position":4},"title":"Virtual Box 5.0 in Portage!","author":"Mike","date":"July 14, 2015","format":false,"excerpt":"I guess just in time for Windows 10??? emerge --unmerge -p virtualbox Same old catch if you want the BIOS compiled then Open Watcom is needed. \u00a0To be specific, I have had to use Open Watcom 1.9. \u00a0The emerge output if OW is not found: >>> Source prepared. >>> Configuring\u2026","rel":"","context":"In &quot;Gentoo&quot;","block_context":{"text":"Gentoo","link":"https:\/\/www.mgreene.org\/?cat=12"},"img":{"alt_text":"vb5","src":"https:\/\/i0.wp.com\/wordpress.greenenet.net\/wp-content\/uploads\/2015\/07\/vb5.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/wordpress.greenenet.net\/wp-content\/uploads\/2015\/07\/vb5.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/wordpress.greenenet.net\/wp-content\/uploads\/2015\/07\/vb5.png?resize=525%2C300 1.5x"},"classes":[]},{"id":169,"url":"https:\/\/www.mgreene.org\/?p=169","url_meta":{"origin":18,"position":5},"title":"Gnome 3.16","author":"Mike","date":"June 28, 2015","format":false,"excerpt":"Classes are finally out for summer and it is time for catch up. \u00a0Still, I had time to cause undue stress in my life. \u00a0I decided to do what I had promised myself I would not do again, install a new version of Gnome before it was stable in portage.\u2026","rel":"","context":"In &quot;Gentoo&quot;","block_context":{"text":"Gentoo","link":"https:\/\/www.mgreene.org\/?cat=12"},"img":{"alt_text":"gnome3_16","src":"https:\/\/i0.wp.com\/wordpress.greenenet.net\/wp-content\/uploads\/2015\/06\/gnome3_16.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/wordpress.greenenet.net\/wp-content\/uploads\/2015\/06\/gnome3_16.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/wordpress.greenenet.net\/wp-content\/uploads\/2015\/06\/gnome3_16.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/wordpress.greenenet.net\/wp-content\/uploads\/2015\/06\/gnome3_16.png?resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.mgreene.org\/index.php?rest_route=\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mgreene.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mgreene.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mgreene.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mgreene.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=18"}],"version-history":[{"count":0,"href":"https:\/\/www.mgreene.org\/index.php?rest_route=\/wp\/v2\/posts\/18\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.mgreene.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mgreene.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mgreene.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}