Full disclosure: I installed anaconda and set it to the path variable. After I did this I was able to access elpy-config which I was not able to (see my prior question). I still pretty much have no idea why this worked and what I'm doing right or wrong.
My three questions:
1. When I type command M-x pyvenv
I get a message saying Can't find a workon home directory, set $WORKON_HOME.
How do I actually do this without screwing up the existing paths?
2. How do I setup a virtual environment? I have trouble understanding this conceptually and I get confused as to what I'm actually doing when following instructions.
3. I read that having pip and conda simultaneously can bring issues when trying to install various packages. The warning tells me that I need pip...but do I?
Elpy Configuration
Emacs.............: 26.3
Elpy..............: 1.34.0
Virtualenv........: None
Interactive Python: python . (c:/Users/Robby Parliament/AppData/Local/Microsoft/WindowsApps/python.exe)
RPC virtualenv....: rpc-venv (c:/Users/Robby Parliament/.emacs.d/elpy/rpc-venv)
Python...........: c:/ProgramData/Anaconda3/pythonw.exe 3.8.3 (c:/ProgramData/Anaconda3/pythonw.exe)
Jedi.............: 0.17.1
Rope.............: 0.17.0
Autopep8.........: 1.5.3
Yapf.............: 0.30.0
Black............: Not found
Syntax checker....: flake8.exe (c:/ProgramData/Anaconda3/Scripts/flake8.exe)```
Followed by:
Warnings
You have not activated a virtual env. While Elpy supports this, it is
often a good idea to work inside a virtual env. You can use M-x
pyvenv-activate or M-x pyvenv-workon to activate a virtual env.
Elpy could not connect to Pypi (or at least not quickly enough) and
check if the python packages were up-to-date. You can still try to
update all of them:
[Update python packages]
Pip doesn't seem to be installed in the dedicated virtualenv created
by Elpy (c:/Users/Robby Parliament/.emacs.d/elpy/rpc-venv). This may
prevent some features from working properly (completion,
documentation, reformatting, ...). You can try reinstalling the
virtualenv. If the problem persists, please report on Elpy's github
page.
[Reinstall RPC virtualenv]
The black package is not available. Commands using this will not work.