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

python3 ImportError: No module named utils #180

Closed
ixqbar opened this issue Sep 3, 2012 · 4 comments
Closed

python3 ImportError: No module named utils #180

ixqbar opened this issue Sep 3, 2012 · 4 comments

Comments

@ixqbar
Copy link

ixqbar commented Sep 3, 2012

python3 ImportError: No module named utils

@dsoprea
Copy link

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

@ingframin
Copy link

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//issues/180#issuecomment-42898546
.

@dsoprea
Copy link

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.

@iredmail
Copy link
Contributor

The latest 0.40.dev1 already fixes this issue. And we're working on fixing other py3 compatibility issues, feel free to check out the latest git version and run your existing web.py application, report any issue here, we will try to fix it as soon as possible.

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

4 participants