Comments (11)
我安装requirements.txt修改如下,mac intel可以安装。
# main_window
wxPython
pandas
matplotlib
backtrader
#pyfolio 直接安装会有bug
#pip install git+https://github.com/quantopian/pyfolio
backtrader_plotting
statsmodels
quantstats==0.0.59
requests #这是yahoofinance需要
loguru #简化logger的使用
binance-connector
#为了用户体验,非必要不引入三方库
#Ta-Lib 需要https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib 从这里下载对应的版本安装
numba # pandas 多序列rolling需要
pykalman
tables
scikit-learn
empyrical
stable-baselines==2.10.0
jupyter
gym==0.17.1
pyglet==1.5.0
tensorboard
tensortrade
yfinance
pandas_datareader
akshare
logbook
easyquotation
easytrader
arrow
tushare
# TA-Lib
numpy
cython
pyqlib
jqdatasdk
redis
pydantic
python-dotenv
# attrdict
ddddocr==1.4.7
fastapi==0.88.0
fire==0.4.0
Flask==1.1.2
scipy==1.7.3
opencv-python>=4.6.0
# matplotlib==3.1.3 [tmp]
plotly==4.12.0
ruamel.yaml>=0.16.12
在安装之前需要手动安装tables库的依赖hdf5,以及pythonw
brew install hdf5
brew install c-blosc
export HDF5_DIR=/opt/homebrew/opt/hdf5
export BLOSC_DIR=/opt/homebrew/opt/c-blosc
conda install python.app
from qbot.
Hey @{user}! Welcome to the QBOT repo on Github.
from qbot.
我也差不多,m2芯片,还在一个个自己手装包,一键读依赖装装不了
from qbot.
我本地Mac M1 应该是可以的 估计requirement.txt 版本有冲突,大家可以把版本限制先删除。也可加微信用户群交流
from qbot.
Python3.10.1,wsl环境下,pip install -r requirements运行时间太长,请问是什么问题?(以下出现“INFO处”)
命令行信息:
………………
Using cached Pygments-2.3.0-py2.py3-none-any.whl (845 kB)
Using cached Pygments-2.2.0-py2.py3-none-any.whl (841 kB)
INFO: pip is looking at multiple versions of pygments to determine which version is compatible with other requirements. This could take a while.
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
INFO: pip is looking at multiple versions of colorama to determine which version is compatible with other requirements. This could take a while.
Collecting colorama>=0.3.4
Downloading colorama-0.4.5-py2.py3-none-any.whl (16 kB)
Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB)
………………
本人运行pip,从早上9点运行到了下午6点,但仍未结束。请问有什么解决方法
from qbot.
不用全部安装了 可以用一下 @triangle959 提的方式。#10 (comment)
from qbot.
根据上述 @triangle959 的修改依然报错
pip install -r requirements.txt
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting wxPython
Using cached wxPython-4.2.0.tar.gz (71.0 MB)
ERROR: Command errored out with exit status 1:
command: /Users/zhangpengyun/.pyenv/versions/2.7.18/bin/python2.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/xk/98flsbm12f59pp4vr5mqg9t00000gp/T/pip-install-d3LcjV/wxpython/setup.py'"'"'; file='"'"'/private/var/folders/xk/98flsbm12f59pp4vr5mqg9t00000gp/T/pip-install-d3LcjV/wxpython/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/xk/98flsbm12f59pp4vr5mqg9t00000gp/T/pip-pip-egg-info-tiGPGk
cwd: /private/var/folders/xk/98flsbm12f59pp4vr5mqg9t00000gp/T/pip-install-d3LcjV/wxpython/
Complete output (7 lines):
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/xk/98flsbm12f59pp4vr5mqg9t00000gp/T/pip-install-d3LcjV/wxpython/setup.py", line 27, in
from buildtools.config import Config, msg, opj, runcmd, canGetSOName, getSOName
File "buildtools/config.py", line 30, in
from attrdict import AttrDict
ImportError: No module named attrdict
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
环境M1 macbookpro
from qbot.
@zzzpppy 你这是py2.7啊,我本地人环境是conda py3.9
from qbot.
我安装requirements.txt修改如下,mac intel可以安装。
# main_window wxPython pandas matplotlib backtrader #pyfolio 直接安装会有bug #pip install git+https://github.com/quantopian/pyfolio backtrader_plotting statsmodels quantstats==0.0.59 requests #这是yahoofinance需要 loguru #简化logger的使用 binance-connector #为了用户体验,非必要不引入三方库 #Ta-Lib 需要https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib 从这里下载对应的版本安装 numba # pandas 多序列rolling需要 pykalman tables scikit-learn empyrical stable-baselines==2.10.0 jupyter gym==0.17.1 pyglet==1.5.0 tensorboard tensortrade yfinance pandas_datareader akshare logbook easyquotation easytrader arrow tushare # TA-Lib numpy cython pyqlib jqdatasdk redis pydantic python-dotenv # attrdict ddddocr==1.4.7 fastapi==0.88.0 fire==0.4.0 Flask==1.1.2 scipy==1.7.3 opencv-python>=4.6.0 # matplotlib==3.1.3 [tmp] plotly==4.12.0 ruamel.yaml>=0.16.12
在安装之前需要手动安装tables库的依赖hdf5,以及pythonw
brew install hdf5 brew install c-blosc export HDF5_DIR=/opt/homebrew/opt/hdf5 export BLOSC_DIR=/opt/homebrew/opt/c-blosc
conda install python.app
ERROR: Could not find a version that satisfies the requirement pyqlib==0.9.1 (from versions: none)
ERROR: No matching distribution found for pyqlib==0.9.1
python3.9的conda环境,查了pyqlib,目前的版本是0.9.1,但还是找不到,很奇怪
from qbot.
from qbot.
Try xcode-select --install
It solved my error.
from qbot.
Related Issues (20)
- 有没有docker版本 HOT 6
- print("在线回测属于付费功能,请联系微信:Yida_Zhang2") HOT 2
- SetuptoolsDeprecationWarning: Invalid dash-separated options HOT 2
- python 的版本应该是对的,但是在运行的时候还是报了个版本不对的,详情麻烦看下 HOT 1
- 使用gitpod安装依赖报错 HOT 1
- python3.9版本安装talib运行qbot_main后报错 HOT 2
- python: can't open file '/usr/local/anaconda3/bin/python': [Errno 2] No such file or directory HOT 2
- 你缝合了这么多东西,好歹写个引用出处啊 HOT 6
- 交易策略在线交易板块登录404 HOT 3
- Many bugs when requirement installing HOT 2
- 居然看到了我的investool HOT 2
- 构建项目的docker镜像失败 HOT 2
- 支持期货交易吗?
- support rllib?
- 请问是否支持部署在云服务器CentOS上面 HOT 3
- Windows环境下安装Python依赖时报错 HOT 1
- MacOS 14.1.1 (23B81) 安装遇到的几个问题,目前已成功启动 HOT 3
- urllib.error.HTTPError: HTTP Error 403: Forbidden HOT 1
- wxpython version? HOT 1
- WIndows pip install pygame lib bug HOT 1
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 qbot.