-
Notifications
You must be signed in to change notification settings - Fork 8
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
Comments on HED MATLAB tools documentation #207
Comments
Thanks for trying ---
Good idea.
The extra double quotes is required in Windows because of the blank in the directory name. Did it give an error on the MAC?
Notice that the wrappers don't use
@dungscout96 @monique2208 could you collaborate and come up with a paragraph on this for Step 1 and possibly later steps.
This indicates that the
This also indicates that
This also indicates that the hedtools was not properly loaded or loaded in the wrong place (that wasn't associated with the Python that was connected to MATLAB). |
I think this might give the pip that is in the system path which is not necessarily the same as the one associated with the Python that MATLAB is using. |
Some comments/issues as I tried out the HED MATLAB Python tools tutorial:
In Step 4, we should instruct users on how to find which pip is associated with their python.
On MacOS,
python -m pip --version
will give the path to the library.which pip
supposed to point to pip executable of the python environment the terminal is inTypo in Step 4:
system('"C:\Program Files\Python39\Scripts\pip" install hedtools')
has extra double quotepyrun
was only introduced in MATLAB 2021b, so minimum MATLAB version required would be 2021bpython < 3.10 no longer has installer for MacOS. Users would have to install from source, which is difficult. I tried using Python installed via Anaconda and it seemed to work. We might want to add this to the instruction.
The command at the end of Step 4 doesn't work:
pyrun("from hed import _version as vr; print(f'Using HEDTOOLS version: {str(vr.get_versions())}')")
Module
_version
was not found, I triedversion
as well but also didn't workI tried out the example MATLAB wrapper function for HED Python tools and received error:
The text was updated successfully, but these errors were encountered: