Search code examples
pythonvirtualenvatom-editorvirtualenvwrapper

Can Atom work with Python virtualenvwrapper


I want to start a Flask app. I installed virtualenvwrapper to manage the packages but I can't let Atom know that the current project should use the virtualenv's python binary.

from flask import Flask, render_template

Using Atom's script runner, I get an "ImportError: No module named flask".

I don't want the hassle of having to change to a terminal to run the app


Solution

  • Have you tried the virtualenv package for Atom?