Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Error On Setup #369

@Charlotte-Stuff

Description

@Charlotte-Stuff

Not sure whats going on, but when I try the setup I get an error

ImportError: Failed to import test module: seq2seq
Traceback (most recent call last):
  File "C:\Users\charl\AppData\Local\Programs\Python\Python37\lib\unittest\loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "C:\Users\charl\Documents\Chatbot\seq2seq\seq2seq\__init__.py", line 26, in <module>
    from seq2seq import decoders
  File "C:\Users\charl\Documents\Chatbot\seq2seq\seq2seq\decoders\__init__.py", line 20, in <module>
    from seq2seq.decoders.attention_decoder import *
  File "C:\Users\charl\Documents\Chatbot\seq2seq\seq2seq\decoders\attention_decoder.py", line 27, in <module>
    from seq2seq.contrib.seq2seq.helper import CustomHelper
  File "C:\Users\charl\Documents\Chatbot\seq2seq\seq2seq\contrib\seq2seq\helper.py", line 35, in <module>
    from tensorflow.contrib.distributions.python.ops import bernoulli
ImportError: cannot import name 'bernoulli' from 'tensorflow.contrib.distributions.python.ops' (C:\Users\charl\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\contrib\distributions\python\ops\__init__.py)


----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1)

What is going on? How can I fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions