Can Atom work with Python virtualenvwrapper

I want to run the Flask application. I installed virtualenvwrapper for package management, but I cannot let Atom know that this project should use virtualenv python binary.

from flask import Flask, render_template 

Using the runter Atom script, I get "ImportError: No module named flask".

I do not want you to have to go to the terminal to run the application

+6
source share
4 answers

Have you tried virtualenv package for Atom?

+2
source

On Linux:

  • Run the python virtual environment.

  • Launch an atom from your python virtual environment.

     (EVP) abc $ atom 

What all.

+28
source

I am the creator of a new package that adds virtualenv support inside Atom: Atom Python Virtualenv

You can choose virtualenv, create a new one or deactivate it all inside Atom.

Feel free to contribute to the github project.

+2
source

I played with the linter-pylint 2.1.1 package installed on Atom 1.38.2 x64 and worked a lot in virtual environments (using conda activ). I made Pylint and Atom play well (for now!) With the following settings. You need to check the "Disable Execution Timeout", otherwise it will most likely expire.

enter image description here

0
source

Source: https://habr.com/ru/post/1247391/


All Articles