Stock-Fund / XCrawler

轻量型A股爬虫项目
Apache License 2.0
288 stars 67 forks source link

algorithm.stock 包找不到,报红 应该如何处理 #4

Closed Yanbuc closed 8 months ago

jeffreyrobeson commented 8 months ago

Traceback (most recent call last): File "E:\software\XCrawler\main.py", line 10, in import src File "E:\software\XCrawler\src__init.py", line 3, in import src.html File "E:\software\XCrawler\src\html__init__.py", line 11, in from src.html.stockcustomcrawler import getStockData_datareader, showStockData File "E:\software\XCrawler\src\html\stockcustomcrawler.py", line 6, in import src.quantifytest as quantifytest File "E:\software\XCrawler\src\quantifytest\init__.py", line 1, in from src.quantifytest.stock_quantify_test import ( File "E:\software\XCrawler\src\quantifytest\stock_quantify_test.py", line 3, in from algorithm.stock import Stock ModuleNotFoundError: No module named 'algorithm.stock'; 'algorithm' is not a package

akeboshi1 commented 8 months ago

Traceback (most recent call last): File "E:\software\XCrawler\main.py", line 10, in import src File "E:\software\XCrawler\srcinit.py", line 3, in import src.html File "E:\software\XCrawler\src\htmlinit.py", line 11, in from src.html.stockcustomcrawler import getStockData_datareader, showStockData File "E:\software\XCrawler\src\html\stockcustomcrawler.py", line 6, in import src.quantifytest as quantifytest File "E:\software\XCrawler\src\quantifytestinit.py", line 1, in from src.quantifytest.stock_quantify_test import ( File "E:\software\XCrawler\src\quantifytest\stock_quantify_test.py", line 3, in from algorithm.stock import Stock ModuleNotFoundError: No module named 'algorithm.stock'; 'algorithm' is not a package

算法项目我没有发布release包,你可以 https://github.com/Stock-Fund/algorithm 在这个项目里,自己打包,然后在python环境下安装algorithm包

akeboshi1 commented 8 months ago

算法项目我没有发布release包,你可以 https://github.com/Stock-Fund/algorithm 在这个项目里,自己打包,然后在python环境下安装algorithm包