New Python env creation failing on Dataiku 9.0.5 version

Keerthan
Keerthan Registered Posts: 5 ✭✭✭

when I try to create the environment as in dataiku1.jpg attached

Environment creation failed

/apps/dataiku-data/bin/python failed (exit code: 1)

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.5/scripts/virtualenv.pyz/__main__.py", line 168, in <module>
File "/home/dataiku/dataiku-dss-9.0.5/scripts/virtualenv.pyz/__main__.py", line 164, in run
File "/home/dataiku/dataiku-dss-9.0.5/scripts/virtualenv.pyz/virtualenv/__main__.py", line 18, in run File "/home/dataiku/dataiku-dss-9.0.5/scripts/virtualenv.pyz/virtualenv/run/__init__.py", line 30, in cli_run
File "/home/dataiku/dataiku-dss-9.0.5/scripts/virtualenv.pyz/virtualenv/run/__init__.py", line 48, in session_via_cli
File "/home/dataiku/dataiku-dss-9.0.5/scripts/virtualenv.pyz/virtualenv/run/__init__.py", line 76, in build_parser File "/home/dataiku/dataiku-dss-9.0.5/scripts/virtualenv.pyz/virtualenv/run/plugin/activators.py", line 13, in __init__
File "/home/dataiku/dataiku-dss-9.0.5/scripts/virtualenv.pyz/virtualenv/run/plugin/base.py", line 39, in options
File "/home/dataiku/dataiku-dss-9.0.5/scripts/virtualenv.pyz/virtualenv/run/plugin/base.py", line 18, in entry_points_for File "/usr/lib64/python2.7/collections.py", line 69, in __init__ self.__update(*args, **kwds)
File "/apps/dataiku-data/pyenv/lib64/python2.7/_abcoll.py", line 571, in update
for key, value in other:
File "/home/dataiku/dataiku-dss-9.0.5/scripts/virtualenv.pyz/virtualenv/run/plugin/base.py", line 18, in <genexpr>

File "<string>", line 95, in load
File "/usr/lib64/python2.7/importlib/__init__.py", line 37,
in import_module
__import__(name)ImportError: No module named nushell

complete error screenshot in dataiku2.jpg screenshor.

Please let me know how to create the Venv.

Answers

  • Sergey
    Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 365 Dataiker

    Hi @Keerthan

    Can you please provide more details on this DSS setup? What OS, what python version was used for built-in code env. How was python3.7 installed?

    Basically, I am asking as I just have tried to perform a similar installation and it worked for me so this should be something environmental.

Setup Info
    Tags
      Help me…