Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install under windows. #210

Closed
evg345 opened this issue Feb 16, 2013 · 0 comments
Closed

Unable to install under windows. #210

evg345 opened this issue Feb 16, 2013 · 0 comments

Comments

@evg345
Copy link

evg345 commented Feb 16, 2013

unable to instal web.py under windows

to reproduce:

  1. download and install fresh (2.7.3) python from python.org
  2. download web.py-0.37.tar.gz
  3. extract it to c:\usr\webpy
  4. run setup.py and ...

Traceback (most recent call last):
File "C:\usr\webpy\setup.py", line 6, in
from web import version
File "C:\usr\webpy\web__init__.py", line 14, in
import utils, db, net, wsgi, http, webapi, httpserver, debugerror
File "C:\usr\webpy\web\wsgi.py", line 12, in
import httpserver
File "C:\usr\webpy\web\httpserver.py", line 4, in
from SimpleHTTPServer import SimpleHTTPRequestHandler
File "C:\Python27\lib\SimpleHTTPServer.py", line 27, in
class SimpleHTTPRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
File "C:\Python27\lib\SimpleHTTPServer.py", line 204, in SimpleHTTPRequestHandler
mimetypes.init() # try to read system mime.types
File "C:\Python27\lib\mimetypes.py", line 355, in init
db.read_windows_registry()
File "C:\Python27\lib\mimetypes.py", line 259, in read_windows_registry
for ctype in enum_types(mimedb):
File "C:\Python27\lib\mimetypes.py", line 249, in enum_types
ctype = ctype.encode(default_encoding) # omit in 3.x!
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe0 in position 0: ordinal not in range(128)

ok. i am very newby . i uninstall python 2.7 and install Pithon 3.3 and ...

Traceback (most recent call last):
File "C:\usr\webpy\setup.py", line 6, in
from web import version
File "C:\usr\webpy\web__init__.py", line 14, in
import utils, db, net, wsgi, http, webapi, httpserver, debugerror
ImportError: No module named 'utils'

hm. i move PKG-INFO and setup.py into "web" folder and ...

Traceback (most recent call last):
File "C:\usr\webpy\web\setup.py", line 6, in
from web import version
ImportError: No module named 'web'

hmmm. http://webpy.org/static/web.py to "web" folder and ...

Traceback (most recent call last):
File "C:\usr\webpy\web\setup.py", line 6, in
from web import version
File "C:\usr\webpy\web\web.py", line 77
raise ValueError, "Direction needs to be r or l."
^
SyntaxError: invalid syntax

so i gave au :(

@iredmail iredmail closed this as completed Jun 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants