我已经在Win 10机器上安装了anaconda,但是jupyter笔记本电脑既没有从@Service
class DelayingRequestSenderImpl(@Value("\${vk.request.interval}") private val interval: Int) : DelayingRequestSender {
private var lastRequestTime: LocalDateTime = LocalDateTime.now()
private val requestChannel: Channel<Deferred<*>> = Channel()
//SupervisorJob is used because we want to have continuous processing of requestChannel
//even if one of the requests fails
private val coroutineScope = CoroutineScope(SupervisorJob())
override suspend fun <T> request(block: () -> T): T {
val deferred = coroutineScope.async(start = CoroutineStart.LAZY) { block() }
requestChannel.send(deferred)
return deferred.await()
}
@PostConstruct
fun startProcessing() = coroutineScope.launch {
for (request in requestChannel) {
val now = LocalDateTime.now()
val diff = ChronoUnit.MILLIS.between(lastRequestTime, now)
if (diff < interval) {
delay(interval - diff)
}
lastRequestTime = LocalDateTime.now()
request.start()
}
}
}
到Anaconda Prompt
也无法启动
当我执行Anaconda Navigator
时,Anaconda Prompt中没有输出
和
当我在导航器中单击jupyter笔记本启动按钮时,它显示jupyter notebook
,但此后什么也没发生
launching notebook
:
conda info
active environment : base
active env location : C:\Users\Zoubi\Anaconda3
shell level : 1
user config file : C:\Users\Zoubi\.condarc
populated config files : C:\Users\Zoubi\.condarc
conda version : 4.6.11
conda-build version : 3.17.8
python version : 3.7.3.final.0
base environment : C:\Users\Zoubi\Anaconda3 (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/win-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : C:\Users\Zoubi\Anaconda3\pkgs
C:\Users\Zoubi\.conda\pkgs
C:\Users\Zoubi\AppData\Local\conda\conda\pkgs
envs directories : C:\Users\Zoubi\Anaconda3\envs
C:\Users\Zoubi\.conda\envs
C:\Users\Zoubi\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.6.11 requests/2.21.0 CPython/3.7.3 Windows/10 Windows/10.0.17133
administrator : False
netrc file : None
offline mode : False
:
jupyter kernelspec list
任何帮助:)