Comments (3)
试试在终端运行下面的代码
pip uninstall efinance
pip install efinance --user --upgrade
from efinance.
您好,这个包存在
[Errno 13] Permission denied: '/usr/local/py36_env/aiipo_data/lib/python3.6/site-packages/efinance/config/../data/search-cache.json' 问题。
我已经给了读写权限了
sudo chmod a+rwx /usr/local/py36_env/aiipo_data/lib/python3.6/site-packages/efinance/data
但还是不行
你需要赋予具体的文件读写权限,现在看来,你做的是赋予一个文件夹读写权限,但没有指定递归地赋予文件夹里面的文件相同权限,所以对里面的文件无效,导致程序无法读写需要读写的 json 文件。
from efinance.
明白了 谢谢您的指点,执行以下命令后不再报权限错误,再次感谢。❤️
sudo chmod -R 777 /usr/local/py36_env/aiipo_data/lib/python3.6/site-packages/efinance/data
from efinance.
Related Issues (20)
- get_history_bill issue HOT 1
- get_latest_quote() 今天一直报错 JSONDecodeError HOT 1
- efinance.stock.get_quote_history("CN00Y")
- 拉数据出错 HOT 2
- 能否获取 商品期货的 指数? HOT 1
- n天期货分钟k线问题 HOT 1
- 请问大佬,哪个函数可以获取股票的上市时间?最好是多任务?
- 如何获取所有非A股(美股等)的stock code 列表 HOT 3
- 最新版(0.5.1)efinance.stock.get_top10_stock_holder_info 特别慢 HOT 1
- 出现包弃用的警告提示
- 使用 py3.10时出现notifyAll() 报错的解决方案
- 希望提供以下示例
- 怎么知道一个股票一天的状态是不是涨停啊?回测要用到这个信息,涨停不一定是10%,不知道最后封板没有。 HOT 2
- 多股票获取历史数据卡死,已有人发过,问题目前还存在
- 关于「名称」或「code」重名时,查询结果和期望不一致的疑问? HOT 4
- 新增了美股财报,和其他A股API
- ef.stock.get_realtime_quotes获得的数据中一部分含有A的股票名称使用的是全角A,另一部分使用的半角A
- 大神,请问获取股票列表如何操作?
- 可以称为最好用的库
- 想得到财报数据,想看看eastmoney 的api,请问api的文档有吗
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 efinance.