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

pydlshogi2 パッケージのバージョンについて #9

Open
MIYAWAKIHIROMITSU opened this issue Jun 13, 2023 · 2 comments
Open

Comments

@MIYAWAKIHIROMITSU
Copy link

MIYAWAKIHIROMITSU commented Jun 13, 2023

変換した訓練データとテストデータを使用して、モデルの訓練を試みた際に、
pydlshogi2がModuleNotFoundError: No module named 'pydlshogi2' となりました。
原因追求した結果、おそらく、バージョンが変わったことによってエラーが出ていると思われます
正常にインストールできているはずですが、import文を書く際に波線が付きます。
私では力不足のため、もし良ければ改善方法を教えていただきたいです

@TadaoYamaoka
Copy link
Owner

pip install -e .

でパッケージインストールができていない可能性があります。

@MIYAWAKIHIROMITSU
Copy link
Author

MIYAWAKIHIROMITSU commented Jun 16, 2023

お返事ありがとうございます。

%cd python-dlshogi2
!pip install -e . を実行した際の結果が

/content/python-dlshogi2
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Obtaining file:///content/python-dlshogi2
Preparing metadata (setup.py) ... done
Installing collected packages: python-dlshogi2
Running setup.py develop for python-dlshogi2
Successfully installed python-dlshogi2-0.0.0

となりました。
ちなみに、結果に出たURLの中を見たところ、二つ目が404. That’s an error.になっています

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