bjerva / cwi18

Repository for https://www.aclweb.org/anthology/W18-0518/
Apache License 2.0
0 stars 0 forks source link

Running from command line #17

Closed bjerva closed 6 years ago

bjerva commented 6 years ago

Maybe you have a quick fix for this, I haven't really worked much with modules:

$ python experiments/experiment.py
Traceback (most recent call last):
  File "experiments/experiment.py", line 1, in <module>
    from features.featurize import featurize, feature_compatibility
ModuleNotFoundError: No module named 'features'
jbingel commented 6 years ago

When you're in the src folder, you can do python -m experiments.experiment (running the script as a module)

bjerva commented 6 years ago

Awesome, thanks!