I am having hard time to effectively switch between 64bit Python and 32bit.
1- I followed steps described here (Using multiple Python engines (32Bit/64bit and 2.7/3.5))
2- I successfully got a 2nd channel Python 3.6 32bit on my Anaconda Navigator
3- When I start Spyder, it is still running on 64bit interpreter
4- I forced the interpreter to launch the 32bit from: "Tools-->Python Interpreter-->Use the following Interpreter" then I navigate to the 32bit python.exe file created by the 2nd channel
Yet it is still running on 64bit (I confirmed on spyder menu Help --> About Spyder... as well as by typing python
in anaconda prompt)
I need the 32bit python to call some DLLs using ctypes. If I don't do that I get the following error message:
OSError: [WinError 193] %1 is not a valid Win32 application
I tried to load a different DLL (64bit) and I didn't have any issues
If using pythonnet (clr), I am getting this error message:
FileNotFoundException: Unable to find assembly
Note: this post (PythonNet FileNotFoundException: Unable to find assembly) reported similar issue using clr, but I can't find: Properties-->General-->Unblock
Thanks for your help