HelloZeroNet / HelloZeroNet/ZeroNet
Failed to execute script boot: No module named gevent
- Ngôn ngữ chính
- JavaScript
- Star
- 18.8k
- Fork
- 2.3k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### 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?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Bắt đầu với zeronet.py và core/src/main.py, sử dụng lỗi khởi chạy được báo cáo trên Windows 10 cùng traceback gevent bị thiếu để tái hiện vấn đề. Kiểm tra cách ZeroNet.exe lấy các dependency Python và xử lý nhánh lỗi; hoàn tất khi tệp thực thi khởi động mà không gặp các lỗi missing-module hoặc log_dir.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- build-system
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100