Closed KINDREDFFF closed 4 months ago
Hi, in the installation guide, it's mentioned that the below command is required in order to enable the PSMs:
pip install "cfr[psm]"
You may also just
pip install pyvsl
to install PyVSL. If you have tried this but failed, what message did you get?
as you see,I have installed the PyVSL,I can import it.
I run the pip install "cfr[psm]"
andpip install pyvsl
but it still not works
Can you check if pathos
, statsmodels
, and fbm
have been installed as well?
already installed
Which version of cfr are you using? In the latest version the PyVSL
call should be at L1091 instead of L1073. To upgrade: pip install -U cfr
.
OK. No essential difference then.
Can you run the below successfully?
import statsmodels.formula.api as smf
from pathos.multiprocessing import ProcessingPool as Pool
import fbm
import PyVSL
yes
I just did a test with v2024.1.26 and it works fine.
Can you restart your Jupyter kernel and try again?
If the source code: https://github.com/fzhu2e/cfr/blob/main/cfr/psm.py#L9-L12 can be loaded without any issue, it shouldn't prompt name 'PyVSL' is not defined
.
ok,thaks.i restart it,and the error is changed
octave
should be installed, see the annotation
ok,thank you so much.I gonna update CFR and try it again.
when I run the step:
mdl.calibrate()
it cames some problemname 'PyVSL' is not defined
I try to insatll PyVSL,but it seems not work