Giter VIP home page Giter VIP logo

Comments (11)

triangle959 avatar triangle959 commented on May 17, 2024 4

我安装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.

github-actions avatar github-actions commented on May 17, 2024


Hey @{user}! Welcome to the QBOT repo on Github.

from qbot.

callme-taota avatar callme-taota commented on May 17, 2024

我也差不多,m2芯片,还在一个个自己手装包,一键读依赖装装不了

from qbot.

Charmve avatar Charmve commented on May 17, 2024

我本地Mac M1 应该是可以的 估计requirement.txt 版本有冲突,大家可以把版本限制先删除。也可加微信用户群交流

from qbot.

00000O00000 avatar 00000O00000 commented on May 17, 2024

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.

Charmve avatar Charmve commented on May 17, 2024

不用全部安装了 可以用一下 @triangle959 提的方式。#10 (comment)

from qbot.

zzzpppy avatar zzzpppy commented on May 17, 2024

根据上述 @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.

triangle959 avatar triangle959 commented on May 17, 2024

@zzzpppy 你这是py2.7啊,我本地人环境是conda py3.9

from qbot.

xinmans avatar xinmans commented on May 17, 2024

我安装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.

triangle959 avatar triangle959 commented on May 17, 2024

from qbot.

JYWbaby avatar JYWbaby commented on May 17, 2024

Try xcode-select --install
It solved my error.

reference: https://apple.stackexchange.com/questions/254380/why-am-i-getting-an-invalid-active-developer-path-when-attempting-to-use-git-a

from qbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.