Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'quantylab' #157

Open
yun3015 opened this issue Jul 20, 2023 · 1 comment
Open

ModuleNotFoundError: No module named 'quantylab' #157

yun3015 opened this issue Jul 20, 2023 · 1 comment

Comments

@yun3015
Copy link

yun3015 commented Jul 20, 2023

개정판을 읽고 처음으로 실행시키는데 이런에러가 남니다.
(rltrader) PS D:\tensor\dev\rltrader> python main.py --mode train --ver v3 --name 005930 --stock_code 005930 --rl_method a2c --net lstm --start_date 20180101 --end_date 20191231
Traceback (most recent call last):
File "D:\tensor\dev\rltrader\main.py", line 8, in
from quantylab.rltrader import settings
ModuleNotFoundError: No module named 'quantylab'

@quantylab
Copy link
Owner

개정2판의 코드는 https:// github.com/quantylab/rltrader/tree/v3.0 브랜치에서 확인해 주세요.

master 버전은 setup.py로 RLTrader 패키지를 설치해야 합니다. RLTrader root 폴더에서 다음 명령으로 설치할 수 있습니다.

pip install -e ./

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants