Src/checkdep_freetype2.c:18:4: error: #error “FreeType version 2.3 or higher is required. #pragma message("Compiling with FreeType version " Src/checkdep_freetype2.c:15:9: note: #pragma message: Compiling with FreeType version FREETYPE_MAJOR.FREETYPE_MINOR.FREETYPE_PATCH. Src/checkdep_freetype2.c:10:10: error: #include expects “FILENAME” or #error "FreeType version 2.3 or higher is required. You may set the MPLLOCALFREETYPE environment variable to 1 to let Matplotlib download it.” Src/checkdep_freetype2.c:3:6: error: #error “FreeType version 2.3 or higher is required. Set build/lib.linux-aarch64-3.6/matplotlib/_version.py to ‘3.2.0rc1’ UPDATING build/lib.linux-aarch64-3.6/matplotlib/_version.py If there is any error while importing the module then is not installed properly.Running matplotlib-3.2.0rc1/setup.py -q bdist_egg -dist-dir /tmp/easy_install-l2nemy08/matplotlib-3.2.0rc1/egg-dist-tmp-mncyi377 Make the following import in your python terminal to verify if the installation has been done properly: import matplotlib Verifying Matplotlib installation on macOS:
Then you may try to install matplotlib-2.1.0 with pip: sudo pip install matplotlib (for python2.7) sudo pip3 install matplotlib (for python3.5). Note: You must have developer tools for XCode MacOS installed in your system cd matplotlib-3.4.3 Before you start - do not forget to remove python-matplotlib with.
Step 3: Go inside the folder and Enter the following command to install the package. Step 2: Extract the downloaded package using the following command. Step 1: Download the latest source package of Matplotlib for python3 from here.
Method 2: Using setup.py to install Matplotlibįollow the below steps to install the Matplotlib package on macOS using the setup.py file: Step 4: Enter the following command to install Matplotlib using pip3.
Step 3: Upgrade your pip to avoid errors during installation. you do not have sudo privileges on the machine you are using), then you can install from source using the -user option: python setup.py install.
Anyway, I’m bombing out trying to update numpy, I have no xlocale.h.