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

Already on GitHub? Sign in to your account

python3 ImportError: No module named utils #180

Open
jonnywang opened this Issue Sep 3, 2012 · 3 comments

Comments

Projects
None yet
3 participants

python3 ImportError: No module named utils

dsoprea commented May 12, 2014

Experiencing this under OS X Mavericks.

Current version of Python:

$ ls -l /usr/local/bin/python3
lrwxr-xr-x  1 dustin  admin  35 Mar 19 15:44 /usr/local/bin/python3 -> ../Cellar/python3/3.3.5/bin/python3
$ sudo pip3 install --allow-external web.py --allow-unverified web.py web.py
Downloading/unpacking web.py
  Downloading web.py-0.37.tar.gz (90kB): 90kB downloaded
  Running setup.py (path:/private/tmp/pip_build_root/web.py/setup.py) egg_info for package web.py
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/private/tmp/pip_build_root/web.py/setup.py", line 6, in <module>
        from web import __version__
      File "./web/__init__.py", line 14, in <module>
        import utils, db, net, wsgi, http, webapi, httpserver, debugerror
    ImportError: No module named 'utils'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/private/tmp/pip_build_root/web.py/setup.py", line 6, in <module>

    from web import __version__

  File "./web/__init__.py", line 14, in <module>

    import utils, db, net, wsgi, http, webapi, httpserver, debugerror

ImportError: No module named 'utils'

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /private/tmp/pip_build_root/web.py
Storing debug log for failure in /Users/dustin/.pip/pip.log

Web.py is not working on python 3. You can fix already something using 2to3
but in order to make it work properly you need to really modify deeply the
code.
I am not sure if it's woth to do this or rewrite everything from scratch...
Op 13-mei-2014 00:50 schreef "Dustin Oprea" notifications@github.com:

Experiencing this under OS X Mavericks.

Current version of Python:

$ ls -l /usr/local/bin/python3
lrwxr-xr-x 1 dustin admin 35 Mar 19 15:44 /usr/local/bin/python3 -> ../Cellar/python3/3.3.5/bin/python3

$ sudo pip3 install --allow-external web.py --allow-unverified web.py web.py
Downloading/unpacking web.py
Downloading web.py-0.37.tar.gz (90kB): 90kB downloaded
Running setup.py (path:/private/tmp/pip_build_root/web.py/setup.py) egg_info for package web.py
Traceback (most recent call last):
File "", line 17, in
File "/private/tmp/pip_build_root/web.py/setup.py", line 6, in
from web import version
File "./web/init.py", line 14, in
import utils, db, net, wsgi, http, webapi, httpserver, debugerror
ImportError: No module named 'utils'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "", line 17, in

File "/private/tmp/pip_build_root/web.py/setup.py", line 6, in

from web import __version__

File "./web/init.py", line 14, in

import utils, db, net, wsgi, http, webapi, httpserver, debugerror

ImportError: No module named 'utils'


Cleaning up...
Command python setup.py egg_info failed with error code 1 in /private/tmp/pip_build_root/web.py
Storing debug log for failure in /Users/dustin/.pip/pip.log


Reply to this email directly or view it on GitHubhttps://github.com/webpy/webpy/issues/180#issuecomment-42898546
.

dsoprea commented May 13, 2014

I doubt that's going to happen, and, in the meantime, web.py is either going to lose adoption or anchor everyone to Python 2. Not good.

If someone could start developing a roadmap, then I'm sure there are enough people willing to chip away at tasks... Even the big ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment