Skip to content

Trouble Setting up Chemvae #58

Description

@shmurthy7002

I used conda to create the environment and then selected the "chemvae" interpreter in vscode. When I try to run the first cell of the given example script (all of the imports), I run into the error below, I tried removing and adding the environment again, I also tried using pycharm instead of vscode, and neither fixed the problem. I am new to using conda so please bear with me, thanks in advance.

TypeError Traceback (most recent call last)
in
3 environ['KERAS_BACKEND'] = 'tensorflow'
4 # vae stuff
----> 5 from chemvae.vae_utils import VAEUtils
6 from chemvae import mol_utils as mu
7 # import scientific py

c:\Users\yhtru\anaconda3\envs\chemvae\lib\importlib_bootstrap.py in find_and_load(name, import)

c:\Users\yhtru\anaconda3\envs\chemvae\lib\importlib_bootstrap.py in find_and_load_unlocked(name, import)

c:\Users\yhtru\anaconda3\envs\chemvae\lib\importlib_bootstrap.py in _load_unlocked(spec)

c:\Users\yhtru\anaconda3\envs\chemvae\lib\importlib_bootstrap.py in _load_backward_compatible(spec)

c:\Users\yhtru\anaconda3\envs\chemvae\lib\site-packages\chemvae-1.0.0-py3.6.egg\chemvae\vae_utils.py in
3 import random
4 import yaml
----> 5 from .models import load_encoder, load_decoder, load_property_predictor
6 import numpy as np
7 import pandas as pd

c:\Users\yhtru\anaconda3\envs\chemvae\lib\importlib_bootstrap.py in find_and_load(name, import)
...
---> 82 class ArgumentParser(Generic[_T], metaclass=_ArgumentParserCache):
83 """Base class used to parse and convert arguments.
84

TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

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