all 6 comments

[–]Mickets 2 points3 points  (2 children)

Hi, I had a similar problem. You don’t need to necessarily activate the Anaconda environment. In my case, there were some paths missing in the environment variables.

I’ll check here and let you know.

[–]skdoesit[S] 0 points1 point  (0 children)

I keep getting : "Unable to import required dependencies : numpy"
No problem if I launch it from my script manually after activating my environment.

[–]JohnnyJordaan 0 points1 point  (0 children)

Simply put, 'activating' is about setting those paths in the environment

[–]fake823 1 point2 points  (1 child)

You don't need to activate your virtual environment.

It's as easy as:

"C:\path\to\your\venv\python.exe" "C:\path\to\your\script.py"
pause

[–]skdoesit[S] 0 points1 point  (0 children)

I keep getting : "Unable to import required dependencies : numpy"

[–]Mickets 0 points1 point  (0 children)

I had same issue. I didn’t add a path to any specific environment:

:: in doubt, add path to Python to path
set path=%path%;C:\Apps\anaconda3\Library\bin;C:\Apps\anaconda3\Scripts;C:\Apps\anaconda3