Recently, I discovered Anaconda, and that’s what I recommend now.īased on the open source Conda packaging system, Anaconda is the best Python distribution I have found till now. Why am I telling you this? To show you how hard getting Python running can be on Windows. I had to reinstall ActiveState Python, remove the libraries, and then uninstall it again. The path to Python libraries must have been put in the registry or something, because even when I deleted the folders, it still looked for them in the Roaming folders. I finally realised that ActiveState was to blame. I blamed Conda and spent weeks investigating obtuse error messages. Anyway, even after installing a different Python build (from Conda, see below), I kept getting library clashes which I couldn’t trace. These libraries take precedence over the local files (maybe due it being higher on the path hierarchy). I decided to re-install Python, and that’s when I hit problems.įor some stupid reason, ActiveState install libraries in the C:\users\\roaming\ region. But then I tried to install OpenCv, and got problems with versions. It also makes it easy to install packages, and for a long time, this is what I used. The version from ActiveState: ActiveState have a version of Python, and it’s a lot more stable than the official version. I didn’t find it very stable, and even installing basic things like Virtualenv gave me problems.Ģ. The official from : Especially on Windows, this is good only for learning. Here are some of the few Python versions I’ve tried:ġ. For my upcoming course on Python, I needed a lot of third party libraries, and I found that Python’s packaging system is really broken. All I meant was, in this day and age, it’s a shame there is no good packager for Python on Windows).īut I found that as soon as you try to do anything more complicated, like install libraries which need to be compiled (like numpy or scipy), the official build starts falling down. It is not, and I apologise if it came out that way. (Note: Lots of people have taken the previous sentence as an insult. If you plan to just stick to solving Project Euler or other such toy problems, then the official site is good enough. “But Mr T,” you say, “what’s the problem? You go to and just download it. If you have every tried to use Python beyond toy problems on Windows, you will have struggled with library clashes, 32/64 bit versions, ghost libraries (that seemed to be installed, but can’t be called).Īs someone who uninstalled and reinstalled Python eight times in the last four weeks, let me tell you, getting Python working perfectly on Windows isn’t easy.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |