简体   繁体   中英

Auto-py-to-exe [Errno 2] No such file or directory:

I'm trying to build an.exe from my.py, the following error comes up:

File "distributed\config.py", line 17, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\MTEICH~1\AppData\\Local\Temp\\\_MEI304202\distributed\\distributed.yaml'.

I had this problem, and I solved it as follows:

Go to c:/ drive and search "distributed.yaml" it is located probably in "C:\ProgramData\Anaconda3\Lib\site-packages\distributed". You should copy this folder "distributed" to where your exe file is located.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM