Comments (2)
Hey @KevinIsMyName,
Kevin@KEVIN-AMD-PC MINGW64 ~
$ pip install wifi-password
Requirement already satisfied: wifi-password in c:\users\kevin\appdata\roaming\python\python38\site-packages (1.0.7)
Requirement already satisfied: qrcode in c:\users\kevin\appdata\roaming\python\python38\site-packages (from wifi-password) (6.1)
Requirement already satisfied: six in c:\users\kevin\appdata\local\programs\python\python38-32\lib\site-packages (from qrcode->wifi-password) (1.14.0)
Requirement already satisfied: colorama in c:\users\kevin\appdata\roaming\python\python38\site-packages (from qrcode->wifi-password) (0.4.4)
Kevin@KEVIN-AMD-PC MINGW64 ~
$ wifi-password
bash: wifi-password: command not found
The reason why this is happening is most likely because the directory which pip
stores the scripts/commands that you have installed is not in your $PATH
. I unfortunately don't much about Python's directory structure on Windows, so you'll have to try and Google it.
Kevin@KEVIN-AMD-PC MINGW64 ~
$ git clone https://github.com/sdushantha/wifi-password
Cloning into 'wifi-password'...
remote: Enumerating objects: 169, done.
remote: Counting objects: 100% (169/169), done.
remote: Compressing objects: 100% (119/119), done.
remote: Total 169 (delta 105), reused 79 (delta 44), pack-reused 0
Receiving objects: 100% (169/169), 14.63 MiB | 13.15 MiB/s, done.
Resolving deltas: 100% (105/105), done.
Kevin@KEVIN-AMD-PC MINGW64 ~
$ cd wifi-password
Kevin@KEVIN-AMD-PC MINGW64 ~/wifi-password (master)
$ python3 setup.py install
bash: /c/Users/Kevin/AppData/Local/Microsoft/WindowsApps/python3: Permission denied
There must be something wrong with Python3's permissions on your system since when you ran the same command but with python
instead, it worked. But like I said earlier, I dont know much about how Python works on Windows.
Kevin@KEVIN-AMD-PC MINGW64 ~/wifi-password (master)
$ wifi-password
ERROR: SSID was not found
Looks like you were able to install wifi-password
, that's great!
Well, I believe that the error must be occurring because you are using Git Bash. There is a chance that wifi-password
thinks that you are using Linux and then is trying to execute the code for Linux systems.
Could you run the Python code below through Git Bash and let me know what the output is?
import sys
sys.platform
from wifi-password.
I don't think it's a pip dir issue as I've installed other packages just fine (and not just commonly used libraries).
The python3
is actually a Git Bash alias to winpty.exe which I never use, so you can pretty much ignore that. I meant to copy-paste it but with python
instead of python3
Kevin@KEVIN-AMD-PC MINGW64 ~
$ python
Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 22:45:29) [MSC v.1916 32 bit (In
tel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.platform
'win32'
Yep! I was thinking of mentioning that it's probably because it's Git Bash. I wanted to compare it to a WSL2 Ubuntu-20.04 LTS, but that was another rabbithole (that I don't feel like digging because busybusybusy).
I think it might just be best to install it with Git and the setuptools if you're using a non-Linux architecture, like GitHub
from wifi-password.
Related Issues (20)
- AttributeError: module 'utils' has no attribute 'get_platform'
- I noticed the markdown file isn't rendering on Github because it has no file extension :)
- Termux HOT 1
- Win10系统中文版执行命令返回的是中文字符串,不能用正则匹配key HOT 2
- Didn't fetch my password with `sudo nmcli ...`, only with `nmcli ...` HOT 1
- Wifi
- Wi-Fi password HOT 1
- Gg
- Unable to find the password HOT 1
- It work on Linux mint? HOT 1
- It's too troublesome to enter the user name password every time HOT 2
- [BUG] IndexError: list index out of range
- Don't work in termux
- Wifi password
- WIFI.PASSWORD HOT 4
- AIRPORT_PATH = "/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport" HOT 1
- WiFi code
- Wifi password
- ![Screenshot_2023-12-24-05-43-49-284_com android settings](https://github.com/sdushantha/wifi-password/assets/154694173/a8575a50-9930-4a80-a7b1-ea6d1382fb76)
- TP-Link_E5F2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wifi-password.