Error in module import – pyls package and ANACONDA – macOS

  Kiến thức lập trình

I am trying to run a PLS analysis and need the pyls package to run the pyls.behavioral_pls function. I can import pyls perfectly fine, but I can’t call on the type of test. I’m running spyder through anaconda. The pyls folder is in the anaconda pathway under site packages.
When I try to show the contents of plys with the plys. the test I’m looking for does not show up.
I have included the error and the code.

Code
Error Message

I’ve tried moving the pyls folder to different locations to see if it is accessible that way as it worked for a friend but it did not work for.

Please help… I’m new to python and really struggling.

New contributor

VeeC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT