-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader' #8
Comments
is this fixed? Setup.py config
requirements.txt
error log
|
same error in python 3.7.5 pip install scrapy-heroku
Collecting scrapy-heroku
Downloading https://files.pythonhosted.org/packages/3b/19/876c22d5971aa48b86f7f25ee8abd6326d48f7abf7bf20f1fb799ece95e1/scrapy-heroku-0.7.1.tar.gz
Collecting distribute (from scrapy-heroku)
Using cached https://files.pythonhosted.org/packages/5f/ad/1fde06877a8d7d5c9b60eff7de2d452f639916ae1d48f0b8f97bf97e570a/distribute-0.7.3.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-4ys75cp4/distribute/setuptools/__init__.py", line 2, in <module>
from setuptools.extension import Extension, Library
File "/tmp/pip-install-4ys75cp4/distribute/setuptools/extension.py", line 5, in <module>
from setuptools.dist import _get_unpatched
File "/tmp/pip-install-4ys75cp4/distribute/setuptools/dist.py", line 7, in <module>
from setuptools.command.install import install
File "/tmp/pip-install-4ys75cp4/distribute/setuptools/command/__init__.py", line 8, in <module>
from setuptools.command import install_scripts
File "/tmp/pip-install-4ys75cp4/distribute/setuptools/command/install_scripts.py", line 3, in <module>
from pkg_resources import Distribution, PathMetadata, ensure_directory
File "/tmp/pip-install-4ys75cp4/distribute/pkg_resources.py", line 1518, in <module>
register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-4ys75cp4/distribute/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When adding you module and trying to deploy to Heroku with Python 3.6.4 I get the following error:
Any reason to relay on
distribute
?The text was updated successfully, but these errors were encountered: