bobyellow / BiFlowLISA

Bivariate local Moran's I for spatial flow data
MIT License
3 stars 0 forks source link

Code Running Problem #1

Open xzm2333 opened 8 months ago

xzm2333 commented 8 months ago

Hi Prof. Tao,

I was wondering if I need to install clusterpy before running the code? I found that clusterpy seems to need to be installed in python2.x environment, but your code is based on python3. I always get an error like this when I run the code: "SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...) ?". Could you please explain the process of running the code in more detail? Thank you very much!

bobyellow commented 8 months ago

Thank you for your question! Indeed, the code depends on clusterpy which was in Python 2. It was a mistake to upload the codes in Python 3 to github. I have revised the code. To run it properly, use Python 2. Thanks Ran

On Fri, Mar 22, 2024 at 12:13 AM xzm2333 @.***> wrote:

Hi Prof. Tao,

I was wondering if I need to install clusterpy before running the code? I found that clusterpy seems to need to be installed in python2.x environment, but your code is based on python3. I always get an error like this when I run the code: "SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...) ?". Could you please explain the process of running the code in more detail? Thank you very much!

— Reply to this email directly, view it on GitHub https://github.com/bobyellow/BiFlowLISA/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUMKQ3ULB4CPA2CDNKDQHLYZOVU5AVCNFSM6AAAAABFCUHZ3CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYDCNRWGE2TAMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>