SourceForge logo
SourceForge logo
Menu

matplotlib-devel

From: Michael K. <kau...@or...> - 2013年11月19日 15:07:30
Hi all,
I'm building matplotlib from source (commit 0e7daad6a28160f8a6c5abb, 
though v1.3.x also dies this way...) on Mavericks with dependencies 
installed with macports. I'm getting this error in the setup:
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
 matplotlib: yes [1.4.x]
 python: yes [2.7.6 (default, Nov 18 2013, 22:33:38) [GCC
 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)]]
 platform: yes [darwin]
REQUIRED DEPENDENCIES AND EXTENSIONS
 numpy: yes [version 1.8.0]
 six: yes [using six version 1.4.1]
 dateutil: yes [using dateutil version 1.5]
 tornado: yes [using tornado version 3.1.1]
 pyparsing: yes [using pyparsing version 2.0.1]
 pycxx: yes [Couldn't import. Using local copy.]
 libagg: yes [pkg-config information for 'libagg' could not
 be found. Using local copy.]
 freetype: yes [version 16.2.10]
 png: yes [version 1.5.17]
OPTIONAL SUBPACKAGES
 sample_data: yes [installing]
 toolkits: yes [installing]
 tests: yes [using nose version 1.3.0]
OPTIONAL BACKEND EXTENSIONS
 macosx: yes [installing, darwin]
 qt4agg: no [PyQt4 not found]
 gtk3agg: no [Requires pygobject to be installed.]
 gtk3cairo: no [Requires pygobject to be installed.]
 gtkagg: yes [installing, Gtk: 2.24.22 pygtk: 2.24.0]
 tkagg: yes [installing, version 81008]
 wxagg: no [requires wxPython]
 gtk: yes [installing, Gtk: 2.24.22 pygtk: 2.24.0]
 agg: yes [installing]
 cairo: yes [installing, version 1.10.0]
 windowing: no [Microsoft Windows only]
OPTIONAL LATEX DEPENDENCIES
 dvipng: yes [version 1.14]
 ghostscript: yes [version 9.10]
 latex: yes [version 3.1415926]
 pdftops: yes [version 0.24.3]
running install
running bdist_egg
running egg_info
writing requirements to lib/matplotlib.egg-info/requires.txt
writing lib/matplotlib.egg-info/PKG-INFO
writing namespace_packages to lib/matplotlib.egg-info/namespace_packages.txt
writing top-level names to lib/matplotlib.egg-info/top_level.txt
writing dependency_links to lib/matplotlib.egg-info/dependency_links.txt
Traceback (most recent call last):
 File "setup.py", line 262, in <module>
 **extra_args
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", 
line 152, in setup
 dist.run_commands()
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", 
line 953, in run_commands
 self.run_command(cmd)
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", 
line 972, in run_command
 cmd_obj.run()
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/install.py", 
line 73, in run
 self.do_egg_install()
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/install.py", 
line 93, in do_egg_install
 self.run_command('bdist_egg')
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", 
line 326, in run_command
 self.distribution.run_command(command)
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", 
line 972, in run_command
 cmd_obj.run()
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", 
line 177, in run
 self.run_command("egg_info")
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", 
line 326, in run_command
 self.distribution.run_command(command)
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", 
line 972, in run_command
 cmd_obj.run()
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/egg_info.py", 
line 187, in run
 self.find_sources()
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/egg_info.py", 
line 230, in find_sources
 mm.run()
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/egg_info.py", 
line 296, in run
 self.add_defaults()
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/egg_info.py", 
line 335, in add_defaults
 rcfiles = list(walk_revctrl())
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/sdist.py", 
line 18, in walk_revctrl
 for item in ep.load()(dirname):
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/sdist.py", 
line 58, in _default_revctrl
 for item in finder(dirname):
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/svn_utils.py", 
line 419, in svn_finder
 info = SvnInfo.load(dirname)
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/svn_utils.py", 
line 221, in load
 code, data = _run_command(['svn', 'info', normdir])
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/svn_utils.py", 
line 41, in _run_command
 data = decode_as_string(data, encoding)
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/svn_utils.py", 
line 93, in decode_as_string
 text = text.decode(encoding)
LookupError: unknown encoding:
I should note that I can install ipython from source with no problem.
Anybody have an idea how to solve this? (and why is setup.py looking at 
svn_tools.py?)
Thanks,
M
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /