Comments (14)
from awesome-python-cn.
from awesome-python-cn.
牛,这是纯python么? 发自我的iPhone
…
在 2019年11月4日,下午9:25,Albert King @.***> 写道: 金融数据-AkShare 基于 Python 的开源金融数据接口, 可以作为 TuShare 的一个补充 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
是的
from awesome-python-cn.
from awesome-python-cn.
不好意思,只是import akshare就收到错误: # Have to specify base this way to satisfy 2to3 ^ SyntaxError: invalid syntax 发自我的iPhone
…
在 2019年11月4日,下午9:39,Albert King @.> 写道: 牛,这是纯python么? 发自我的iPhone … 在 2019年11月4日,下午9:25,Albert King @.> 写道: 金融数据-AkShare 基于 Python 的开源金融数据接口, 可以作为 TuShare 的一个补充 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. 是的 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
目前是基于 conda 创建python3.7.3虚拟环境后安装,没有出现这个错误提示,能提供下详细的错误提示吗?
from awesome-python-cn.
from awesome-python-cn.
抱歉,打扰了: Traceback (most recent call last): File "iCloud/Finance/finance.py", line 1, in import akshare as ak File "Documents/modules/akshare/init.py", line 263, in from akshare.stock.hk_stock_sina import (get_hk_stock_hist_data, File "Documents/modules/akshare/stock/hk_stock_sina.py", line 10, in import demjson File "Documents/modules/demjson.py", line 645 class json_int( (1L).class ): # Have to specify base this way to satisfy 2to3 ^ SyntaxError: invalid syntax 发自我的iPhone
…
在 2019年11月4日,下午11:02,Albert King @.***> 写道: 不好意思,只是import akshare就收到错误: # Have to specify base this way to satisfy 2to3 ^ SyntaxError: invalid syntax 发自我的iPhone … 在 2019年11月4日,下午9:39,Albert King @.> 写道: 牛,这是纯python么? 发自我的iPhone … 在 2019年11月4日,下午9:25,Albert King @.> 写道: 金融数据-AkShare 基于 Python 的开源金融数据接口, 可以作为 TuShare 的一个补充 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. 是的 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. 目前是基于 conda 创建python3.7.3虚拟环境后安装,没有出现这个错误提示,能提供下详细的错误提示吗? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
方便再发下调用的函数代码吗?我这边测试了 get_hk_stock_hist_data 接口是没问题的或者使用虚拟环境
from awesome-python-cn.
from awesome-python-cn.
就写了一行: import akshare as ak current_data_df =ak.get_hk_stock_current() print(current_data_df) 在手机上运行的,python 3.8,好像是demjson卡住了。 发自我的iPhone
…
在 2019年11月4日,下午11:23,Albert King @.> 写道: 抱歉,打扰了: Traceback (most recent call last): File "iCloud/Finance/finance.py", line 1, in import akshare as ak File "Documents/modules/akshare/init.py", line 263, in from akshare.stock.hk_stock_sina import (get_hk_stock_hist_data, File "Documents/modules/akshare/stock/hk_stock_sina.py", line 10, in import demjson File "Documents/modules/demjson.py", line 645 class json_int( (1L).class ): # Have to specify base this way to satisfy 2to3 ^ SyntaxError: invalid syntax 发自我的iPhone … 在 2019年11月4日,下午11:02,Albert King @.> 写道: 不好意思,只是import akshare就收到错误: # Have to specify base this way to satisfy 2to3 ^ SyntaxError: invalid syntax 发自我的iPhone … 在 2019年11月4日,下午9:39,Albert King @.> 写道: 牛,这是纯python么? 发自我的iPhone … 在 2019年11月4日,下午9:25,Albert King @.> 写道: 金融数据-AkShare 基于 Python 的开源金融数据接口, 可以作为 TuShare 的一个补充 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. 是的 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. 目前是基于 conda 创建python3.7.3虚拟环境后安装,没有出现这个错误提示,能提供下详细的错误提示吗? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. 方便再发下调用的函数代码吗?我这边测试了 get_hk_stock_hist_data 接口是没问题的或者使用虚拟环境 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
python3.8 有可能报错,有些package可能还不支持python3.8,demjson 用的比较多,很多是不规则的json数据,暂时还不能移除这个package
from awesome-python-cn.
from awesome-python-cn.
谢谢,没事,台式机上运行是没问题的。 发自我的iPhone
…
在 2019年11月4日,下午11:32,Albert King @.***> 写道: 就写了一行: import akshare as ak current_data_df =ak.get_hk_stock_current() print(current_data_df) 在手机上运行的,python 3.8,好像是demjson卡住了。 发自我的iPhone … 在 2019年11月4日,下午11:23,Albert King @.> 写道: 抱歉,打扰了: Traceback (most recent call last): File "iCloud/Finance/finance.py", line 1, in import akshare as ak File "Documents/modules/akshare/init.py", line 263, in from akshare.stock.hk_stock_sina import (get_hk_stock_hist_data, File "Documents/modules/akshare/stock/hk_stock_sina.py", line 10, in import demjson File "Documents/modules/demjson.py", line 645 class json_int( (1L).class ): # Have to specify base this way to satisfy 2to3 ^ SyntaxError: invalid syntax 发自我的iPhone … 在 2019年11月4日,下午11:02,Albert King @.> 写道: 不好意思,只是import akshare就收到错误: # Have to specify base this way to satisfy 2to3 ^ SyntaxError: invalid syntax 发自我的iPhone … 在 2019年11月4日,下午9:39,Albert King @.> 写道: 牛,这是纯python么? 发自我的iPhone … 在 2019年11月4日,下午9:25,Albert King @.> 写道: 金融数据-AkShare 基于 Python 的开源金融数据接口, 可以作为 TuShare 的一个补充 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. 是的 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. 目前是基于 conda 创建python3.7.3虚拟环境后安装,没有出现这个错误提示,能提供下详细的错误提示吗? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. 方便再发下调用的函数代码吗?我这边测试了 get_hk_stock_hist_data 接口是没问题的或者使用虚拟环境 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. python3.8 有可能报错,有些package可能还不支持python3.8,demjson 用的比较多,很多是不规则的json数据,暂时还不能移除这个package — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
好的,感谢支持
from awesome-python-cn.
from awesome-python-cn.
from awesome-python-cn.
这个问题跟之前感觉是一样的,用Python3.7.3 应该没有问题的
from awesome-python-cn.
Related Issues (20)
- DevOps 工具: gita
- OpenBabel's link is out of date
- 库
- Quokka 网址重定向问题 HOT 1
- awesome-python-cn
- 模糊字符串匹配 fuzzywuzzy HOT 1
- 一个排版错误
- Awesome-python HOT 1
- 库大全
- https://github.com/JasonBarnabe/greasyfork.wiki.git HOT 1
- H HOT 2
- https://github.com/shibing624/pycorrector HOT 1
- Add an Expo e-commerce complete project
- 组长让我写一个自动化爬虫工具,只提供链接地址,就能把整个网站的所有信息都爬取下来 HOT 6
- Python HOT 1
- Python大全
- but do you know code to randomly rename all variables in python code
- Python资源大全中文版
- Python 项目
- Python
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome-python-cn.