Skip to content

ModuleNotFoundError: No module named 'fire'  #340

@sasha-moiseenko

Description

@sasha-moiseenko

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

logger.setLevel(logging.INFO)
Also I've tried use pip for installation, but there wasn't any impact on result...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions