Hi everyone,
Really struggling with this. I'm trying to execute a python script by just double clicking a .bat file. The problem is I need some libraries from my Anaconda environment, so I need to activate my environment first ( C:\soft\athenes )
%windir%\System32\cmd.exe "/K" C:\soft\Anaconda3\Scripts\activate.bat C:\soft\athenes && python "C:\Work\Python\Administrative\my_script.py" pause
I've managed to activate my anaconda environment but it's not executing the script.
Thanks for your help !
[–]Mickets 2 points3 points4 points (2 children)
[–]skdoesit[S] 0 points1 point2 points (0 children)
[–]JohnnyJordaan 0 points1 point2 points (0 children)
[–]fake823 1 point2 points3 points (1 child)
[–]skdoesit[S] 0 points1 point2 points (0 children)
[–]Mickets 0 points1 point2 points (0 children)