Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with pip install with Python 3.4 #3281

Closed
mcleu opened this issue Jul 20, 2014 · 1 comment
Closed

Error with pip install with Python 3.4 #3281

mcleu opened this issue Jul 20, 2014 · 1 comment

Comments

@mcleu
Copy link

mcleu commented Jul 20, 2014

Hi Matplotlib community. I come seeking your help a second time.
I've just built a new computer, so I took the occasion to start afresh and use Python 3.X
I'm running Windows 8.1, 32 bit.

I downloaded Python 3.4 from python.org
I've downloaded and installed Visual Studio 2010 (as 3.X uses 2010 as opposed to 2008 for 2.X)
So far, I've managed to install numpy, pyserial, and pyparsing using pip install in command prompt. Trying to install Matplotlib everything goes well for couple minutes until I am hit with this error. I hopw some of you can help me find a solution.

Skipping implicit fixer: buffer

Skipping implicit fixer: idioms

Skipping implicit fixer: set_literal

Skipping implicit fixer: ws_comma

running build_ext

building 'matplotlib.ft2font' extension

creating build\temp.win32-3.4

creating build\temp.win32-3.4\Release

creating build\temp.win32-3.4\Release\src

creating build\temp.win32-3.4\Release\CXX

C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\cl.exe /c /nologo /Ox /MD /
W3 /GS- /DNDEBUG -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DPYC
XX_ISO_CPP_LIB=1 -DPYCXX_PYTHON_2TO3=1 -IC:\Python34\lib\site-packages\numpy\cor
e\include -I. -IC:\Python34\include -IC:\Python34\include /Tpsrc/ft2font.cpp /Fo
build\temp.win32-3.4\Release\src/ft2font.obj

ft2font.cpp

C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\xlocale(323) : warning
C4530: C++ exception handler used, but unwind semantics are not enabled. Specify
 /EHsc

c:\users\michael\appdata\local\temp\pip_build_michael\matplotlib\src\ft2font.h(1
6) : fatal error C1083: Cannot open include file: 'ft2build.h': No such file or
directory

error: command 'C:\\Program Files\\Microsoft Visual Studio 10.0\\VC\\BIN\\cl.exe
' failed with exit status 2

----------------------------------------
@tacaswell
Copy link
Member

You need to install the freetype development libraries.

Questions like this are better addressed to the mailing list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants