(base) ➜ Documents conda activate ak_test
(ak_test) ➜ Documents python
Python 3.8.5 (default, Sep 4 2020, 02:22:02)
[Clang 10.0.0 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from sqlalchemy import create_engine
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'sqlalchemy'
(ak_test) ➜ Documents pip install SQLAlchemy Flask-SQLAlchemy
(ak_test) ➜ Documents python
Python 3.8.5 (default, Sep 4 2020, 02:22:02)
[Clang 10.0.0 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>
AKShare获取数据放到Mysql
最新推荐文章于 2023-12-24 21:37:28 发布
本文展示了如何通过AKShare获取的数据利用Python的Pandas库写入到MySQL数据库中,参照了相关SQLAlchemy教程,实现了数据的顺利存储。
摘要由CSDN通过智能技术生成