Problem scenario
You are trying to run Apache Parquet commands. But each command gives this error:
Traceback (most recent call last):
File "/usr/local/bin/parquet", line 11, in <module>
load_entry_point('parquet==1.2', 'console_scripts', 'parquet')()
File "/home/ubuntu/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 570, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/ubuntu/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2750, in load_entry_point
raise ImportError("Entry point %r not found" % ((group, name),))
ImportError: Entry point ('console_scripts', 'parquet') not found
How do you fix this problem?
Solution
1. Remove pip (e.g., with Ubuntu run "sudo apt-get remove python-pip")
2. Reinstall pip (e.g., with Ubuntu run "sudo apt-get install python-pip")
3. Upgrade pip (e.g., with Ubuntu run "sudo easy_install --upgrade pip")