Comments (7)
To make it short just add "config" to the requirements. Once added manually it works.
No, config is the config.py file. You have to create it manually, just read the wiki.
Create the config file :
cp config.example.py config.py
from phoneinfoga.
pip 19.0.3 from /usr/local/lib/python3.6/site-packages/pip (python 3.6)
Linux xyz 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux (it is a raspbian on a raspberry)
Again: if you remove the config.py FILE, you have the error above about the google_api_key variable, and this makes sense since it is defined in that file.
The first error I reported is about a module, and if I add the module (forget about config.py file) the program runs. If I do a
pip3 install config
then the module is installed and the program runs.
You simply have the module already installed, but not all people have so the request to add it to the requirements.
In any case no problem for me adding it manually, I opened the issue to simplify the life to other people, we wrote a full page of comments while a simple line added to requirements.txt would have solved the issue.
from phoneinfoga.
I read the docs. If you do not create the config file you get this:
[i] Searching for footprints on web pages... (limit=10)
Traceback (most recent call last):
File "./phoneinfoga.py", line 89, in <module>
main()
File "./phoneinfoga.py", line 70, in main
scanNumber(args.number)
File "./phoneinfoga.py", line 37, in scanNumber
osintScan(number)
File "/opt/PhoneInfoga/scanners/footprints.py", line 173, in osintScan
for result in search(req, stop=10):
File "/opt/PhoneInfoga/lib/googlesearch.py", line 22, in search
if google_api_key and google_cx_id:
NameError: name 'google_api_key' is not defined
The error I reported is clearly about the module.
ModuleNotFoundError: No module named 'config'
If you do not install the config module you don't even reach the point where the file config.py is read. Actually if you install the module the program runs.
from phoneinfoga.
You shouldn't have to add config to the requirements since the module is about the file config.py
and not the package config.
What is your OS, python and pip version ?
from phoneinfoga.
But the tool doesn't use any module named config. The only call to config module actually makes reference to that file. That's why you shouldn't have to add config to the requirements, it's not a module.
Maybe python just need a __init__.py
?
from phoneinfoga.
@Sathishkantamsetti You are getting this error because gecko driver is not in path. Fix this by doing the following steps
-
Goto Gecko driver release page and download the latest version of gecko driver for your platform
-
Extract it using
tar -xvzf geckodriver*
-
Make it executable
chmod +x geckodriver
-
Move the driver to PATH by running
sudo mv geckodriver /usr/local/bin/
Hope this might fix your problem
from phoneinfoga.
Running pip3 install config made it work
from phoneinfoga.
Related Issues (20)
- Please help! HOT 1
- It says "API key is not defined" HOT 1
- requirements.txt is missing. HOT 1
- downloading error - bash: /proc/self/fd/13: No such file or directory HOT 4
- Last step problem HOT 1
- ¿How can i fix this error? HOT 1
- workaround .env file HOT 8
- phoneinfoga scanners HOT 4
- Request failed. Please retry or open an issue on https://github.com/sundowndev/PhoneInfoga. HOT 1
- Binary file execution error HOT 3
- GOOGLE_ABUSE_EXEMPTION= HOT 1
- where do i put the .env file created for phoneinfoga HOT 5
- Not able to download it HOT 2
- cannot execute binary file: HOT 1
- env file HOT 2
- What is the following problem? HOT 3
- phoneinfoga HOT 2
- Requirements.txt file missing. HOT 2
- A critical error HOT 2
- How do i use numvery/how do i get api key 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 phoneinfoga.