Repository navigation
Closed
Description
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
dhermes commentedon Dec 3, 2014
It gets installed from
pipevery timetoxruns so I don't think this is a "valid" issue.Searching for
--single-version-externally-managedyielded this:http://stackoverflow.com/a/15258644/1068170
suggesting an out of date version of
pip.To check I ran
and had no issues.
silvolu commentedon Dec 3, 2014
And I just tried and I can install on both my workstation and my Mac.
tseaver commentedon Dec 3, 2014
Installs cleanly on Ubuntu 12.04:
silvolu commentedon Dec 15, 2014
Closing because we cannot reproduce. Please re-open the issue if needed.
chore(deps): update all dependencies (#402)
chore(python): upgrade gcp-releasetool in .kokoro [autoapprove] (#402)
docs: Fix formatting of request arg in docstring (#402)
fix: increased timeout to 600 (#402)
6 remaining items
feat: Add PeeredNetworkIpRange to NetworkConfigs message (#402)
chore(deps): update actions/checkout action to v3 (#402)
chore(deps): update actions/checkout action to v3 (#402)
chore: add default_version and codeowner_team to .repo-metadata.json (#…
tests: allow prerelease deps on Python 3.9 (#402)
Revert "tests: allow prerelease deps on Python 3.9 (#402)" (#406)
feat: Make GAPIC Bazel rules production ready (#402)
chore: remove unused files (#402)
chore(deps): update all dependencies (#402)
feat: new transaction options for datastoreV1 (#402)
fix: move to using insecure grpc channels with emulator (#402)
chore: release 1.8.1 (#402)
chore: rename rst files to avoid conflict with service names (#402)
fix: Ensure consistency check in test runs even if expected error occ…
chore(deps): update dependency google-cloud-testutils to v0.3.0 (#402)