GithubHelp home page GithubHelp logo

No Cell object about wifi HOT 10 CLOSED

rockymeza avatar rockymeza commented on July 29, 2024
No Cell object

from wifi.

Comments (10)

rockymeza avatar rockymeza commented on July 29, 2024

can you post the relevant part of your code?

from wifi.

opensourcehiker avatar opensourcehiker commented on July 29, 2024

Just this one line of code generates an error:
image

And this is the wifi package after I did "pip install wifi"
image

from wifi.

rockymeza avatar rockymeza commented on July 29, 2024

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.

opensourcehiker avatar opensourcehiker commented on July 29, 2024

Even if that is the package directory of my project? detect.py is the module where my code is going

from wifi.

opensourcehiker avatar opensourcehiker commented on July 29, 2024

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.

rockymeza avatar rockymeza commented on July 29, 2024

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.

rockymeza avatar rockymeza commented on July 29, 2024

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.

rockymeza avatar rockymeza commented on July 29, 2024

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.

opensourcehiker avatar opensourcehiker commented on July 29, 2024

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.

opensourcehiker avatar opensourcehiker commented on July 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.