A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/005974.html below:

[Python-Dev] Demo/embed causes 'import site' failure

[Python-Dev] Demo/embed causes 'import site' failure [Python-Dev] Demo/embed causes 'import site' failureGuido van Rossum guido@beopen.com
Mon, 10 Jul 2000 10:32:44 -0500
I decided to build the simple embedding demo in Demo/embed/.  After
fixing the Makefile (checkins coming), I ended up with one problem:
the 'import site.py' failed error.  When using -v I get this traceback:

'import site' failed; traceback:
Traceback (most recent call last):
  File "/usr/local/lib/python2.0/site.py", line 146, in ?
    sys.setdefaultencoding('ascii')
LookupError: no codec search functions registered: can't find encoding

Is there some part of the initialization that I'm forgetting?

--Guido van Rossum (home page: http://dinsdale.python.org/~guido/)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4