[Bug] Don't find python library from WindowsApps dir
See original GitHub issueI accidentally installed the Python library from Windows App which was the culprit for me. I am receiving this error message:
/c/Users/shivapoudel/.dotfiles/meta/dotbot/bin/dotbot: line 10: /c/Users/shivapoudel/AppData/Local/Microsoft/WindowsApps/python3: Permission denied
/c/Users/shivapoudel/.dotfiles/meta/dotbot/bin/dotbot: line 10: /c/Users/shivapoudel/AppData/Local/Microsoft/WindowsApps/python3: Permission denied
Later, I debug and found https://github.com/anishathalye/dotbot/blob/master/bin/dotbot#L10-L12 check is locating me there. Can this check be modified so that which python3
is located from other place rather than C:\Users\shivapoudel\AppData\Local\Microsoft\WindowsApps
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Unable to import installed modules into my code
Unable to import installed modules into my code ... I keep all my code in a lot of folders, and when I take...
Read more >Python execution broken after update via Windows Store
It did find the executable in the (apparently) correct folder "C:/Program Files/WindowsApps/PythonSoftwareFoundation.
Read more >How to Fix Python Was Not Found Run Without ... - YouTube
Link:- https://www. python.org/downloads/In This Video We Will See How to Fix Python Was Not Found Run Without Arguments to Install From the ...
Read more >Pip Command Not Found on Windows: A Guide | Built In
A “pip: command not found” error occurs when you fail to properly install the package installer for Python (pip) needed to run Python...
Read more >"Windows cannot access the specified device, path, or file ...
Troubleshooting error message: Windows cannot access the specified device, path, or file. ... Method 1: Check the permission of the file or folder....
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
Hmm, so this seems like a problem with your system configuration rather than in Dotbot itself?
Since we aim to be compatible with both Python 2 and Python 3, it seems fine to try
python
before tryingpython2
orpython3
specifically. This way, we’ll be using the user’s preferredpython
version. I think we still want to prefer Python 3 over Python 2, however. This is done in 9a8d292681ac540894dce3fe998be0068dfa2df5.@anishathalye I had installed Python from the app store but later found Microsoft Store python package is currently considered unstable. Thus I have installed the python from its main site. The problem is with App Store because I can uninstall the python but some binary files for python are never been deleted. If I delete once, they will re-appeared after a few moments. Thus while setting up dotbot, I have to always delete below screenshot python files and process further, which is being the hassle for me.
You can see 0KB size binaries for python is located in the app directory. Thus the PR I have created resolves this issue.