Closed ZerooCool closed 6 years ago
You are using the wrong version of Python. V3.5+ is required.
How i can add it and use it ? ( If you can explain )
https://www.python.org/downloads/
You can download it from here.
Python3 from debian stretch :
apt-get install python3
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
python3 is already the newest version (3.5.3-1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
osint-scraper# pserve development.ini --reload
Starting monitor for PID 2717.
Traceback (most recent call last):
File "
Python3 from debian stretch :
apt-get install python3
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
python3 is already the newest version (3.5.3-1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
osint-scraper# pserve development.ini --reload
Starting monitor for PID 2717.
Traceback (most recent call last):
File "
apt-get install python3-pip
apt-cache policy python3 python3: Installé : 3.5.3-1 Candidat : 3.5.3-1 Table de version : *** 3.5.3-1 500 500 http://deb.debian.org/debian stable/main amd64 Packages 100 /var/lib/dpkg/status
Are you creating a virtual environment in python3 and activating it before you install the requirements?
No ? I use Debian Stretch 9 with virtualbox, and, want learn how i can use your script.
I need a virtual environnement python3 ? I need install requirements ?
I'm not familiar with that. These are the series of commands to get it work on most machines After you complete these point your browser at http://localhost:6543/
python3 -m venv ENV
source ENV/bin/activate
pip install -r requirements.txt
pip install -e .
pserve development.ini
Thank you, let's go, i test your command line. I can use your script ! <3 Like that !
First python3 -m venv ENV The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command.
apt-get install python3-venv
You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: ['/home/zencool/osint-scraper/ENV/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']
Ok - Then, i install apt-get install python3-venv
Next python3 -m venv ENV source ENV/bin/activate pip install -r requirements.txt pip install -e . pserve development.ini
The last line in the terminal Starting server in PID 2408. Serving on http://localhost:6543 Serving on http://localhost:6543
Resolved Firefox and use this URL : http://localhost:6543
Worked with the help from gabrielx52. CLOSED
pserve development.ini --reload
https://pastebin.com/dwdDWFMy
ImportError: No module named pytest Server with PID 7721 exited with code 1. Waiting for changes before reloading.