Skip to content

FileNotFoundError with renku run #516

@vfdev-5

Description

@vfdev-5

Describe the bug

I'm trying to run with renku the following command

PYTHONPATH=$PYTHONPATH:$PWD/src OUTPUT_PATH=$PWD/data python src/train_fast.py src/config.py

from this project

So, I run

renku run PYTHONPATH=$PYTHONPATH:$PWD/src OUTPUT_PATH=$PWD/data python src/train_fast.py src/config.py

and I got an error with a message to fill a bug.

Details

Please verify and redact the details.

Renku version: 0.5.0
OS: Linux (#1 SMP Mon Oct 22 10:40:32 EDT 2018)
Python: 3.6.8

Traceback

Traceback (most recent call last):
  File "[...]/renku/cli/_exc.py", line 100, in main
    result = super().main(*args, **kwargs)
  File "[...]/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "[...]/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "[...]/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "[...]/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "[...]/renku/cli/_client.py", line 80, in new_func
    result = ctx.invoke(method, client, *args, **kwargs)
  File "[...]/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "[...]/renku/cli/run.py", line 195, in run
    for key in mapped_std.keys()},
  File "[...]/subprocess.py", line 287, in call
    with Popen(*popenargs, **kwargs) as p:
  File "[...]/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "[...]/subprocess.py", line 1364, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'PYTHONPATH=:/home/jovyan/cifar10-project/src': 'PYTHONPATH=:/home/jovyan/cifar10-project/src'

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions