Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot import name 'WeightedFQI' #4

Closed
tyrion opened this issue Dec 23, 2017 · 3 comments
Closed

cannot import name 'WeightedFQI' #4

tyrion opened this issue Dec 23, 2017 · 3 comments

Comments

@tyrion
Copy link

tyrion commented Dec 23, 2017

In [3]: import mushroom.algorithms.value
/home/tyrion/.local/lib/virtualenvwrapper/fungo/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.5 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.6
  return f(*args, **kwds)
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-3-dae6f65bc28c> in <module>()
----> 1 import mushroom.algorithms.value

~/src/mushroom/mushroom/algorithms/value/__init__.py in <module>()
----> 1 from .batch_td import FQI, DoubleFQI, WeightedFQI, LSPI
      2 from .dqn import DQN, DoubleDQN, AveragedDQN
      3 from .td import QLearning, DoubleQLearning, WeightedQLearning, SpeedyQLearning,\
      4     RLearning, RQLearning, SARSA, SARSALambdaDiscrete, SARSALambdaContinuous,\
      5     ExpectedSARSA, TrueOnlineSARSALambda

ImportError: cannot import name 'WeightedFQI'
@boris-il-forte
Copy link
Collaborator

Mushroom only supports python 2.7, not python 3 or later

@tyrion
Copy link
Author

tyrion commented Dec 23, 2017

This is not related to the Python version (there is no class WeightedFQI in mushroom.algorithms.value.batch_td) :)

@boris-il-forte
Copy link
Collaborator

Fixed

thlautenschlaeger pushed a commit to thlautenschlaeger/mushroom-rl that referenced this issue Jul 12, 2020
thlautenschlaeger pushed a commit to thlautenschlaeger/mushroom-rl that referenced this issue Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants