Open sasha-moiseenko opened 3 years ago
It seems like the 'fire' module is not installed properly. You can try running pip3 show fire to check if it's installed in the correct environment. If it's not, you can try reinstalling it by running pip3 install fire.
If that doesn't work, try installing it using python -m pip install fire instead of pip3. This ensures that you are using the same version of Python that your script is using.
You can also try upgrading pip by running python -m pip install --upgrade pip, as it could be an issue with the pip installation itself.
Hi there! Please, help to find out why I get this issue after module's import and installation. Behind I've added some proofs (stderr from my terminal): (venv) sasha@sasha-m-laptop:~/PycharmProjects/pythonProject$ pip3 install fire Processing /home/sasha/.cache/pip/wheels/1f/10/06/2a990ee4d73a8479fe2922445e8a876d38cfbfed052284c6a1/fire-0.4.0-py2.py3-none-any.whl Requirement already satisfied: six in /usr/lib/python3/dist-packages (from fire) (1.14.0) Requirement already satisfied: termcolor in /home/sasha/.local/lib/python3.8/site-packages (from fire) (1.1.0) Installing collected packages: fire Successfully installed fire-0.4.0 (venv) sasha@sasha-m-laptop:~/PycharmProjects/pythonProject$ python ./venv/final_version.py Traceback (most recent call last): File "./venv/final_version.py", line 4, in
import fire
ModuleNotFoundError: No module named 'fire'
Part of my script with import: import logging import fnmatch import subprocess import fire import os
def setup_log(name): logger = logging.getLogger(name) # > set up a new name for a new logger
Also I've tried use pip for installation, but there wasn't any impact on result...