Jan 25, 2015 - The Python for Mac OS X installers downloaded from this website. The current python installations for OS X do not recognize the latest ActiveTcl version (namely 8.6). Ran IDLE, got warning, 'The version of Tcl/Tk (8.5.9) in use may be unstable. (and seeing the same $PATH variable information as the original poster). I just downloaded and installed Python 3.5. So far I have experienced any issues using it from terminal. However, the install created a folder in Applications folder, and it contains among other things: IDLE.app Python Launcher.app I have been using BBEdit and terminal to learn python, but I want to use IDLE, mostly to the small window size, when working through the python tutorial online. I saw various warnings regarding issues with the default, already installed Tk 8.5, and followed the link to download and install Tk 8.6. Both before and after I installed Tk 8.6, I get this warning when I open IDLE: >> WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable. Visit for current information. I puzzled over this for a bit, googled around only to find that others had experienced the same concern, however, no answers had been provided. I finally looked at the About IDLE dropdown and the little graphics window, to me, to show that IDLE is still using Tk 8.5 rather than 8.6. So how do I get the IDLE application to shift over to Tk 8.6? Hello danuke, It seems that with every post, you open a bigger and bigger can-o-worms. Retrieved August 23, 2015. Retrieved July 19, 2009. December 9, 2006. December 4, 2013. П™‚ All of these software packages are designed for a Linux world. The user just runs 'yum.something.' Or 'apt-get.something else.' To install software or update a system-provided version. Sometimes it works, and sometimes the user has to go back and install a newer, or older, version of Ubuntu/Centos etc. To get it all working. There is a more 'old school' way - you can install the software from source. In a really old-school way, people used to actually install test builds of newer versions, but in custom locations, just to test. Few people do that anymore. Few people even know how to build anymore. But if you are going to use this software on a Mac, you have to adopt one of these strategies. You could go the package manager route with MacPorts, Fink, or now Homebrew and just type 'brew.something.' OS X won't let you replace system versions, so that option is off the table. That's fine though because that would surely break stuff. But you can still install from source and select exactly what versions of software you want to build with. Don't get me wrong - it's not easy. It is very difficult in fact. Each project has a different build system. Each one is designed for Linux, with Mac users being an afterthought at best, but usually a nonthought. Ultimately it is not so much building software as creatively hacking it. I have been doing that at work. It has taken me about two weeks to get the entire GDAL system built, with postreSQL, a custom Python, etc. Ideally, you should do this for any open source software you build on the Mac. Never use Apple's system provided software for anything unless you have no option. Apple DOES NOT test this stuff. Apple has crowd sourced all testing and considers it to be your job, not theirs. Apple will pluck code from an untested, development branch of any open source package and release it to 800 million customers in less than 3 weeks. I know this because I've seen them do it. It broke one of my apps. But there is no easy solution. Each project is different. You will have to research each project and how to control where it builds from. I can help if it is something I've built lately. But I have no intention of bothering with a bleeding-edge Python3 or reliving the '80s with Tcl/Tk. I would never say this in polite company, because Python is just crushingly hip, but it *****. It is a joke compared to Perl. But I'm a pragmatic fellow so I know Perl won't get anyone, including me, a decent job. So I'll use junk Python instead because it pays the bills. That's how software works today. Now the only thing that I am doing is learning Python mostly to understand the workings of SageMath while I play with it. All the stuff that I have gotten comes with as a.dmg installer; however; the one thing that I missed was that given all the Apple / Python issues, I needed to dl and install Tk 8.5.18 vice Tk 6. And in keeping with Can-O-Wurms, the kind folks at Python say that will all change with Python 3.6. Oh, and by the way, I do have two Pearl books that are next inline on my book case. So anyway, once I installed the other 8.5, IDLE opens with no warnings and is 'using' Tk 8.5.18. I am hoping that all is well with the world for now.
0 Комментарии
Оставить ответ. |
Details
АвторНапишите что-нибудь о себе. Не надо ничего особенного, просто общие данные. Архивы
Март 2019
Категории |