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.

[Bug] Don't find python library from WindowsApps dir

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
anishathalyecommented, Jun 26, 2019

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 trying python2 or python3 specifically. This way, we’ll be using the user’s preferred python version. I think we still want to prefer Python 3 over Python 2, however. This is done in 9a8d292681ac540894dce3fe998be0068dfa2df5.

0reactions
shivapoudelcommented, Jun 26, 2019

@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. image

You can see 0KB size binaries for python is located in the app directory. Thus the PR I have created resolves this issue.

Read more comments on GitHub >

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

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