From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED.3d73Ybk3C5U4I2t8lv+lAQ.user.gioia.aioe.org!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Advice on best environment for Ada on Windows Date: Thu, 13 Feb 2020 18:36:07 +0100 Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: 3d73Ybk3C5U4I2t8lv+lAQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 X-Notice: Filtered by postfilter v. 0.9.2 Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:58056 Date: 2020-02-13T18:36:07+01:00 List-Id: On 2020-02-13 17:24, Rick Newbie wrote: >> I am surprised by this statement. I use mainly GPS, emacs sometimes. I >> have no problem with it. Are you using a recent version? There were some >> issues with the early versions, but they are long gone. > > Thanks I believe that lots of the problems come from the incorrect > Python installation it does. I had to fix environment variables and even > correct syntax errors in a script to get the debugger running at all and > then I get sometimes other error messages from Python scripts. I don't > know the language so I can't fix it all. > > Perhaps you are using the Pro version and it is better or you are using > Linux and it's better integrated there but under Windows the Community > edition needs some polishing to work right. GNAT installs a copy of Python in its the same installation directory, e.g. python27.dll is in C:\GNAT\2019\bin. Note that Python versions are incompatible with each other and that might be a reason you have problems. Though I wonder how you managed that. Python DLL is loaded from the same directory as GPS, that is Windows loader default behavior difficult to circumvent. In fact, since Python is so poorly standardised, a lot of applications install their own Python copy, just like GNAT does. If you search your computer for python*.dll you will find lots of them. I have a dozen of. So if something is broken then likely in the directories relative to C:\GNAT\2019 which Python uses. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de