2

嗨,我正在尝试将最新版本的 Saleor 基于 Django 的电子商务 CMS 安装到 AzUre 上的 Windows VM。我根据提供的 requirements.txt 文件和 Azure 说明遵循了 Saleor 安装说明步骤来设置 Web 应用程序。

我已经完成了两次安装,每次尝试运行 Saleor 时,我都会在下面收到此错误。我已经扫描了互联网并找到了这个链接

只是想知道是否:

  • 任何人都可以解释“在我的路径中有一个名为 graphql 的文件夹”这句话我不知道这句话是什么意思,因为我只是一个初学者 orogrammer。[用“graphql-core>=2.0.dev”替换文件没有区别]
  • 任何人都可以给我一些诊断步骤,我可以通过这些步骤帮助我找到错误的原因。任何帮助表示赞赏。
  Traceback (most recent call last):
      File "run_waitress_server.py", line 9, in <module>
        application = get_wsgi_application()
      File "D:\home\python364x64\Lib\site-packages\django\core\wsgi.py", line 12, in get_wsgi_application
        django.setup(set_prefix=False)
      File "D:\home\python364x64\Lib\site-packages\django\__init__.py", line 24, in setup
        apps.populate(settings.INSTALLED_APPS)
      File "D:\home\python364x64\Lib\site-packages\django\apps\registry.py", line 89, in populate
        app_config = AppConfig.create(entry)
      File "D:\home\python364x64\Lib\site-packages\django\apps\config.py", line 90, in create
        module = import_module(entry)
      File "E:\A\_work\79\b\source_packages\python.3.6.4\tools\Lib\importlib\__init__.py", line 126, in import_module
      File "<frozen importlib._bootstrap>", line 994, in _gcd_import
      File "<frozen importlib._bootstrap>", line 971, in _find_and_load
      File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 678, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "D:\home\python364x64\Lib\site-packages\graphene_django\__init__.py", line 1, in <module>
        from .types import (
      File "D:\home\python364x64\Lib\site-packages\graphene_django\types.py", line 4, in <module>
        from graphene import Field
      File "D:\home\python364x64\Lib\site-packages\graphene\__init__.py", line 3, in <module>
        from .types import (
      File "D:\home\python364x64\Lib\site-packages\graphene\types\__init__.py", line 2, in <module>
        from graphql import ResolveInfo
    ImportError: cannot import name 'ResolveInfo'
4

0 回答 0