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

显示import模块错误 #3

Closed
cscs54cs opened this issue Aug 20, 2013 · 3 comments
Closed

显示import模块错误 #3

cscs54cs opened this issue Aug 20, 2013 · 3 comments
Assignees
Labels

Comments

@cscs54cs
Copy link

不知道是不是我的问题,小弟初进github。linux和python还不是很懂。 安装了pyyaml,mechanize,python-dateutil,BeautifulSoup4,mongoengine,rsa,MongoDB等依赖。也在/usr/local/lib/pythonX.X/dist-packages中添加了pth文件。但是执行单机模式/contrib/wiki下python init.py命令时显示错误

Traceback (most recent call last):
File "init.py", line 28, in
from cola.core.urls import UrlPatterns, Url
ImportError: No module named cola.core.urls

想请指教一下小弟哪一步出了问题。小弟尚在学习,水平有限,问题如果太傻,请多包涵

@qinxuye
Copy link
Owner

qinxuye commented Aug 20, 2013

应该还是cola不在sys.path中导致的。
pth文件中的路径正确否?要检查是否正确,可以在python终端中输入import cola,看看是否有报错。

@qinxuye qinxuye closed this as completed Aug 20, 2013
@ghost ghost assigned qinxuye Aug 20, 2013
@cscs54cs
Copy link
Author

可否留个邮箱或者qq指教一下,小弟qq249746730

@qinxuye
Copy link
Owner

qinxuye commented Aug 20, 2013

邮箱qin@qinxuye.me

2013/8/20 cscs54cs notifications@github.com

可否留个邮箱或者qq指教一下,小弟qq249746730


Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-22953721
.

秦续业(Chine King)

Tel:+86-18616109836
QQ:344861256
E-mail:qin@qinxuye.me chinekingseu@gmail.com
http://qinxuye.me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants