On 12/7/2015 12:15 PM, Anupam Mediratta wrote:
Hello,
I have to use python 3.5 in my use case and one of the packages I use
(gensim), in turn uses smart_open (https://github.com/piskvorky/smart_open/)
smart_open depends on boto and boto fails on my machine running ubuntu
15.10.
So in order for me to be able to run gensim, I need to be able to migrate
smart_open from boto to boto3 (boto3 works fine with python 3 and ubuntu
15.10).
There is an open github issue:
https://github.com/piskvorky/smart_open/issues/43
I am not sure how to go about doing this migration. If someone has any
directions or guidelines I will appreciate.
Is boto3 installed and imported as 'boto' or 'boto3'? If the former,
just install boto3 (into site-packages/boto) and 'import boto' in
smart_open will just work. This would be the same in installing pillow
as a drop in replacement for PIL, since pillow is installed in a
directory named 'PIL'. If the latter, change the import statement. Any
other changes would depend on boto3 having a different api from boto.
--
Terry Jan Reedy
--
https://mail.python.org/mailman/listinfo/python-list