简体   繁体   中英

I am not able to install pyfolio package using standard code

I am not able to install pyfolio in my local jupyter environment.

After,pip install pyfolio, the success message comes. but when I run 'import pyfolio as pf' the following error throws.

TypeError: int() argument must be a string, a bytes-like object or a number, not 'NaTType'

Can anyone suggest how to install pyfolio?

The main Python Package Index (pypi) entry for pyfolio here is no longer supported as described here .

Following the suggestions there, you may want pyfolio-reloaded (repo: here ).
Following the directions at the repo, try running in a cell in a new notebook the following:

%pip install pyfolio-reloaded

Restart the kernel and and then try:

import pyfolio as pf

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM