Skip to content

Getting started example: Python is not Python3 - No such file or directory (os error 2)! #229

@XaverStiensmeier

Description

@XaverStiensmeier

Description
When executing:

s4n create python workflows/calculation/calculation.py --speakers data/speakers_revised.csv --population data/population.csv \> results.csv

I get

⏳ Executing Command: `python workflows/calculation/calculation.py --population data/population.csv --speakers data/speakers_revised.csv`
❌ Error: Could not execute command: `python workflows/calculation/calculation.py --speakers data/speakers_revised.csv --population data/population.csv > results.csv`: No such file or directory (os error 2)!

this can be avoided by using python3 as python is not an installed package:

python
Command 'python' not found, did you mean:
  command 'python3' from deb python3
  command 'python' from deb python-is-python3

In any case the error message is a bit unclear as we don't know what file or directory is missing.

Version
1.1.0

Operating System:
Xubuntu24.04.3 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientbugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions