Skip to content

Virtual environment Import tag #219

@quintindunn

Description

@quintindunn

As someone who spends a decent amount of time helping in the help channels, I often find people running into the issue of installing x library using pip but when they run import x they get the error ModuleNotFoundError: No module named 'x' from my experiences this is 99.9% of the time caused by someone using a virtual environment, and installing the library to the wrong environment or not running their program in that environment.

I think that a command that either links them to a page with some debug steps, or has the bot reply with said debugging steps would be very beneficial. This is because it's very hard to communicate the steps to debug this to people since most of the time they ones running into these issues are very new to Python. Utilizing a webpage could incorporate images to help guide people, or the bot could reply with a message that contains the links to these images.

I do understand that the help channels shouldn't always redirect people to other sources, but this issue, which can be solved in under two minutes with well documented solutions with images has caused me multiple conversation that span over 30 minutes by a long-shot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: tagsRelated to the @Python bot's tagstype: additionRequest to add something new

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions