[Python] Robot Framework - can't find python module

Discussão em 'Python' iniciado por Stack, Novembro 21, 2024.

  1. Stack

    Stack Membro Participativo

    I decided to copy exactly the tutorial found here but somehow when i run it i keep getting the error


    "[ ERROR ] Error in file 'C:\Users\path\to\tests': Importing test library 'ExampleLibrary' failed: ModuleNotFoundError: No module named 'ExampleLibrary' "
    ​

    Now i tried both with the .py extension and without, just in case, but for some reason it doesn't work. Both files are in the same folder.

    I have python 3 installed. I only copied the .tsv (renamed to a .robot) and .py files.

    I don't understand why it doesn't work. If i work with only .robot files everything is fine.

    Continue reading...

Compartilhe esta Página