python-astrodynamics / spacetrack

Python client for space-track.org
MIT License
74 stars 15 forks source link

Unable to import with Logbook 1.3.1 #39

Closed demarlio25 closed 6 years ago

demarlio25 commented 6 years ago

I was unable to import spacetrack with Logbook 1.3.1. I received this error:

Python 3.6.4 |Anaconda custom (64-bit)| (default, Jan 16 2018, 18:10:19) 
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import spacetrack
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/cdemars/Python/spacetrack/spacetrack/__init__.py", line 4, in <module>
    from .base import AuthenticationError, SpaceTrackClient  # noqa
  File "/home/cdemars/Python/spacetrack/spacetrack/base.py", line 13, in <module>
    from logbook import Logger
  File "/home/cdemars/anaconda3/lib/python3.6/site-packages/logbook/__init__.py", line 14, in <module>
    from .base import (
  File "/home/cdemars/anaconda3/lib/python3.6/site-packages/logbook/base.py", line 19, in <module>
    from logbook.concurrency import (greenlet_get_ident, thread_get_ident,
ImportError: cannot import name 'thread_get_ident'
>>> 

I downgraded Logbook to 1.2.1 and was successful.

RazerM commented 6 years ago

This is a Logbook issue, please file an issue at https://github.com/getlogbook/logbook/issues