-
Notifications
You must be signed in to change notification settings - Fork 15
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
Initialization #2
Comments
@swiftvictor you are right. It only works with Python 2.7 right now. We are trying to make it compatible with Python 3 but if you want to use it now, please use Python 2. P.S. Feel free to submit a pull request if you are able to make it compatible with Python 3. |
Hi @swiftvictor, I pulled the repo and run on my local. I have python 3.7. It works fine. I do not think it has anything to do with version issue. Rather, the IDE needs to understand the "source root" to find the relevant class (mar.py). If you are using PyCharm, in the Project Explorer, right click on the inner src folder (src/src) and there should be an option called "Mark Directory as -> source". This should resolve the directory. If you are using any other IDE, try finding the same option. Also, if you want to change the version of the python file, try this https://docs.python.org/2/library/2to3.html |
I had the same issue with Python 2.7 as well as Python 3. I believe it should be
|
The above code should add util to the source root so that
should be correct. Not sure why sometimes it does not work. |
Python does not recognize this code:
from mar import MAR
"ModuleNotFoundError: No module named 'mar'"
The following does not return any relevant packages:
conda install -y mar
I am running the code on a MacOS with Python 3.6.5 and conda 4.5.11. Could this be a version issue?
The text was updated successfully, but these errors were encountered: