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

Installation error #182

Open
lowspace opened this issue Jun 2, 2020 · 4 comments
Open

Installation error #182

lowspace opened this issue Jun 2, 2020 · 4 comments

Comments

@lowspace
Copy link

lowspace commented Jun 2, 2020

I tried two ways, pip and git, to install tethne, but all failed and throw the same error:

    ERROR: Command errored out with exit status 1:
     command: /Users/dnhb/opt/anaconda3/envs/wos/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/zt/br8fkpx52gl87ltrz_3731mh0000gn/T/pip-install-3o1swz2u/distribute/setup.py'"'"'; __file__='"'"'/private/var/folders/zt/br8fkpx52gl87ltrz_3731mh0000gn/T/pip-install-3o1swz2u/distribute/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/zt/br8fkpx52gl87ltrz_3731mh0000gn/T/pip-install-3o1swz2u/distribute/pip-egg-info
         cwd: /private/var/folders/zt/br8fkpx52gl87ltrz_3731mh0000gn/T/pip-install-3o1swz2u/distribute/
    Complete output (15 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/zt/br8fkpx52gl87ltrz_3731mh0000gn/T/pip-install-3o1swz2u/distribute/setuptools/__init__.py", line 2, in <module>
        from setuptools.extension import Extension, Library
      File "/private/var/folders/zt/br8fkpx52gl87ltrz_3731mh0000gn/T/pip-install-3o1swz2u/distribute/setuptools/extension.py", line 5, in <module>
        from setuptools.dist import _get_unpatched
      File "/private/var/folders/zt/br8fkpx52gl87ltrz_3731mh0000gn/T/pip-install-3o1swz2u/distribute/setuptools/dist.py", line 7, in <module>
        from setuptools.command.install import install
      File "/private/var/folders/zt/br8fkpx52gl87ltrz_3731mh0000gn/T/pip-install-3o1swz2u/distribute/setuptools/command/__init__.py", line 8, in <module>
        from setuptools.command import install_scripts
      File "/private/var/folders/zt/br8fkpx52gl87ltrz_3731mh0000gn/T/pip-install-3o1swz2u/distribute/setuptools/command/install_scripts.py", line 3, in <module>
        from pkg_resources import Distribution, PathMetadata, ensure_directory
      File "/private/var/folders/zt/br8fkpx52gl87ltrz_3731mh0000gn/T/pip-install-3o1swz2u/distribute/pkg_resources.py", line 1518, in <module>
        register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
    AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
@lowspace
Copy link
Author

lowspace commented Jun 2, 2020

I have somewhat solved this issue by using Pycharm to install.

@jeffcsauer
Copy link

Bump - can't install using pip July 2021

@mhaeussermann
Copy link

Bump - can't install using pip July 2021

The latest release is not Python 3 compatible, it seems. Using pip install git+https://github.com/diging/tethne works.

@serenalotreck
Copy link

pip install git+https://github.com/diging/tethne

THANK YOU @mhaeussermann !! Going to post this to the Google Group, as it looks like folks there haven't gotten this answer yet.

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

4 participants