GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Apparently pip install gcloud fails? · Issue #402 · googleapis/google-cloud-python

Apparently pip install gcloud fails? #402

New issue
Copy link
New issue
Copy link
Closed
Closed
Apparently pip install gcloud fails?#402
Copy link
Assignees
silvolu
Labels
🚨This issue needs some love.packagingtriage meI really want to be triaged.

Description

@jgeewax
jgeewax
opened on Dec 3, 2014
Issue body actions

Output from a Googler:

pip install gcloud                                                                                                                                           
Downloading/unpacking gcloud
  Running setup.py egg_info for package gcloud

    warning: no previously-included files matching '*.pyc' found anywhere in distribution
Installing collected packages: gcloud
  Running setup.py install for gcloud

    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/uabbasi/build/gcloud/setup.py", line 44, in <module>
        'Topic :: Internet',
      File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
        dist.run_commands()
      File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 53, in run
        return _install.run(self)
      File "/usr/lib/python2.7/distutils/command/install.py", line 601, in run
        self.run_command('build')
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
        self.run_command(cmd_name)
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/dist-packages/setuptools/command/build_py.py", line 92, in run
        self.build_package_data()
      File "/usr/lib/python2.7/dist-packages/setuptools/command/build_py.py", line 147, in build_package_data
        for package, src_dir, build_dir, filenames in self.data_files:
      File "/usr/lib/python2.7/dist-packages/setuptools/command/build_py.py", line 104, in __getattr__
        self.data_files = files = self._get_data_files(); return files
      File "/usr/lib/python2.7/dist-packages/setuptools/command/build_py.py", line 129, in _get_data_files
        file[plen:] for file in self.find_data_files(package, src_dir)
      File "/usr/lib/python2.7/dist-packages/setuptools/command/build_py.py", line 137, in find_data_files
       + self.package_data.get(package, []))
    TypeError: cannot concatenate 'str' and 'list' objects
    Complete output from command /usr/bin/python -c "import setuptools;__file__='/home/uabbasi/build/gcloud/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file
__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-2uBk4c-record/install-record.txt:
    running install
running build
running build_py
running egg_info
writing gcloud.egg-info/PKG-INFO
writing top-level names to gcloud.egg-info/top_level.txt
writing dependency_links to gcloud.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'gcloud.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
writing manifest file 'gcloud.egg-info/SOURCES.txt'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/uabbasi/build/gcloud/setup.py", line 44, in <module>
    'Topic :: Internet',
  File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 53, in run
    return _install.run(self)
  File "/usr/lib/python2.7/distutils/command/install.py", line 601, in run
    self.run_command('build')
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
    self.run_command(cmd_name)
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/dist-packages/setuptools/command/build_py.py", line 92, in run
    self.build_package_data()
  File "/usr/lib/python2.7/dist-packages/setuptools/command/build_py.py", line 147, in build_package_data

    for package, src_dir, build_dir, filenames in self.data_files:
  File "/usr/lib/python2.7/dist-packages/setuptools/command/build_py.py", line 104, in __getattr__
    self.data_files = files = self._get_data_files(); return files
  File "/usr/lib/python2.7/dist-packages/setuptools/command/build_py.py", line 129, in _get_data_files
    file[plen:] for file in self.find_data_files(package, src_dir)
  File "/usr/lib/python2.7/dist-packages/setuptools/command/build_py.py", line 137, in find_data_files
    + self.package_data.get(package, []))
TypeError: cannot concatenate 'str' and 'list' objects
----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/home/uabbasi/build/gcloud/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --s
ingle-version-externally-managed --record /tmp/pip-2uBk4c-record/install-record.txt failed with error code 1 in /home/uabbasi/build/gcloud
Storing complete log in /root/.pip/pip.log

Activity

Next
  1. dhermes commented on Dec 3, 2014

    @dhermes
    dhermes
    on Dec 3, 2014
    Contributor
    More actions

    It gets installed from pip every time tox runs so I don't think this is a "valid" issue.

    Searching for --single-version-externally-managed yielded this:
    http://stackoverflow.com/a/15258644/1068170
    suggesting an out of date version of pip.

    To check I ran

    $ mkdir tmp
    $ cd tmp/
    $ virtualenv gcloud-venv
    New python executable in gcloud-venv/bin/python
    Installing setuptools, pip...source done.
    $ source gcloud-venv/bin/activate
    (gcloud-venv)$ pip install gcloud
    

    and had no issues.

  2. silvolu commented on Dec 3, 2014

    @silvolu
    silvolu
    on Dec 3, 2014
    Contributor
    More actions

    And I just tried and I can install on both my workstation and my Mac.

  3. tseaver commented on Dec 3, 2014

    @tseaver
    tseaver
    on Dec 3, 2014
    Contributor
    More actions

    Installs cleanly on Ubuntu 12.04:

    $ /opt/Python-2.7.6/bin/virtualenv /tmp/issue402
    New python executable in /tmp/issue402/bin/python
    Installing setuptools, pip...done.
    $ /tmp/issue402/bin/pip install gcloud
    Downloading/unpacking gcloud
    ...
    
      Running setup.py install for pycparser
    
    Successfully installed gcloud httplib2 oauth2client protobuf pycrypto pyopenssl pytz six pyasn1 pyasn1-modules rsa cryptography cffi pycparser
    Cleaning up...
    
  4. silvolu commented on Dec 15, 2014

    @silvolu
    silvolu
    on Dec 15, 2014
    Contributor
    More actions

    Closing because we cannot reproduce. Please re-open the issue if needed.

  5. silvolu
    closed this as completedon Dec 15, 2014
  6. jgeewax
    modified the milestone: This milestone has been deleted on Jan 30, 2015
  7. dhermes
    added
    packaging
    on Dec 31, 2015
  8. yoshi-automation
    added
    🚨This issue needs some love.
    triage meI really want to be triaged.
    on Apr 6, 2020
  9. JustinBeckwith
    assigned
    silvolu
    on Feb 1, 2021
  10. parthea
    added 2 commits that reference this issue on Jun 4, 2023

    chore(deps): update all dependencies (#402)

    3727cf9

    chore(python): upgrade gcp-releasetool in .kokoro [autoapprove] (#402)

    4974929
  11. parthea
    added a commit that references this issue on Sep 20, 2023

    docs: Fix formatting of request arg in docstring (#402)

    83c4afa
  12. vchudnov-g
    added a commit that references this issue on Sep 20, 2023

    fix: increased timeout to 600 (#402)

    456d696
  13. 6 remaining items

  14. parthea
    added a commit that references this issue on Oct 21, 2023

    feat: Add PeeredNetworkIpRange to NetworkConfigs message (#402)

    3caf53a
  15. parthea
    added a commit that references this issue on Aug 21, 2025

    chore(deps): update actions/checkout action to v3 (#402)

    15c34cf
  16. parthea
    added 2 commits that reference this issue on Sep 16, 2025

    chore(deps): update actions/checkout action to v3 (#402)

    c9ac3ed

    chore: add default_version and codeowner_team to .repo-metadata.json (#…

    ddc7986
  17. parthea
    added 8 commits that reference this issue on Nov 22, 2025

    tests: allow prerelease deps on Python 3.9 (#402)

    39654fb

    Revert "tests: allow prerelease deps on Python 3.9 (#402)" (#406)

    7988405

    feat: Make GAPIC Bazel rules production ready (#402)

    e005362

    chore: remove unused files (#402)

    955d830

    chore(deps): update all dependencies (#402)

    6e0698e

    feat: new transaction options for datastoreV1 (#402)

    a42661c

    fix: move to using insecure grpc channels with emulator (#402)

    bf29873

    chore: release 1.8.1 (#402)

    0ad9d86
  18. parthea
    added a commit that references this issue on Mar 2, 2026

    chore: rename rst files to avoid conflict with service names (#402)

    985330e
  19. parthea
    added 2 commits that reference this issue on Mar 9, 2026

    fix: Ensure consistency check in test runs even if expected error occ…

    5b56c04

    chore(deps): update dependency google-cloud-testutils to v0.3.0 (#402)

    c6e57d6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @silvolu
    silvolu

Labels

🚨This issue needs some love.packagingtriage meI really want to be triaged.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.