Hi,
I am writing now the Capstone project for the Analyze Financial Data with Python Skill Path.
I write the code on my PC (Win10, AMD64, Python 3.8 and Visual Studio Code).
Using the optimal_portfolio()
function is required to complete the project.
My problem is started here because this function use the cvxopt
library.
This library is not so easy to install. After a half afternoon and many unsuccessful try I found a solution:
I needed install manually the library.
 I checked my python version: in command line:
python version
(My version is 3.8.6)  I updated
numpy
to the latest version: 1.19.2
 get numpy version from command line:
python c "import numpy; print(numpy.version.version)"
pip install numpy upgrade
 I downloaded
numpy‑1.19.2+mkl‑cp38‑cp38‑win32.whl

1.19.2
: this is the numpy version 
cp38
: this is the Python version, if you have different version, look for your other version ofnumpy+mkl
 I downloaded
cvxopt‑1.2.5‑cp38‑cp38‑win32.whl

cp38
: this is the Python version
 Install manually: First have to install
numpy+mkl
 cd < pathway of the files >

python m pip install numpy1.19.2+mklcp38cp38win32.whl
python m pip install cvxopt1.2.5cp38cp38win32.whl