Revision history [back]
A better solution is to create a batch file wrap_anaconda.bat with the following contents:
@echo off
call %USERPROFILE%\Anaconda3\Scripts\activate
python %*
You will need to change the second line to match where Anaconda is installed on your system.
Then set Python Executable in Wing's Project Properties (from the Project menu) to the full path to that batch file. This is essentially what I would have expected Anaconda to do on its own. No other configuration is necessary and the solution also works on the command line or from other IDEs.
For other options see https://wingware.com/doc/howtos/anaconda
A better solution is to create a batch file wrap_anaconda.bat with the following contents:
You will may need to change the second line value of ANACONDA_DIR to match where Anaconda is installed on your system.
Then set Python Executable in Wing's Project Properties (from the Project menu) to the full path to that batch file. This is essentially what I would have expected Anaconda to do on its own. No other configuration is necessary and the solution also works on the command line or from other IDEs.
For other options see https://wingware.com/doc/howtos/anaconda
A better solution is to create a batch file wrap_anaconda.bat anaconda.bat with the following contents:
@echo off set ANACONDA_DIR=%USERPROFILE%\Anaconda3 set PATH=%PATH%;%ANACONDA_DIR%;%ANACONDA_DIR%\DLLS;%ANACONDA_DIR%\Library;%ANACONDA_DIR%\Library\bin;%ANACONDA_DIR%\Scripts;%ANACONDA_DIR%\mingw-w64\bin %ANACONDA_DIR%\python.exe %*
You may need to change the value of ANACONDA_DIR to match where Anaconda is installed on your system.
Then set Python Executable in Wing's Project Properties (from the Project menu) to the full path to that batch file. This is essentially what I would have expected Anaconda to do on its own. No other configuration is necessary and the solution also works on the command line or from other IDEs.