Traceback (most recent call last):


 "/usr/bin/pip", line 9, in <module>

from pip import main
ImportError: cannot import name main

[EE] Traceback (most recent call last):


 "/home/xmn/miniconda3/envs/ibis-nb/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1246, in _execute_context

cursor, statement, parameters, context


 "/home/xmn/miniconda3/envs/ibis-nb/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 588, in do_execute

cursor.execute(statement, parameters)


 "/home/xmn/miniconda3/envs/ibis-nb/lib/python3.7/site-packages/pymysql/cursors.py", line 170, in execute

result = self._query(query)


 "/home/xmn/miniconda3/envs/ibis-nb/lib/python3.7/site-packages/pymysql/cursors.py", line 328, in _query

conn.query(q)


 "/home/xmn/miniconda3/envs/ibis-nb/lib/python3.7/site-packages/pymysql/connections.py", line 517, in query

self._affected_rows = self._read_query_result(unbuffered=unbuffered)


 "/home/xmn/miniconda3/envs/ibis-nb/lib/python3.7/site-packages/pymysql/connections.py", line 732, in _read_query_result

result.read()


 "/home/xmn/miniconda3/envs/ibis-nb/lib/python3.7/site-packages/pymysql/connections.py", line 1075, in read

first_packet = self.connection._read_packet()


 "/home/xmn/miniconda3/envs/ibis-nb/lib/python3.7/site-packages/pymysql/connections.py", line 684, in _read_packet

packet.check_error()


 "/home/xmn/miniconda3/envs/ibis-nb/lib/python3.7/site-packages/pymysql/protocol.py", line 220, in check_error

err.raise_mysql_exception(self._data)


 "/home/xmn/miniconda3/envs/ibis-nb/lib/python3.7/site-packages/pymysql/err.py", line 109, in raise_mysql_exception

raise errorclass(errno, errval)
pymysql.err.InternalError: (1248, 'Every derived table must have its own alias')
