4/22/2021 0 Comments Gohlke Python Packages
This is a source only release, because the source pygame-1.9.4.tar.gz release contained build artifacts.
Gohlke Python Packages Install It FirstNOTE: if you had pygame 1.7.1 installed already, please uninstall it first.Either using the uninstall feature - or remove the files: c:python25libsite-packagespygame.We changed the type of installer, and there will be issues if you dont uninstall pygame 1.7.1 first (and all old versions). There are some pre release binaries for 64bit windows, and for python 2.7 at. You can also install 1.9.1 from source with python setup.py install (see Compilation page). For example, Node has a Mac installer (and Windows) but you have to build it with Linux. If you have every tried to use Python beyond toy problems on Windows, you will have struggled with library clashes, 3264 bit versions, ghost libraries (that seemed to be installed, but cant be called). All I meant was, in this day and age, its a shame there is no good packager for Python on Windows). For my upcoming course on Python, I needed a lot of third party libraries, and I found that Pythons packaging system is really broken. It also makes it easy to install packages, and for a long time, this is what I used. But then I tried to install OpenCv, and got problems with versions. I decided to re-install Python, and thats when I hit problems. These libraries take precedence over the local files (maybe due it being higher on the path hierarchy). Anyway, even after installing a different Python build (from Conda, see below), I kept getting library clashes which I couldnt trace. I blamed Conda and spent weeks investigating obtuse error messages. 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. Why am I telling you this To show you how hard getting Python running can be on Windows. Recently, I discovered Anaconda, and thats what I recommend now. For one, it comes with all the scientific libraries like numpy, scipy etc preinstalled, so you dont have to worry about messing with compiling them yourself. But its a lot better than anything out there, and the only one I would recommend, at least on Windows. If there is no Conda package, try pip, and then compiling from source (but never use easyinstall). Avoid distributions with fancy install methods (Im looking at you, ActiveState). Install the Anaconda build, preferably 32 bit (as some libraries arent available for 64 bit, and you will get library clashes). The main program installers work without much bother but as soon as you start playing with third party libraries you will get issues. You might want to have a look at this site (if you havent already). I was looking at a job posting by a famous company for Ruby developers, and the advert basically said You must be good with Linux, as Ruby doesnt work on Windows (their words, not mine). While they work, my problem is the same: Id rather have a centralised package manager than having to installuninstall libraries from a dozen locations. It makes it easier to manage once you have more than a dozen libraries. For my course, I will be using a VM running Linux, but Ive been asked by many people for help on Windows, so I thought Id give it a try.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |