Submit your inspiring success story or innovative use case to the 2022 Dataiku Frontrunner Awards! ENTER YOUR SUBMISSION

dataiku start command not working

Keerthan
Level 2
dataiku start command not working

dss start
Traceback (most recent call last):
File "/usr/lib64/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/dataiku/dataiku-dss-9.0.7/python.packages/supervisor/supervisord.py", line 40, in <module>
from supervisor.options import ServerOptions
File "/home/dataiku/dataiku-dss-9.0.7/python.packages/supervisor/options.py", line 13, in <module>
import pkg_resources
File "/apps/dataiku-data/pyenv/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 36, in <module>
import email.parser
ImportError: No module named parser


Operating system used: AMI

0 Kudos
1 Reply
AlexT
Dataiker
Dataiker

Hi @Keerthan,

Looks like the base python is missing some required libraries in the base python.

You could try to rebuild it following the steps described here : 

https://doc.dataiku.com/dss/latest/installation/custom/python.html#rebuilding-the-builtin-python-env...

Additionally DSS 9.0.7 Support Python3.6 /3,7 as the base code env. You can try re-running the upgrade based python using :

 ./installer.sh -u -d /apps/dataiku-data/ -P python3.7 

Let me know if that helps.

0 Kudos