Closed shakeel26 closed 1 year ago
I run this in a google collab notebook and it works. I think this is related to #36, and once solved, it will work
I have upgraded python3.8
to 3.9
and then on installation
pip install yarrrml-translator
Installation works I believe. but still on running the file with module import I have the above error ```AttributeError: partially initialized module 'yarrrml_translator' has no attribute 'translate' (most likely due to a circular import)
What is reported there is that you already have installed the engine.
My suggestion would be to create a virtual environment and install it, as it seems an error on your imports. You can create requirements.txt with your dependencies and install them as python3 -m pip install -r requirements.txt
.
To be honest, I don't think this is a related issue with the engine as it has been tested that it works in google collab.
This and #36 will be closed.
Command line version is working fine but when I want to include the module in your implementation where I am just using the simple example:
Here is the error: AttributeError: partially initialized module 'yarrrml_translator' has no attribute 'translate' (most likely due to a circular import)
Can you please check ?