Etiny的安装
-
[code]~$ start-tinyerp.py
/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/lib/profiler.py:54: UserWarning: Your installation of Python doesn't have a profile module. If you're on Debian, you can apt-get python2.4-profiler from non-free in a separate step. See www.cherrypy.org/wiki/ProfilingOnDebian for details.
warnings.warn(msg)
Traceback (most recent call last):
File "/usr/bin/start-tinyerp.py", line 5, in ?
pkg_resources.run_script('eTiny==1.0rc2', 'start-tinyerp.py')
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 448, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1166, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/lib/python2.4/site-packages/eTiny-1.0rc2-py2.4.egg/EGG-INFO/scripts/start-tinyerp.py", line 24, in ?
from tinyerp.controllers import Root
File "/usr/lib/python2.4/site-packages/eTiny-1.0rc2-py2.4.egg/tinyerp/controllers.py", line 49, in ?
from tinyerp import subcontrollers
File "/usr/lib/python2.4/site-packages/eTiny-1.0rc2-py2.4.egg/tinyerp/subcontrollers/init.py", line 1, in ?
import actions
File "/usr/lib/python2.4/site-packages/eTiny-1.0rc2-py2.4.egg/tinyerp/subcontrollers/actions.py", line 47, in ?
from form import Form
File "/usr/lib/python2.4/site-packages/eTiny-1.0rc2-py2.4.egg/tinyerp/subcontrollers/form.py", line 46, in ?
from tinyerp import widgets as tw
File "/usr/lib/python2.4/site-packages/eTiny-1.0rc2-py2.4.egg/tinyerp/widgets/init.py", line 1, in ?
import form
File "/usr/lib/python2.4/site-packages/eTiny-1.0rc2-py2.4.egg/tinyerp/widgets/form.py", line 722, in ?
from action import Action
File "/usr/lib/python2.4/site-packages/eTiny-1.0rc2-py2.4.egg/tinyerp/widgets/action.py", line 39, in ?
import screen
File "/usr/lib/python2.4/site-packages/eTiny-1.0rc2-py2.4.egg/tinyerp/widgets/screen.py", line 43, in ?
import tinycalendar
File "/usr/lib/python2.4/site-packages/eTiny-1.0rc2-py2.4.egg/tinyerp/widgets/tinycalendar/init.py", line 1, in ?
from widgets import DayCalendar
File "/usr/lib/python2.4/site-packages/eTiny-1.0rc2-py2.4.egg/tinyerp/widgets/tinycalendar/widgets.py", line 43, in ?
from base import TinyCalendar
File "/usr/lib/python2.4/site-packages/eTiny-1.0rc2-py2.4.egg/tinyerp/widgets/tinycalendar/base.py", line 47, in ?
from tinyerp.tinygraph import choice_colors
File "/usr/lib/python2.4/site-packages/eTiny-1.0rc2-py2.4.egg/tinyerp/tinygraph/init.py", line 33, in ?
from matplotlib.numerix import arange
File "/usr/lib/python2.4/site-packages/matplotlib/numerix/init.py", line 82, in ?
import numpy
ImportError: No module named numpy[/code] -
安装numpy包
[code]
sudo apt-get install python-numpy
[/code] -
这个 状态是启动了?
[code]~$ start-tinyerp.py
/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/lib/profiler.py:54: UserWarning: Your installation of Python doesn't have a profile module. If you're on Debian, you can apt-get python2.4-profiler from non-free in a separate step. See www.cherrypy.org/wiki/ProfilingOnDebian for details.
warnings.warn(msg)[/code]