![]() ![]() Versions/2.6/bin/python (for architecture ppc): Mach-O executable ppc ![]() Versions/2.6/bin/python: Mach-O universal binary with 2 architectures To examine binary files in the package contents $ gunzip -c /Volumes/Universal\ MacPython\ 2.6/MacPython.mpkg/Contents/Packages/PythonUnixTools-2.6.pkg/Contents/ | pax Use gunzip and pax to unpack the package contents to a local directory, e.g.: How I determined the architecture the contents of those. dmg installs to /usr/local/bin/python, so try: Then you could try specifying the Python you're using explicitly on the command line. (How do I know? See below!) So if you use those releases together you should be fine.īut you're not fine - so my guess is you're not using the version of Python from the 2.6. The same is true of the regular numpy and scipy. (Specifically, it's a universal binary containing both i386 and ppc versions). Looks like there's an unofficial 64-bit Numpy available for Snow Leopard. Sounds as though you might be trying to use a 32-bit library from a 64-bit Python. If there is any error while importing the module then is not installed properly. Make the following import in your python terminal to verify if the installation has been done properly: You must have developer tools for XCode MacOS installed in your system Go inside the folder and Enter the following command to install the package. : Extract the downloaded package using the following command. Method 2: Using setup.py to install Numpyįollow the below steps to install the Numpy package on macOS using the setup.py file:ĭownload the latest source package of Numpy for python3 from here. Upgrade your pip to avoid errors during installation. Check if pip3 and python3 are correctly installed. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |