【问题标题】:fusionauth python client ModuleNotFoundErrorfusionauth python 客户端 ModuleNotFoundError
【发布时间】:2019-05-30 05:40:06
【问题描述】:

当我关注https://github.com/FusionAuth/fusionauth-python-client 并尝试让 fusionauth-client 工作时,它无法缺少 python 模块。你能指出我正确的方向吗?

$ sudo pip3 install fusionauth-client
[sudo] heslo pro mlich:
Collecting fusionauth-client
  Downloading https://files.pythonhosted.org/packages/d6/88/da201734fb5898beb0ec34cc4dd132296f3465da85768ea1979669ef2103/fusionauth-client-1.6.0.tar.gz
Installing collected packages: fusionauth-client
  Running setup.py install for fusionauth-client ... done
Successfully installed fusionauth-client-1.6.0

$ python3
Python 3.7.0 (default, Sep 20 2018, 07:47:02) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from fusionauth.fusionauth_client import FusionAuthClient
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'fusionauth'

我使用的是 Ubuntu 16.04

【问题讨论】:

    标签: fusionauth


    【解决方案1】:

    这个问题在recently 被发现并得到解决。您可以尝试卸载并重新安装该软件包吗?

    【讨论】:

    • 我之前有 1.6.0,现在有 1.6.2。现在有这个错误:ModuleNotFoundError: No module named 'requests'
    • 感谢您指出这一点。我们的依赖项似乎缺少 requests 模块。我为此道歉。 Python绝对不是我们常用的环境。我将在下一个版本中修复此问题。
    • 这个问题现在应该解决了。如果您有任何其他问题,请告诉我。
    猜你喜欢
    • 2020-06-17
    • 1970-01-01
    • 2011-03-18
    • 2016-04-07
    • 2016-10-07
    • 2011-12-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多