ghorwin / FMICodeGenerator

A Code Generator that creates native C/C++ code to build Functional Mock-Up Units (FMU) with support for FMI version 2.0 (rollback)
BSD 3-Clause "New" or "Revised" License
51 stars 25 forks source link

Scripts crashes when executed from repository root #10

Closed ghorwin closed 5 years ago

ghorwin commented 5 years ago

Steps to reproduce:

  1. change to repository root
  2. testrun script with:

    scripts/main.py test0001

Output:

=> ./scripts/main.py testie
Traceback (most recent call last):
  File "./scripts/main.py", line 4, in <module>
    from FMIGenerator import FMIGenerator
  File "/Users/ghorwin/git/FMICodeGenerator/scripts/FMIGenerator.py", line 8, in <module>
    import send2trash as st
ImportError: No module named send2trash