Hi sir, Thanks a lot for your help On Thu, Jun 6, 2019 at 10:25 PM Chentir MT <[email protected]> wrote:
> (I posted this question on stack overflow but I hope being more lucky here) > > > 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) > <https://stackoverflow.com/questions/33709391/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 > <https://stackoverflow.com/questions/28840880/pythonnet-filenotfoundexception-unable-to-find-assembly/28856382>) > reported similar issue using clr, but I can't find: > Properties-->General-->Unblock > > Thanks for your help > > -- > You received this message because you are subscribed to the Google Groups > "spyder" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/spyderlib. > To view this discussion on the web visit > https://groups.google.com/d/msgid/spyderlib/1e75b691-7322-4f48-ab10-4bb3c497278b%40googlegroups.com > <https://groups.google.com/d/msgid/spyderlib/1e75b691-7322-4f48-ab10-4bb3c497278b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/spyderlib. To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/CAOSYzy3YeReJO5Y_mxG9_qsZ0%2BFvimhfoK_y760aHBmCR9hRBA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
