我想使用我自己的virtualenv,它是由Ubuntu 14.04中的conda创建的。但问题是,在使用cd命令更改目录时,virtualenv被切换到base。 conda activate py2 # using own virtualenv 'py2'# Then, the virtualenv will be deactivated and eventually switched to base env. 如何在显式输入conda deactivate之前连续使用自己的virtualenv
MarkovSwitching.py,但是我遇到了以下错误:
ImportError: cannot import name 'shamilton_filter_log' from 'statsmodels.tsa.regime_switching_hamilton_filter' (C:\Users\myuser\Anaconda3\lib\site-packages\statsmodels\tsa\regime_switching\_hamilton_filter.cp37
当尝试使用telnet切换Tor IP地址时,我在尝试通过telnet连接到Tor控制端口时遇到了SOCKSError::ServerFailure: general SOCKS server failure。但是,如果我产生一个新的进程来进行telnetting,我就没有问题。我不想产生一个新的进程,因为它丑陋。我希望有人能帮我找出为什么我会有这个问题和一个更粗糙的解决方案?起始点:
tor --SocksPort 9350 --ControlPort 53500 --CookieAuthentication 0 --HashedControlPassword <passwo