Reputation: 1402
I am trying to install pydoop via following command
pip3.4 install pydoop
The installation is interrupted with following error
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/tmp/pip-build-jwy57_9u/pydoop/setup.py", line 41
print 'using setuptools version', setuptools.__version__
^
SyntaxError: Missing parentheses in call to 'print'
I think the error has to do with mismatch in python version as there should be parantheses in call to 'print' in python3.
I am able to install other packages using pip3.4 install
Upvotes: 2
Views: 2824
Reputation: 52860
As sgp mentioned, pydoop is only supported by Python 2. I suggest to preview the slides here and particularly
where comparison to Python and Java for Hadoop. Because Hadoop is natively written in Java, the Python community on hadoop is far smaller.
where the native implementation in Java outperforms the other ones.
Other options contain
use Java with Hadoop
or other libraries such as Hadoopy, mrjob and dumbo: Hadoopy not mentioning Python version explicitly on its 2-4 years old-dated repos in github, mrjob supports Python 3 as well by this and dumbo's websites are down from github here.
Upvotes: 0