Python bot failing to compile with requirements.txt

Hi

I just tried to upload my python2 bot and it generated the following error during build:

24-05-2017 13:20:10:703 - I: Found requirements.txt, doing install
24-05-2017 13:20:10:703 - I: Executing process pip install -r requirements.txt
24-05-2017 13:20:10:703 - E: Failed to run compiler for bot bomby in directory C:\Challenge2017\Bot Submissions\Compiled\32\Extract\bombySystem.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at BotRunner.Util.ProcessHandler.StartProcessCommon()
at BotRunner.Util.ProcessHandler.RunProcess()
at TestHarness.TestHarnesses.Bot.Compilers.PythonCompiler.RunPackageManager()
at TestHarness.TestHarnesses.Bot.BotCompiler.Compile()

I suspect it might be that pip.exe is not in the current path?

Many Thanks
Christian

Christian,
Out of curiosity, are you using numpy? I’m trying to use it with Python 3.

Hi Christian,

You are correct, it seems like it is failing to find the pip executable. I will have a look and let you know.

Hi Christian,

Can you try uploading your bot again please?

Working now, thank you :slight_smile:

Yes I am, I just added ‘numpy’ to a requirements.txt…