You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
download and install fresh (2.7.3) python from python.org
download web.py-0.37.tar.gz
extract it to c:\usr\webpy
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'
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 :(
The text was updated successfully, but these errors were encountered:
unable to instal web.py under windows
to reproduce:
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 :(
The text was updated successfully, but these errors were encountered: