V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
freaks
V2EX  ›  Python

python34 安装 web.py 提示:ImportError: No module named 'net'

  •  
  •   freaks · 2015-09-07 00:22:06 +08:00 · 4241 次点击
    这是一个创建于 3156 天前的主题,其中的信息可能已经有所发展或是发生改变。

    jietu

    我大概知道因为依赖缺少相应的模块,但是这个 net 模块安装不上去,也不知道具体的代表什么东西,好像也没有叫 net 的模块pip install net 提示:
    Collecting net
    Could not find a version that satisfies the requirement net (from version
    s: )
    No matching distribution found for net

    11 条回复    2017-12-04 11:06:38 +08:00
    Changxu
        1
    Changxu  
       2015-09-07 00:30:31 +08:00
    web.py 的作者早都升仙了,估计不支持 python34 吧?你用 python27 装一下
    freaks
        2
    freaks  
    OP
       2015-09-07 00:49:34 +08:00
    @Changxu 挂了? 你说的的我也大概知道,装这个依赖的模块太多,如果装不上,就找别的替代吧,thx
    chengzhoukun
        3
    chengzhoukun  
       2015-09-07 02:23:44 +08:00
    学 flask 吧,用起来最爽的微框架
    TheJuli
        4
    TheJuli  
       2015-09-07 03:15:12 +08:00
    @freaks Aaron Hillel Swartz (November 8, 1986 – January 11, 2013 )
    freaks
        5
    freaks  
    OP
       2015-09-07 09:29:51 +08:00
    @chengzhoukun 嗯 会考虑的 你有没有用其做的作品 给个链接
    freaks
        6
    freaks  
    OP
       2015-09-07 09:41:15 +08:00
    @TheJuli 难以置信啊,还特地看了 Twitter,最后一条推文,2013.1.8
    jimzhong
        7
    jimzhong  
       2015-09-07 10:30:16 +08:00
    webpy 很久没有维护了,推荐 flask
    glasslion
        8
    glasslion  
       2015-09-07 10:42:22 +08:00
    1. Aaron Swartz 虽然死了,但对  web.py 的开发已经没有多大影响
    2. web.py 目前不支持 python3, 报错显然是由于  absolute import 导致的
    freaks
        9
    freaks  
    OP
       2015-09-07 10:51:05 +08:00
    @glasslion 看样我强制建立模块文件夹的方法,还是太粗暴了, 好像是 suicide
    Changxu
        10
    Changxu  
       2015-09-08 16:00:23 +08:00
    @freaks 作者英年早逝,好像是抑郁症自杀了
    woodvillage
        11
    woodvillage  
       2017-12-04 11:06:38 +08:00
    所以这个最终咋解决
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5695 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 06:08 · PVG 14:08 · LAX 23:08 · JFK 02:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.