Traceback (most recent call last):


 "Doc2Vec.py", line 7, in <module>

import gensim


 "/usr/local/lib/python3.6/dist-packages/gensim/__init__.py", line 5, in <module>

from gensim import parsing, corpora, matutils, interfaces, models, similarities, summarization, utils
# noqa:F401


 "/usr/local/lib/python3.6/dist-packages/gensim/parsing/__init__.py", line 4, in <module>

from .preprocessing import (remove_stopwords, strip_punctuation, strip_punctuation2,
# noqa:F401


 "/usr/local/lib/python3.6/dist-packages/gensim/parsing/preprocessing.py", line 42, in <module>

from gensim import utils


 "/usr/local/lib/python3.6/dist-packages/gensim/utils.py", line 45, in <module>

from smart_open import smart_open


 "/usr/local/lib/python3.6/dist-packages/smart_open/__init__.py", line 1, in <module>

from .smart_open_lib import *


 "/usr/local/lib/python3.6/dist-packages/smart_open/smart_open_lib.py", line 45, in <module>

from boto.compat import BytesIO, urlsplit, six


 "/usr/lib/python3/dist-packages/boto/__init__.py", line 1216, in <module>

boto.plugin.load_plugins(config)


 "/usr/lib/python3/dist-packages/boto/plugin.py", line 92, in load_plugins

for file in glob.glob(os.path.join(directory, '*.py')):


 "/usr/lib/python3.6/posixpath.py", line 80, in join

a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Traceback (most recent call last):


 "/Users/zed/.pyenv/versions/3.5.1/bin/scrapyd", line 9, in <module>

load_entry_point('scrapyd==1.1.1', 'console_scripts', 'scrapyd')()


 "/Users/zed/.pyenv/versions/3.5.1/lib/python3.5/site-packages/pkg_resources/__init__.py", line 558, in load_entry_point

return get_distribution(dist).load_entry_point(group, name)


 "/Users/zed/.pyenv/versions/3.5.1/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2682, in load_entry_point

return ep.load()


 "/Users/zed/.pyenv/versions/3.5.1/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2355, in load

return self.resolve()


 "/Users/zed/.pyenv/versions/3.5.1/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2361, in resolve

module = __import__(self.module_name, fromlist=['__name__'], level=0)


 "/Users/zed/.pyenv/versions/3.5.1/lib/python3.5/site-packages/scrapyd/__init__.py", line 3, in <module>

version_info = tuple(__version__.split('.')[:3])
TypeError: a bytes-like object is required, not 'str'
