innogames / ltc

Online web application-dashboard for report analyzing,running and online monitoring of load tests started with JMeter
MIT License
197 stars 96 forks source link

manage.py 这一步后面的makemigrations文件是哪里来的 #11

Open igoscar opened 5 years ago

igoscar commented 5 years ago

./manage.py makemigrations 这个命令执行一大堆错误 RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb Traceback (most recent call last): File "./manage.py", line 22, in execute_from_command_line(sys.argv) File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 367, in execute_from_command_line utility.execute() File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 341, in execute django.setup() File "/usr/local/lib/python2.7/dist-packages/django/init.py", line 27, in setup apps.populate(settings.INSTALLED_APPS) File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 108, in populate app_config.import_models(all_models) File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 199, in import_models self.models_module = import_module(models_module_name) File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module import(name) File "/home/JMeter-Control-Center/online/models.py", line 2, in import pandas as pd File "/usr/local/lib/python2.7/dist-packages/pandas/init.py", line 13, in "extensions first.".format(module)) ImportError: C extension: umpy.core.multiarray failed to import not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace' to build the C extensions first.

请求帮助:643322049@qq.com

igoscar commented 5 years ago

我解决了

v0devil commented 5 years ago

Try to use python3 please

853068679 commented 2 years ago

请问是怎么解决的,#!/usr/bin/env python3 改为python3还是一样报错

igoscar commented 2 years ago

这是来自QQ邮箱的假期自动回复邮件。您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。