Using Black with an Activated Env
I've used Anaconda with Wing projects for quite a while by pointing to the env python.exe and adding to the path in the project settings. Then using OS Commands I could run Black:
${WING:PYTHON} -m black --target-version py36 ${WING:FILENAME}
I've switched over to the setup described here: https://wingware.com/doc/howtos/anaconda and I can debug my scripts in Wing but when I try to run Black I get:
Process failed to start: Could not create process (last error=2): activate C:\SVNRepo\projects-sw\Agile_new\trunk\env -m black --target-version py36 C:\SVNRepo\projects-sw\agile_db_py3\trunk\env\projects\reference_check.py
I've tried several variations with no luck... How do I set this up?
In the project settings I have Python Executable set to Activated Env; activate C:\SVNRepo\projects-sw\Agile_new\trunk\env
Python Path is Use default
7.2.0.1 (rev 2e712fd65dd4) Win 7 64, 32 bit Python
Comments