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 was unable to import spacetrack with Logbook 1.3.1. I received this error:
I downgraded Logbook to 1.2.1 and was successful.