question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR - /root/.wine/drive_c/Python27/Scripts/pyinstaller-script.py': [Errno 2] No such file or directory

See original GitHub issue

After 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:open
  • Created 2 years ago
  • Comments:10

github_iconTop GitHub Comments

2reactions
nehal-backspacecommented, Oct 3, 2021

open the install.sh and change pyinstaller to pyinstaller==3.0

@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 or sudo nano install.sh

after editing pyinstaller to pyinstaller==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 :}

1reaction
YasirRWebDesignercommented, Jun 27, 2021

open the install.sh and change pyinstaller to pyinstaller==3.0

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found