HelloZeroNet / HelloZeroNet/ZeroNet

Failed to execute script boot: No module named gevent

オープン
#1,409 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
18.8k
フォーク
2.3k
PR マージ指標
30日以内にマージされた PR はありません

説明

### Step 1: Please describe your environment

* ZeroNet version: Latest (0.6.2)
* Operating system: Windows 10
* Python Version: 2.7.15

### Step 2: Describe the problem:
When I try and launch ZeroNet.exe I get the error "Failed to execute script boot". So, I decided to try and execute zeronet.py from within the core directory and this gave a bit more detail:
```
ERROR:root:Unhandled exception: No module named gevent
Traceback (most recent call last):
File "zeronet.py", line 18, in main
import main
File "C:\Users\Eddie\Documents\ZeroNet\ZeroNet-win-dist\core\src\main.py", line 9, in
import gevent
ImportError: No module named gevent
- Starting ZeroNet...
Traceback (most recent call last):
File "zeronet.py", line 91, in
main()
File "zeronet.py", line 64, in main
traceback.print_exc(file=open(config.log_dir + "/error.log", "a"))
AttributeError: 'Config' object has no attribute 'log_dir'
```
Thing is, I have already installed gevent with pip even with the --user arguments as I saw suggested on another issue...

I've also tried `python -m pip install gevent msgpack-python` too

It literally worked on the same machine about 1 week ago but I since removed the directory by accident and was going to try again...

Any ideas @HelloZeroNet?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start with zeronet.py and core/src/main.py, using the reported Windows 10 launch failure and missing gevent traceback to reproduce the problem. Check how ZeroNet.exe obtains its Python dependencies and handles the error path; done means the executable starts without the missing-module or log_dir errors.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
build-system
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。