ERROR - /root/.wine/drive_c/Python27/Scripts/pyinstaller-script.py': [Errno 2] No such file or directory
See original GitHub issueAfter entering my email and password the program gives the following error:
C:\Python27\python.exe: can't open file '/root/.wine/drive_c/Python27/Scripts/pyinstaller-script.py': [Errno 2] No such file or directory
Traceback (most recent call last):
File "bee.py", line 161, in <module>
main()
File "bee.py", line 125, in main
os.rename('dist/k.exe', 'dist/' + name)
OSError: [Errno 2] No such file or directory
The versions are:
- Kali Linux 2021.1
- Python 2.7.18
- Pyinstaller 4.3
- Wine 5.0.3
Please help me, I have tried them all but I can’t solve this problem. Thanks, Pinnacchio
Issue Analytics
- State:
- Created 2 years ago
- Comments:10
Top Results From Across the Web
Python FileNotFoundError: [Errno 2] No such file or directory ...
This error tells you that you are trying to access a file or folder that does not exist. To fix this error, check...
Read more >open() gives FileNotFoundError/IOError: Errno 2 No such file ...
Let me clarify how Python finds files: An absolute path is a path that starts with your computer's root directory, for example C:\Python\scripts ......
Read more >Python Examples - INFO:root:[Errno 2] No such file or directory ...
Unfortunately, whenever I try to run any of the Python examples I am faced with this error: "INFO:root:[Errno 2] No such file or...
Read more >Filenotfounderror errno 2 no such file or directory python error ...
How to solve filenotfounderror errno 2 no such file or directory in python is shown.
Read more >[Errno 2] No such file or directory " in PyCharm. - YouTube
In this video, I will show you how to fix : " Can't open file 'file. py ': [ Errno 2 ] No...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@YasirRWebDesigner Thanks! This worked for me.
Detailed Steps for those who are facing same problem:
Go inside the folder (BeeLogger-master ) and type:
sudo vim install.sh
orsudo nano install.sh
after editing
pyinstaller
topyinstaller==3.0
(mind that there is no space in between anywhere in pyinstaller==3.0) Save the file and run Installer again
sudo ./install.sh
Now run the beelogger by
sudo python bee.py
Hope this helps :}
open the install.sh and change
pyinstaller
topyinstaller==3.0