roberware / wificonfig Goto Github PK
View Code? Open in Web Editor NEWFlask app for an easy wifi configuration
License: MIT License
Flask app for an easy wifi configuration
License: MIT License
I just installed on Raspberry Python 3.9. Install looks good, but it is missing wifiConfApp
pi@raspberrypi:~ $ sudo pip3 install wifiConfig
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting wifiConfig
Using cached https://www.piwheels.org/simple/wificonfig/wifiConfig-0.1.14-py3-none-any.whl (9.6 kB)
Requirement already satisfied: PyAccessPoint in /usr/local/lib/python3.9/dist-packages (from wifiConfig) (0.2.5)
Requirement already satisfied: flask in /usr/lib/python3/dist-packages (from wifiConfig) (1.1.2)
Requirement already satisfied: netifaces in /usr/local/lib/python3.9/dist-packages (from PyAccessPoint->wifiConfig) (0.11.0)
Requirement already satisfied: psutil in /usr/lib/python3/dist-packages (from PyAccessPoint->wifiConfig) (5.8.0)
Requirement already satisfied: wireless in /usr/local/lib/python3.9/dist-packages (from PyAccessPoint->wifiConfig) (0.3.3)
Installing collected packages: wifiConfig
Successfully installed wifiConfig-0.1.14
pi@raspberrypi:~ $ sudo python3 wifiSetup.py
python3: can't open file '/home/pi/wifiSetup.py': [Errno 2] No such file or directory
pi@raspberrypi:~ $ cd rfid
pi@raspberrypi:~/rfid $ sudo python3 wifiSetup.py
Traceback (most recent call last):
File "/home/pi/rfid/wifiSetup.py", line 1, in <module>
from wifiConfig import WifiConfApp
ImportError: cannot import name 'WifiConfApp' from 'wifiConfig' (/usr/local/lib/python3.9/dist-packages/wifiConfig/__init__.py)
Hello just want to say thank you for this library as it has saved me a lot of headaches and you did a very good job.
On line 50 in main.py in the colors dict it throws a key error exception when checking for wifi connection and not finding one. I was able to resolve the issue by adding "FAILED": '\033[91m', to the colors dict.
Update dict.
colors={
"INFO": '\033[94m',
"OK": '\033[92m',
"FAIL": '\033[91m',
"FAILED": '\033[91m',
"END": '\033[0m'
}
Hopefully, you are available to add the fix.
If you would like me to submit a pull request I can do that as well.
Thanks, Noah
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.