Backend Development 5 min read

Troubleshooting Guide for Setting Up HttpRunnerManager with Python, Django, RabbitMQ, MySQL and Related Modules

This article first briefly introduces the traditional Chinese lantern‑festival foods 元宵 and 汤圆, then provides a step‑by‑step troubleshooting guide for installing and configuring the HttpRunnerManager environment, covering Python version selection, RabbitMQ security, Django and djcelery installation, MySQL client and charset settings, remote access configuration, and YAML module installation.

360 Tech Engineering
360 Tech Engineering
360 Tech Engineering
Troubleshooting Guide for Setting Up HttpRunnerManager with Python, Django, RabbitMQ, MySQL and Related Modules

Before the technical guide, the page shows a short cultural note comparing the northern lantern‑festival snack 元宵 with the southern winter‑solstice snack 汤圆, highlighting differences in ingredients, preparation, and regional customs.

The main content describes the author's experience setting up the HttpRunnerManager environment and lists common pitfalls and solutions.

1. Python version : Use Python 3.0 or higher to ensure compatibility with Django; older 2.x versions may cause issues.

2. RabbitMQ guest login : From RabbitMQ 3.3.0 onward, the default guest account can only log in via localhost; create a new user for remote access.

3. Django version : The default pip install provides Django 1.11.15, which may be incompatible; install a newer version such as pip install django==2.1.1 .

4. djcelery installation : If pip install djcelery fails, install the compatible package with pip install django-celery .

5. mysqlclient installation : Resolve compilation errors by installing Visual C++ or by downloading a matching .whl file from the unofficial Windows binaries site .

6. Database character set : Errors caused by incorrect charset can be fixed by setting the database to UTF‑8 either during creation or by executing SET character_set_database=utf8; after checking with SHOW VARIABLES LIKE '%char%'; .

7. Remote MySQL access : Allow remote connections by updating the MySQL user table: mysql -u root -p USE mysql; UPDATE user SET host='%' WHERE user='root'; FLUSH PRIVILEGES;

8. yaml module : Install the missing PyYAML package with pip install pyyaml to resolve import errors.

The article concludes with several illustrative screenshots (omitted here) and a promotional footer for the 360 official technology public account.

backendPythonMySQLRabbitMQDjangoTroubleshootingSetup
360 Tech Engineering
Written by

360 Tech Engineering

Official tech channel of 360, building the most professional technology aggregation platform for the brand.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.