Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 10-01-2018 12:41 AM - edited 09-16-2022 08:31 AM
Hi Cloudera employees,
please can somebody have a look at this error, why the new installation fails?
OS: CentOS Linux release 7.5.1804 (Core)
Thanks
sudo pip install cloudera-director-python-client
copying build/lib/cloudera/director/v9/models/warning_info.py -> build/bdist.linux-x86_64/wheel/cloudera/director/v9/models
running install_egg_info
Copying cloudera_director_python_client.egg-info to build/bdist.linux-x86_64/wheel/cloudera_director_python_client-6.0.0-py2.7.egg-info
running install_scripts
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-rWjXLN/cloudera-director-python-client/setup.py", line 47, in <module>
"""
File "/usr/lib64/python2.7/distutils/core.py", line 152, 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 "/usr/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 237, in run
self.egg2dist(self.egginfo_dir, distinfo_dir)
File "/usr/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 344, in egg2dist
pkg_info = pkginfo_to_metadata(egginfo_path, pkginfo_path)
File "/usr/lib/python2.7/site-packages/wheel/metadata.py", line 88, in pkginfo_to_metadata
for key, value in generate_requirements({extra: reqs}):
File "/usr/lib/python2.7/site-packages/wheel/metadata.py", line 67, in generate_requirements
for new_req in convert_requirements(depends):
File "/usr/lib/python2.7/site-packages/wheel/metadata.py", line 36, in convert_requirements
spec = requires_to_requires_dist(parsed_requirement)
File "/usr/lib/python2.7/site-packages/wheel/metadata.py", line 21, in requires_to_requires_dist
if requirement.url:
AttributeError: Requirement instance has no attribute 'url'
----------------------------------------
Failed building wheel for cloudera-director-python-client
Running setup.py clean for cloudera-director-python-client
Failed to build cloudera-director-python-client
Installing collected packages: urllib3, six, certifi, python-dateutil, cloudera-director-python-client
Found existing installation: urllib3 1.10.2
Uninstalling urllib3-1.10.2:
Successfully uninstalled urllib3-1.10.2
Found existing installation: six 1.9.0
Uninstalling six-1.9.0:
Successfully uninstalled six-1.9.0
Running setup.py install for cloudera-director-python-client ... done
Successfully installed certifi-2018.8.24 cloudera-director-python-client-6.0.0 python-dateutil-2.7.3 six-1.11.0 urllib3-1.23
Created 10-04-2018 07:11 AM
Created 10-01-2018 10:42 AM
Was this a local install of CentOS 7.5 from source media, or a VM running in a public cloud? If it's a cloud VM, can you point to the specific AMI or VM Image that was used?
Created 10-01-2018 11:41 PM
Created 10-03-2018 10:00 AM
I tried the same on a vm provisioned from a similar AMI in a US region and I'm not seeing any errors. Is this happening consistently, even on new VMs?
Created 10-04-2018 07:11 AM