File "/usr/share/software-center/softwarecenter/backend/channel.py", line 25, in <module>
import from d:\org.ixf of ixf method n(d,e,b) replace_create into orgtest。import from file_name of file_type。
File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 165, in <module>
distro_instance=_get_distro()
[url=file://\\system\\usr\\share\\bsk\\v_fd_std_101.bsk]\\system\\usr\\share\\bsk\\v_fd_std_101.bsk[/url]。file "/mnt/lib/python3.2/sysconfig.py", line 474, in get_config_vars。for backward compatibility, python will still support pyc-onlydistributions, however it will only do so when the pyc file lives inthe directory where the py filewouldhave been, i.e. not in the__pycache__directory. pyc file outside of__pycache__will onlybe imported if the py source file is missing.。/usr/share/java/commons-daemon.jar:/usr/share/apache-tomcat-7.0.62/bin/bootstrap.jar:/usr/share/apache-tomcat-7.0.62/bin/tomcat-juli.jar 。
3 如果不使用autodiscover,可以在项目的celery中 import 相应的module,相当于在项目的celery中写了相应的task,如在celery.py中 import apps.app2.mytasks。python并不会真的阻止你访问私有的属性,模块也遵循这种约定,如果模块名以单下划线开头,那么from module import *时不能被导入,但是你from module import _private_module依然是可以导入的。
ImportError: No module named LinuxDeepin
解决办法如下:
sudo gedit /etc/lsb-release (好吧,我不会VIM -.-!)
用以下内容替换其中的文本:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION=“Ubuntu 11.10″
OK,此时应该就可以打开软件源、软件中心了。
不过还是碰到了个问题,软件中心是打开了,页面却一直处于空白的刷新界面。
卸载重装:
sudo apt-get autoremove software-center --purge
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/ruanjian/article-93964-2.html
中国成本太低了
早上好