online-judge-tools / oj

Tools for various online judges. Downloading sample cases, generating additional test cases, testing your code, and submitting it.
MIT License
1.03k stars 92 forks source link

Login error using oj from M1 MaC #916

Open yushikmr opened 2 years ago

yushikmr commented 2 years ago

Summary / 概要

when I try to login to atcoder with using online-judge-tools from M1 Mac, the error occurred.

[NETWORK] GET: https://atcoder.jp/contests/agc001/submit
[NETWORK] 200 OK
[ERROR] Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?

Steps to reproduce / 再現方法

  1. run conda create -n myenv python=3.8.5
  2. run conda activate myenv
  3. pip install online-judge-tools

environments:

online-judge-tools 11.5.1 (+ online-judge-api-client 10.10.1)

Expected behavior / 期待される挙動

[NETWORK] 200 OK
[SUCCESS] You have already signed in.

Actual behavior / 実際の挙動

[NETWORK] GET: https://atcoder.jp/contests/agc001/submit
[NETWORK] 200 OK
[ERROR] Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?

Other notes / その他

I can login when I use pyenv & python venv. The error occurs in only when I use conda.

cai-lw commented 1 year ago

Have you tried pip3 install lxml as it suggests?