Open jaffa4 opened 5 years ago
That looks like a pandas_datareader error.
Meaning what? Example is bad or datareader library is buggy?
The datareader library is buggy. I thought we made that optional, however, are you on the most recent version?
On Sat, Apr 13, 2019 at 6:46 AM jaffa4 notifications@github.com wrote:
Meaning what? Example is bad or datareader library is buggy?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/quantopian/pyfolio/issues/597#issuecomment-482775899, or mute the thread https://github.com/notifications/unsubscribe-auth/AApJmG2RtTKwysZ4lwv65XxGUdYIsHUMks5vgWERgaJpZM4csP1s .
Can you try again installing the new version?
New problem
F:\Miniconda3\envs\folio\python.exe D:/m/python/pyfolioexample/main.py
Running T model
F:\Miniconda3\envs\folio\lib\site-packages\pymc3\tuning\starting.py:61: UserWarning: find_MAP should not be used to initialize the NUTS sampler, simply call pymc3.sample() and it will automatically initialize NUTS in a better way.
warnings.warn('find_MAP should not be used to initialize the NUTS sampler, simply call pymc3.sample() and it will automatically initialize NUTS in a better way.')
F:\Miniconda3\envs\folio\lib\site-packages\pymc3\tuning\starting.py:102: UserWarning: In future versions, set the optimization algorithm with a string. For example, use method="L-BFGS-B"
instead of fmin=sp.optimize.fmin_l_bfgs_b"
.
warnings.warn('In future versions, set the optimization algorithm with a string. '
logp = 3,754.2: 2%|▏ | 100/5000 [00:00<00:00, 5882.04it/s]Optimization terminated successfully.
logp = 4,088.5: 2%|▏ | 110/5000 [00:00<00:00, 5789.17it/s] Current function value: -4088.496490
Iterations: 3
Function evaluations: 117
logp = 4,088.5: 2%|▏ | 117/5000 [00:00<00:22, 215.85it/s]
F:\Miniconda3\envs\folio\lib\site-packages\theano\scan_module\scan_perform_ext.py:76: UserWarning: The file scan_perform.c is not available. This donot happen normally. You are probably in a strangesetup. This mean Theano can not use the cython code for scan. If youwant to remove this warning, use the Theano flag'cxx=' (set to an empty string) to disable all ccode generation.
"The file scan_perform.c is not available. This do"
F:\Miniconda3\envs\folio\lib\site-packages\theano\scan_module\scan_perform_ext.py:76: UserWarning: The file scan_perform.c is not available. This donot happen normally. You are probably in a strangesetup. This mean Theano can not use the cython code for scan. If youwant to remove this warning, use the Theano flag'cxx=' (set to an empty string) to disable all ccode generation.
"The file scan_perform.c is not available. This do"
F:\Miniconda3\envs\folio\lib\site-packages\theano\scan_module\scan_perform_ext.py:76: UserWarning: The file scan_perform.c is not available. This donot happen normally. You are probably in a strangesetup. This mean Theano can not use the cython code for scan. If youwant to remove this warning, use the Theano flag'cxx=' (set to an empty string) to disable all ccode generation.
"The file scan_perform.c is not available. This do"
F:\Miniconda3\envs\folio\lib\site-packages\theano\scan_module\scan_perform_ext.py:76: UserWarning: The file scan_perform.c is not available. This donot happen normally. You are probably in a strangesetup. This mean Theano can not use the cython code for scan. If youwant to remove this warning, use the Theano flag'cxx=' (set to an empty string) to disable all ccode generation.
"The file scan_perform.c is not available. This do"
Multiprocess sampling (2 chains in 2 jobs)
NUTS: [nu_minus_two, volatility, mean returns]
Running T model
F:\Miniconda3\envs\folio\lib\site-packages\pymc3\tuning\starting.py:61: UserWarning: find_MAP should not be used to initialize the NUTS sampler, simply call pymc3.sample() and it will automatically initialize NUTS in a better way.
warnings.warn('find_MAP should not be used to initialize the NUTS sampler, simply call pymc3.sample() and it will automatically initialize NUTS in a better way.')
Traceback (most recent call last):
File "
Process finished with exit code 1
Maybe just don't run the bayesian tearsheet. Or use conda to install pymc3.
I used conda.before running that.
(folio) f:\Miniconda3\Scripts>conda install pymc3 Collecting package metadata: done Solving environment: done
==> WARNING: A newer version of conda exists. <== current version: 4.6.12 latest version: 4.6.13
Please update conda by running
$ conda update -n base conda
environment location: f:\Miniconda3\envs\folio
added / updated specs:
The following packages will be downloaded:
package | build
---------------------------|-----------------
certifi-2019.3.9 | py37_0 149 KB conda-forge
h5py-2.9.0 |nompi_py37h3cb27cb_1102 905 KB conda-forge
hdf5-1.10.4 |nompi_hcc15c50_1106 34.9 MB conda-forge
joblib-0.12.5 | py_0 176 KB conda-forge
pymc3-3.6 | py37_1000 1022 KB conda-forge
pyreadline-2.1 | py37_1000 140 KB conda-forge
tqdm-4.31.1 | py_0 40 KB conda-forge
------------------------------------------------------------
Total: 37.3 MB
The following NEW packages will be INSTALLED:
h5py conda-forge/win-64::h5py-2.9.0-nompi_py37h3cb27cb_1102 hdf5 conda-forge/win-64::hdf5-1.10.4-nompi_hcc15c50_1106 joblib conda-forge/noarch::joblib-0.12.5-py_0 pymc3 conda-forge/win-64::pymc3-3.6-py37_1000 pyreadline conda-forge/win-64::pyreadline-2.1-py37_1000 tqdm conda-forge/noarch::tqdm-4.31.1-py_0
The following packages will be UPDATED:
ca-certificates pkgs/main::ca-certificates-2019.1.23-0 --> conda-forge::ca-certificates-2019.3.9-h openssl pkgs/main::openssl-1.1.1b-he774522_1 --> conda-forge::openssl-1.1.1b-hfa6e2cd_2
The following packages will be SUPERSEDED by a higher-priority channel:
certifi pkgs/main --> conda-forge
Proceed ([y]/n)? y
Downloading and Extracting Packages tqdm-4.31.1 | 40 KB | ############################################################ | 100% certifi-2019.3.9 | 149 KB | ############################################################ | 100% hdf5-1.10.4 | 34.9 MB | ############################################################ | 100% h5py-2.9.0 | 905 KB | ############################################################ | 100% pyreadline-2.1 | 140 KB | ############################################################ | 100% pymc3-3.6 | 1022 KB | ############################################################ | 100% joblib-0.12.5 | 176 KB | ############################################################ | 100% Preparing transaction: done Verifying transaction: done Executing transaction: done
(folio) f:\Miniconda3\Scripts>
Problem Description
Please provide a minimal, self-contained, and reproducible example:
I try to install under Window 7. I have tried several python version... Something always wrong Either I cannot install numpy Or theana If I install them Then
Please provide the full traceback:
can you recommond an exact sequence of installation.. including python version , what modules to install and from where.. for Windows? Thanks.... Please provide any additional information below:
Versions