Skip to content

Need the missing conda environment.yml file or requirements.txt with Python version required #9

@richlysakowski

Description

@richlysakowski

The code from the book does not run without a LOT of fooling around with Python package versions. I bought the book to have full access to the latest code and feedback from you and the customer community.

Please provide the specific conda environment.yml file with the Python version so that we can recreate your 2 year old runtime environment.

Some things were updated 2 years ago and a few things 2 months ago.

The code does not work in Chapter 3 or Chapter 7 due to incompatible versions of Numpy, Scipy, and Pandas.

It is unclear whether to use for Numpy, Scipy, and Pandas from 2 months ago or 2 years ago.

Thank you.

Rich

Here's my current environment I am using.

I will try rebuilding it from scratch with the package versions from 2 months years ago, since some of the code that is not working is shown here as updated 2 months ago.

C:\Users\PowerUser.conda\envs\roboadvisor:

Name Version Build Channel

_openmp_mutex 4.5 2_gnu conda-forge
altair 5.5.0 pyhd8ed1ab_1 conda-forge
archspec 0.2.3 pyhd8ed1ab_0 conda-forge
asttokens 3.0.0 pyhd8ed1ab_1 conda-forge
attrs 25.1.0 pyh71513ae_0 conda-forge
aws-c-auth 0.8.1 hd11252f_0 conda-forge
aws-c-cal 0.8.1 h099ea23_3 conda-forge
aws-c-common 0.10.6 h2466b09_0 conda-forge
aws-c-compression 0.3.0 h099ea23_5 conda-forge
aws-c-event-stream 0.5.0 h85d8506_11 conda-forge
aws-c-http 0.9.2 h3888f84_4 conda-forge
aws-c-io 0.15.3 hc5a9e45_6 conda-forge
aws-c-mqtt 0.11.0 h2c94728_12 conda-forge
aws-c-s3 0.7.9 h6a47413_1 conda-forge
aws-c-sdkutils 0.2.2 h099ea23_0 conda-forge
aws-checksums 0.2.2 h099ea23_4 conda-forge
aws-crt-cpp 0.29.9 he488853_2 conda-forge
aws-sdk-cpp 1.11.489 h7d73209_0 conda-forge
beautifulsoup4 4.12.3 pypi_0 pypi
blinker 1.9.0 pyhff2d567_0 conda-forge
boltons 24.0.0 pyhd8ed1ab_1 conda-forge
bottleneck 1.4.2 pypi_0 pypi
brotli-python 1.1.0 py310h9e98ed7_2 conda-forge
bs4 0.0.2 pypi_0 pypi
bzip2 1.0.8 h2466b09_7 conda-forge
c-ares 1.34.4 h2466b09_0 conda-forge
ca-certificates 2024.12.14 h56e8100_0 conda-forge
cachetools 5.5.1 pyhd8ed1ab_0 conda-forge
certifi 2024.12.14 pyhd8ed1ab_0 conda-forge
cffi 1.17.1 py310ha8f682b_0 conda-forge
charset-normalizer 3.4.1 pyhd8ed1ab_0 conda-forge
clarabel 0.9.0 pypi_0 pypi
click 8.1.8 pyh7428d3b_0 conda-forge
colorama 0.4.6 pyhd8ed1ab_1 conda-forge
comm 0.2.2 pyhd8ed1ab_1 conda-forge
conda 24.11.3 py310h5588dad_0 conda-forge
conda-libmamba-solver 24.11.1 pyhd8ed1ab_0 conda-forge
conda-package-handling 2.4.0 pyh7900ff3_2 conda-forge
conda-package-streaming 0.11.0 pyhd8ed1ab_0 conda-forge
contourpy 1.3.1 pypi_0 pypi
cpp-expected 1.1.0 h91493d7_0 conda-forge
cpython 3.10.16 py310hd8ed1ab_1 conda-forge
cvxpy 1.6.0 pypi_0 pypi
cycler 0.12.1 pypi_0 pypi
debugpy 1.8.11 py310h9e98ed7_0 conda-forge
decorator 5.1.1 pyhd8ed1ab_1 conda-forge
distro 1.9.0 pyhd8ed1ab_1 conda-forge
empyrical-reloaded 0.5.11 pypi_0 pypi
et_xmlfile 2.0.0 pyhd8ed1ab_1 conda-forge
exceptiongroup 1.2.2 pyhd8ed1ab_1 conda-forge
executing 2.1.0 pyhd8ed1ab_1 conda-forge
fmt 11.0.2 h7f575de_0 conda-forge
fonttools 4.55.3 pypi_0 pypi
freetype 2.12.1 hdaf720e_2 conda-forge
frozendict 2.4.6 py310ha8f682b_0 conda-forge
getfamafrenchfactors 0.0.5 pypi_0 pypi
gitdb 4.0.12 pyhd8ed1ab_0 conda-forge
gitpython 3.1.44 pyhff2d567_0 conda-forge
greenlet 3.1.1 pypi_0 pypi
h2 4.1.0 pyhd8ed1ab_1 conda-forge
hpack 4.0.0 pyhd8ed1ab_1 conda-forge
html5lib 1.1 pypi_0 pypi
hyperframe 6.0.1 pyhd8ed1ab_1 conda-forge
idna 3.10 pyhd8ed1ab_1 conda-forge
importlib-metadata 7.2.1 pyha770c72_0 conda-forge
importlib_resources 6.5.2 pyhd8ed1ab_0 conda-forge
intel-openmp 2024.2.1 h57928b3_1083 conda-forge
ipykernel 6.29.5 pyh4bbf305_0 conda-forge
ipython 8.31.0 pyh7428d3b_0 conda-forge
ipython-genutils 0.2.0 pypi_0 pypi
ipywidgets 8.1.5 pyhd8ed1ab_1 conda-forge
jedi 0.19.2 pyhd8ed1ab_1 conda-forge
jinja2 3.1.5 pyhd8ed1ab_0 conda-forge
joblib 1.4.2 pypi_0 pypi
jsonpatch 1.33 pyhd8ed1ab_1 conda-forge
jsonpointer 3.0.0 py310h5588dad_1 conda-forge
jsonschema 4.23.0 pyhd8ed1ab_1 conda-forge
jsonschema-specifications 2024.10.1 pyhd8ed1ab_1 conda-forge
jupyter_client 8.6.3 pyhd8ed1ab_1 conda-forge
jupyter_core 5.7.2 pyh5737063_1 conda-forge
jupyterlab_widgets 3.0.13 pyhd8ed1ab_1 conda-forge
kiwisolver 1.4.8 pypi_0 pypi
krb5 1.21.3 hdf4eb48_0 conda-forge
lcms2 2.16 h67d730c_0 conda-forge
lerc 4.0.0 h63175ca_0 conda-forge
libabseil 20240722.0 cxx17_h4eb7d71_4 conda-forge
libarchive 3.7.7 h979ed78_3 conda-forge
libarrow 19.0.0 h9820ece_8_cuda conda-forge
libarrow-acero 19.0.0 h7d8d6a5_8_cuda conda-forge
libarrow-dataset 19.0.0 h7d8d6a5_8_cuda conda-forge
libarrow-substrait 19.0.0 h3dbecdf_8_cuda conda-forge
libblas 3.9.0 27_h576b46c_mkl conda-forge
libbrotlicommon 1.1.0 h2466b09_2 conda-forge
libbrotlidec 1.1.0 h2466b09_2 conda-forge
libbrotlienc 1.1.0 h2466b09_2 conda-forge
libcblas 3.9.0 27_h9cfd0ba_mkl conda-forge
libcrc32c 1.1.2 h0e60522_0 conda-forge
libcurl 8.11.1 h88aaa65_0 conda-forge
libdeflate 1.23 h9062f6e_0 conda-forge
libevent 2.1.12 h3671451_1 conda-forge
libffi 3.4.2 h8ffe710_5 conda-forge
libgcc 14.2.0 h1383e82_1 conda-forge
libgomp 14.2.0 h1383e82_1 conda-forge
libgoogle-cloud 2.34.0 h95c5cb2_0 conda-forge
libgoogle-cloud-storage 2.34.0 he5eb982_0 conda-forge
libgrpc 1.67.1 h0ac93cb_1 conda-forge
libhwloc 2.11.2 default_ha69328c_1001 conda-forge
libiconv 1.17 hcfcfb64_2 conda-forge
libjpeg-turbo 3.0.0 hcfcfb64_1 conda-forge
liblapack 3.9.0 27_hacfb0e4_mkl conda-forge
liblzma 5.6.3 h2466b09_1 conda-forge
libmamba 2.0.5 hc493ae7_1 conda-forge
libmambapy 2.0.5 py310h6cad396_1 conda-forge
libparquet 19.0.0 ha850022_8_cuda conda-forge
libpng 1.6.46 had7236b_0 conda-forge
libprotobuf 5.28.3 h8309712_1 conda-forge
libre2-11 2024.07.02 h4eb7d71_2 conda-forge
libsodium 1.0.20 hc70643c_0 conda-forge
libsolv 0.7.30 hbb528cf_0 conda-forge
libsqlite 3.47.2 h67fdade_0 conda-forge
libssh2 1.11.1 he619c9f_0 conda-forge
libthrift 0.21.0 hbe90ef8_0 conda-forge
libtiff 4.7.0 h797046b_3 conda-forge
libutf8proc 2.10.0 hf9b99b7_0 conda-forge
libwebp-base 1.5.0 h3b0e114_0 conda-forge
libwinpthread 12.0.0.r4.gg4f2fc60ca h57928b3_9 conda-forge
libxcb 1.17.0 h0e4246c_0 conda-forge
libxml2 2.13.5 he286e8c_1 conda-forge
libzlib 1.3.1 h2466b09_2 conda-forge
lxml 5.3.0 pypi_0 pypi
lz4-c 1.10.0 h2466b09_1 conda-forge
lzo 2.10 hcfcfb64_1001 conda-forge
markdown-it-py 3.0.0 pyhd8ed1ab_1 conda-forge
markupsafe 3.0.2 py310h38315fa_1 conda-forge
matplotlib 3.10.0 pypi_0 pypi
matplotlib-inline 0.1.7 pyhd8ed1ab_1 conda-forge
mdurl 0.1.2 pyhd8ed1ab_1 conda-forge
menuinst 2.2.0 py310h9e98ed7_0 conda-forge
mkl 2024.2.2 h66d3029_15 conda-forge
multitasking 0.0.11 pypi_0 pypi
narwhals 1.24.0 pyhd8ed1ab_0 conda-forge
nest-asyncio 1.6.0 pyhd8ed1ab_1 conda-forge
nlohmann_json 3.11.3 he0c23c2_1 conda-forge
numpy 2.2.1 pypi_0 pypi
openjpeg 2.5.3 h4d64b90_0 conda-forge
openpyxl 3.1.5 py310h8d17308_1 conda-forge
openssl 3.4.0 ha4e3fda_1 conda-forge
orc 2.0.3 haf104fe_2 conda-forge
osqp 0.6.7.post3 pypi_0 pypi
packaging 24.2 pyhd8ed1ab_2 conda-forge
pandas 2.2.3 py310hb4db72f_1 conda-forge
pandas-datareader 0.10.0 pypi_0 pypi
parso 0.8.4 pyhd8ed1ab_1 conda-forge
patsy 1.0.1 pypi_0 pypi
peewee 3.17.3 pypi_0 pypi
pickleshare 0.7.5 pyhd8ed1ab_1004 conda-forge
pillow 11.1.0 py310h9595edc_0 conda-forge
pip 24.3.1 pyh8b19718_2 conda-forge
pkgutil-resolve-name 1.3.10 pyhd8ed1ab_2 conda-forge
platformdirs 4.3.6 pyhd8ed1ab_1 conda-forge
plotly 5.24.1 pypi_0 pypi
pluggy 1.5.0 pyhd8ed1ab_1 conda-forge
prompt-toolkit 3.0.48 pyha770c72_1 conda-forge
protobuf 5.28.3 py310h9e98ed7_0 conda-forge
psutil 6.1.1 py310ha8f682b_0 conda-forge
pthread-stubs 0.4 h0e40799_1002 conda-forge
pure_eval 0.2.3 pyhd8ed1ab_1 conda-forge
pyarrow 19.0.0 py310h5588dad_0 conda-forge
pyarrow-core 19.0.0 py310h8b91b4e_0_cuda conda-forge
pybind11-abi 4 hd8ed1ab_3 conda-forge
pycosat 0.6.6 py310ha8f682b_2 conda-forge
pycparser 2.22 pyh29332c3_1 conda-forge
pydeck 0.8.0 pyhd8ed1ab_0 conda-forge
pyfolio-reloaded 0.9.8 pypi_0 pypi
pygments 2.19.1 pyhd8ed1ab_0 conda-forge
pyparsing 3.2.1 pypi_0 pypi
pysocks 1.7.1 pyh09c184e_7 conda-forge
python 3.10.16 h37870fc_1_cpython conda-forge
python-dateutil 2.9.0.post0 pyhff2d567_1 conda-forge
python-tzdata 2025.1 pyhd8ed1ab_0 conda-forge
python_abi 3.10 5_cp310 conda-forge
pytz 2024.2 pypi_0 pypi
pywin32 307 py310h9e98ed7_3 conda-forge
pyyaml 6.0.2 py310h38315fa_2 conda-forge
pyzmq 26.2.0 py310h656833d_3 conda-forge
qdldl 0.1.7.post5 pypi_0 pypi
re2 2024.07.02 haf4117d_2 conda-forge
referencing 0.36.2 pyh29332c3_0 conda-forge
reproc 14.2.5.post0 h2466b09_0 conda-forge
reproc-cpp 14.2.5.post0 he0c23c2_0 conda-forge
requests 2.32.3 pyhd8ed1ab_1 conda-forge
rich 13.9.4 pyhd8ed1ab_1 conda-forge
rpds-py 0.22.3 py310hc226416_0 conda-forge
ruamel.yaml 0.18.10 py310ha8f682b_0 conda-forge
ruamel.yaml.clib 0.2.8 py310ha8f682b_1 conda-forge
scikit-learn 1.6.1 pypi_0 pypi
scipy 1.15.1 pypi_0 pypi
scs 3.2.7.post2 pypi_0 pypi
seaborn 0.13.2 pypi_0 pypi
setuptools 75.8.0 pyhff2d567_0 conda-forge
simdjson 3.11.6 hc790b64_0 conda-forge
six 1.17.0 pyhd8ed1ab_0 conda-forge
smmap 5.0.0 pyhd8ed1ab_0 conda-forge
snappy 1.2.1 h500f7fa_1 conda-forge
soupsieve 2.6 pypi_0 pypi
spdlog 1.15.0 h81cc0e1_0 conda-forge
sqlalchemy 2.0.37 pypi_0 pypi
sqlparse 0.5.3 pypi_0 pypi
stack_data 0.6.3 pyhd8ed1ab_1 conda-forge
statsmodels 0.14.4 pypi_0 pypi
streamlit 1.40.2 pyhd8ed1ab_0 conda-forge
tbb 2021.13.0 h62715c5_1 conda-forge
tenacity 9.0.0 pyhd8ed1ab_1 conda-forge
threadpoolctl 3.5.0 pypi_0 pypi
tk 8.6.13 h5226925_1 conda-forge
toml 0.10.2 pyhd8ed1ab_1 conda-forge
tornado 6.4.2 py310ha8f682b_0 conda-forge
tqdm 4.67.1 pyhd8ed1ab_1 conda-forge
traitlets 5.14.3 pyhd8ed1ab_1 conda-forge
truststore 0.10.0 pyhd8ed1ab_0 conda-forge
typing-extensions 4.12.2 hd8ed1ab_1 conda-forge
typing_extensions 4.12.2 pyha770c72_1 conda-forge
tzdata 2024.2 pypi_0 pypi
tzlocal 5.2 py310h5588dad_1 conda-forge
ucrt 10.0.22621.0 h57928b3_1 conda-forge
urllib3 2.3.0 pyhd8ed1ab_0 conda-forge
validators 0.34.0 pyhd8ed1ab_1 conda-forge
vc 14.3 ha32ba9b_23 conda-forge
vc14_runtime 14.42.34433 he29a5d6_23 conda-forge
vs2015_runtime 14.42.34433 hdffcdeb_23 conda-forge
watchdog 6.0.0 py310h5588dad_0 conda-forge
wcwidth 0.2.13 pyhd8ed1ab_1 conda-forge
webencodings 0.5.1 pypi_0 pypi
wheel 0.45.1 pyhd8ed1ab_1 conda-forge
widgetsnbextension 4.0.13 pyhd8ed1ab_1 conda-forge
win_inet_pton 1.1.0 pyh7428d3b_8 conda-forge
xorg-libxau 1.0.12 h0e40799_0 conda-forge
xorg-libxdmcp 1.1.5 h0e40799_0 conda-forge
yaml 0.2.5 h8ffe710_2 conda-forge
yaml-cpp 0.8.0 h63175ca_0 conda-forge
yfinance 0.2.51 pypi_0 pypi
zeromq 4.3.5 ha9f60a1_7 conda-forge
zipp 3.21.0 pyhd8ed1ab_1 conda-forge
zstandard 0.23.0 py310he5e10e1_1 conda-forge
zstd 1.5.6 h0ea2cb4_0 conda-forge

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions