zhaolong1990ok / fastdfs

Automatically exported from code.google.com/p/fastdfs
GNU General Public License v3.0
0 stars 0 forks source link

python客户端安装失败 #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
python setup.py install

C:\fdfs_client-py-1.2.6>python setup.
py install
running install
running build
running build_py
creating build
creating build\lib.win-amd64-2.6
creating build\lib.win-amd64-2.6\fdfs_client
copying fdfs_client\client.py -> build\lib.win-amd64-2.6\fdfs_client
copying fdfs_client\connection.py -> build\lib.win-amd64-2.6\fdfs_client
copying fdfs_client\exceptions.py -> build\lib.win-amd64-2.6\fdfs_client
copying fdfs_client\fdfs_protol.py -> build\lib.win-amd64-2.6\fdfs_client
copying fdfs_client\fdfs_test.py -> build\lib.win-amd64-2.6\fdfs_client
copying fdfs_client\storage_client.py -> build\lib.win-amd64-2.6\fdfs_client
copying fdfs_client\tracker_client.py -> build\lib.win-amd64-2.6\fdfs_client
copying fdfs_client\utils.py -> build\lib.win-amd64-2.6\fdfs_client
copying fdfs_client\__init__.py -> build\lib.win-amd64-2.6\fdfs_client
running build_ext
building 'fdfs_client.sendfile' extension
Traceback (most recent call last):
  File "setup.py", line 37, in <module>
    setup(**sdict)
  File "C:\Python26\lib\distutils\core.py", line 152, in setup
    dist.run_commands()
  File "C:\Python26\lib\distutils\dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "C:\Python26\lib\distutils\dist.py", line 995, in run_command
    cmd_obj.run()
  File "C:\Python26\lib\distutils\command\install.py", line 577, in run
    self.run_command('build')
  File "C:\Python26\lib\distutils\cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "C:\Python26\lib\distutils\dist.py", line 995, in run_command
    cmd_obj.run()
  File "C:\Python26\lib\distutils\command\build.py", line 134, in run
    self.run_command(cmd_name)
  File "C:\Python26\lib\distutils\cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "C:\Python26\lib\distutils\dist.py", line 995, in run_command
    cmd_obj.run()
  File "C:\Python26\lib\distutils\command\build_ext.py", line 340, in run
    self.build_extensions()
  File "C:\Python26\lib\distutils\command\build_ext.py", line 449, in build_exte
nsions
    self.build_extension(ext)
  File "C:\Python26\lib\distutils\command\build_ext.py", line 499, in build_exte
nsion
    depends=ext.depends)
  File "C:\Python26\lib\distutils\msvc9compiler.py", line 458, in compile
    self.initialize()
  File "C:\Python26\lib\distutils\msvc9compiler.py", line 368, in initialize
    vc_env = query_vcvarsall(VERSION, plat_spec)
  File "C:\Python26\lib\distutils\msvc9compiler.py", line 284, in query_vcvarsal
l
    raise ValueError(str(list(result.keys())))
ValueError: [u'path']

环境:
windows7 64位+python 2.6.6

Original issue reported on code.google.com by yibin.net on 29 Aug 2012 at 2:14

GoogleCodeExporter commented 9 years ago
sendfile这个组件需要linux环境....
python客户端貌似只能在linux下面用.

Original comment by YaoMing...@gmail.com on 25 Jun 2013 at 3:09