Comments (10)
can you post the relevant part of your code?
from wifi.
Just this one line of code generates an error:
And this is the wifi package after I did "pip install wifi"
from wifi.
I see that you have a wifi/detect/detect.py file, it's possible that there is interference between the wifi directory in your project and the wifi library as installed.
from wifi.
Even if that is the package directory of my project? detect.py is the module where my code is going
from wifi.
I think that Eclipse is the recognizing the Python library just not the scan. py module which contains the code for the Cell class. I tried WiFi scan and it worked so I'm confused why the library won't work
from wifi.
Maybe you could try to rename your wifi/ directory to something else to see if it is indeed the problem.
If you are comfortable with pdb, you could also try that.
from wifi.
Post*
-rocky
2015年7月20日 上午7:21于 写道:
Hi,
Can you pay your code please
-rocky
2015年7月20日 上午5:04于 "Max K" [email protected]写道:
the library from pip does not appear to have the Cell object included. I
get an error whenever I try and run a script with WiFi.Cell saying that
Cell is not in the module. help?
—
Reply to this email directly or view it on GitHub
#71.
from wifi.
Hi,
Can you pay your code please
-rocky
2015年7月20日 上午5:04于 "Max K" [email protected]写道:
the library from pip does not appear to have the Cell object included. I
get an error whenever I try and run a script with WiFi.Cell saying that
Cell is not in the module. help?—
Reply to this email directly or view it on GitHub
#71.
from wifi.
No its just that code that didnt work I made sure to try out the WiFi library before anything else and when I tried using the scan module I got that error there is no other code yet but there will be :)
from wifi.
So I created a new project without the /wifi/detect/ package and it worked 100%. I realize now that the src folder of the project was added to the python path and it was using itself as the wifi package. Thanks so much it works great now!
from wifi.
Related Issues (20)
- Request: Join open network HOT 1
- interfaces file keeps growing HOT 1
- Can't connect on Raspberry Pi (Jessie) HOT 15
- Scheme always uses dhcp HOT 3
- Networking breaks after attempting to connect to an AP with spaces in its name HOT 1
- schema with colons brakes the library
- iwlist need root privilege HOT 11
- Failed to read scan data : Argument list too long
- Scheme.Save() Fails HOT 2
- Not installing bash completion because of lack of permission
- Saving Schemes with the same ESSID
- Error with ifdown while activating the scheme. No such interface as 'wlan1' HOT 4
- scheme.activate() returns non zero exit status 1 HOT 2
- Breaks Nework Connections on Raspberry Pi (Raspbian stretch)
- /sbins/ifdown
- Minor detail but Cell.all returns map, not a list. Modify the docs
- scan command error HOT 11
- the problem for :q
- the problem for ver 0.3.8 HOT 7
- Retrieving protocol from scan HOT 1
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.