Skip to content
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

Tethne Install Error setup.py egg_info #178

Open
adil1993 opened this issue Mar 21, 2018 · 3 comments
Open

Tethne Install Error setup.py egg_info #178

adil1993 opened this issue Mar 21, 2018 · 3 comments

Comments

@adil1993
Copy link

I am getting error while installing tethne through pip

Collecting distribute (from slate->tethne)
Using cached distribute-0.7.3.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/7_/0psy1jvd4jjd3ckc7btqc4cr0000gn/T/pip-build-d5l2l4t1/distribute/setuptools/init.py", line 2, in
from setuptools.extension import Extension, Library
File "/private/var/folders/7_/0psy1jvd4jjd3ckc7btqc4cr0000gn/T/pip-build-d5l2l4t1/distribute/setuptools/extension.py", line 5, in
from setuptools.dist import get_unpatched
File "/private/var/folders/7
/0psy1jvd4jjd3ckc7btqc4cr0000gn/T/pip-build-d5l2l4t1/distribute/setuptools/dist.py", line 7, in
from setuptools.command.install import install
File "/private/var/folders/7_/0psy1jvd4jjd3ckc7btqc4cr0000gn/T/pip-build-d5l2l4t1/distribute/setuptools/command/init.py", line 8, in
from setuptools.command import install_scripts
File "/private/var/folders/7_/0psy1jvd4jjd3ckc7btqc4cr0000gn/T/pip-build-d5l2l4t1/distribute/setuptools/command/install_scripts.py", line 3, in
from pkg_resources import Distribution, PathMetadata, ensure_directory
File "/private/var/folders/7_/0psy1jvd4jjd3ckc7btqc4cr0000gn/T/pip-build-d5l2l4t1/distribute/pkg_resources.py", line 1518, in
register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'

@sshojiro
Copy link

@adil1993 I have encountered the same error and am still working on fixing it.
I thought pip install python-dotenv was helpful, as a similar discussion mentions: theskumar/python-dotenv#113 (comment).
However, I couldn't fix this. The cause seems in pip install distribute. When you may find a way to solve, I would appreciate it to share it with me. Thank you in advance.

@jdamerow
Copy link
Member

@adil1993 and @sshojiro, are you using Python 3 by any chance? It's not fully supported I believe. I did get your error when I ran pip3 install tethne. Installing the development version seemed to work fine though pip3 install tethne --pre.

@sshojiro
Copy link

@jdamerow
Wow thank you for your comment, it was a great help to me and it worked! I'm looking forward to a stable version of the library for python3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants