main.py throws "ImportError: cannot import name 'SyntheticData'"
See original GitHub issue(venv3) ➜ MP-2018 git:(master) python main.py
Traceback (most recent call last):
File "main.py", line 5, in <module>
from src.datasets.synthetic_data_generator import SyntheticData
ImportError: cannot import name 'SyntheticData'
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
How to Fix ImportError: Cannot Import Name in Python
This error generally occurs when a class cannot be imported due to one of the following reasons: The imported class is in a...
Read more >Facing ImportError: cannot import name 'ModelParameters ...
The new virtual environment I am using has python version of 3.6 and I successfully installed the ydata_synthetic package. – Sam1729. Apr 13...
Read more >How to Fix : “ImportError: Cannot import name X” in Python
The following are the major reasons for the occurrence of "ImportError: cannot import name": The imported class is in a circular dependency.
Read more >tf_cnn_benchmarks.py does not support --data_dir with my ...
I can run the tf_cnn_benchmarks.py with synthetic data like this: ... import collective_ops ImportError: cannot import name 'collective_ops'.
Read more >[Solved] ImportError: Cannot Import Name - Python Pool
To solve the error, you need to install it first and then import it. To install it, use the following command.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Fixed. Commit
I had to install it in my virtual environment using the
-eflag with pip