Python TypeError: encoding with 'cp1252' codec failed

Python TypeError: encoding with 'cp1252' codec failed

我在 运行 任何安装命令时收到此错误:

Complete output from command python setup.py egg_info:
    TypeError: 'tuple' object is not callable

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\TOSHIB~1\AppData\Local\Temp\pip-req-build-hztbm9lf\setup.py", line 13, in <module>
        include_dirs=[numpy.get_include()])]
      File "c:\python34\lib\site-packages\setuptools\__init__.py", line 129, in setup
        return distutils.core.setup(**attrs)
      File "c:\python34\lib\distutils\core.py", line 148, in setup
        dist.run_commands()
      File "c:\python34\lib\distutils\dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "c:\python34\lib\distutils\dist.py", line 971, in run_command
        log.info("running %s", command)
      File "c:\python34\lib\distutils\log.py", line 44, in info
        self._log(INFO, msg, args)
      File "c:\python34\lib\distutils\log.py", line 33, in _log
        msg = msg.encode(encoding, "backslashreplace").decode(encoding)
    TypeError: encoding with 'cp1252' codec failed (TypeError: 'tuple' object is not callable)

本例安装命令为

pip install git+https://github.com/coreylynch/pyFM

我做错了什么?

我在 python 3.4.2、pip 10.0.1 和 Windows 10.

提前致谢。

You can download the wheel package of pyfm from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyfm

只是 运行 wheel 包作为 python 安装 .whl 让我知道结果