FederatedAI / FATE

An Industrial Grade Federated Learning Framework
Apache License 2.0
5.66k stars 1.55k forks source link

os.path.realpath(__file__) get error path in quick_run.py #2013

Closed demeen68 closed 2 months ago

demeen68 commented 4 years ago

I'm using mac os, pycharm2020.2, python environment in docker, and the standalone version1.4.5. when I want to run:

python quick_run.py

I get some error that called file does not exist. And i check "quick_run.py", I find

os.path.realpath(__file__)

return a wrong path.

correct path: '/Users/xq/Desktop/data/pycharm_pro/Fate_federal_learning/standalone-fate-master-1.4.5/examples/federatedml-1.x-examples/quick_run.py' whilst I get: '/opt/project/standalone-fate-master-1.4.5/examples/federatedml-1.x-examples/quick_run.py’

what should I do?

github-actions[bot] commented 2 months ago

This issue was closed because it has been inactive for 1 days since being marked as stale. If this issue is still relevant or if there is new information, please feel free to update or reopen it.