HelloZeroNet / HelloZeroNet/ZeroNet

Failed to execute script boot: No module named gevent

Ouverte
#1,409 9 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
18.8k
Forks
2.3k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### 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?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
build-system
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.