offero / txtelegraf

Twisted Python Client for Telegraf/InfluxDB
Apache License 2.0
1 stars 3 forks source link

Unable to pip install #1

Closed mattwwarren closed 7 years ago

mattwwarren commented 7 years ago

Hi there. Super excited to use this in our async python environment but I can't seem to pip install the package.

Failed to build txtelegraf
Installing collected packages: txtelegraf
  Running setup.py install for txtelegraf ... error
    Complete output from command /home/mwarren/workspace/venv/myenv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-gyGYyg/txtelegraf/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-u_6F6B-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/mwarren/workspace/venv/myenv/include/site/python2.7/txtelegraf:
    running install
    running build
    running build_py
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-gyGYyg/txtelegraf/setup.py", line 44, in <module>
        'Programming Language :: Python :: Implementation :: PyPy',
      File "/usr/lib64/python2.7/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/home/mwarren/workspace/venv/myenv/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/usr/lib64/python2.7/distutils/command/install.py", line 568, in run
        self.run_command('build')
      File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib64/python2.7/distutils/command/build.py", line 127, in run
        self.run_command(cmd_name)
      File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/home/mwarren/workspace/venv/myenv/lib/python2.7/site-packages/setuptools/command/build_py.py", line 46, in run
        self.build_packages()
      File "/usr/lib64/python2.7/distutils/command/build_py.py", line 373, in build_packages
        self.build_module(module, module_file, package)
      File "/home/mwarren/workspace/venv/myenv/lib/python2.7/site-packages/setuptools/command/build_py.py", line 65, in build_module
        package)
      File "/usr/lib64/python2.7/distutils/command/build_py.py", line 334, in build_module
        "'package' must be a string (dot-separated), list, or tuple")
    TypeError: 'package' must be a string (dot-separated), list, or tuple

    ----------------------------------------
Command "/home/mwarren/workspace/venv/myenv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-gyGYyg/txtelegraf/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-u_6F6B-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/mwarren/workspace/venv/myenv/include/site/python2.7/txtelegraf" failed with error code 1 in /tmp/pip-build-gyGYyg/txtelegraf/
(myenv) [auctioning@marshall-point] ~/workspace/py-scrapyd-lib/myenv >$