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
Requirements. ide-python requires Atom 1.21+ , Python language server 0.29+ and the atom-ide-base package to expose the functionality within Atom.
Now in the Atom software, at the bottom left of the screen, press noVirtualenv. A window opens where your Virtualenv name is displayed, and you can select it by tapping on it. Now your Virtualenv is ready and you can create or import your own project and get started.
virtualenvwrapper is a set of extensions to Ian Bicking's virtualenv tool. The extensions include wrappers for creating and deleting virtual environments and otherwise managing your development workflow, making it easier to work on more than one project at a time without introducing conflicts in their dependencies.
In Linux:
Start your virtual environment python.
Launch atom from your python virtual environment.
(EVP) abc $ atom
That's all.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With