出现错误需要Microsoft Visual C ++ 14.0,但已经安装了icrosoft Visual C ++ 15-19

时间:2019-12-04 06:42:38

标签: python windows visual-c++ jupyter-notebook

我正在尝试安装jupyter笔记本,但是发生了错误,并且是“需要Microsoft Visual C ++ 14.0”。我已经在我的PC上安装了Visual 2015-2019,但我无法找到Visual C ++ 2014的安装程序。请协助解决该问题。

3 个答案:

答案 0 :(得分:0)

您需要从

安装Visual Studio Build工具

https://visualstudio.microsoft.com/visual-cpp-build-tools/

答案 1 :(得分:0)

您要与Anaconda一起安装吗?我在不知不觉中尝试安装软件包的旧版本时遇到了类似的问题,它要求我安装Microsoft Visual C ++14。但是我能够通过找到同一软件包的更新兼容版本来修复它。因此,也许Anaconda会为您提供适合您的最新版本的Jupyter Notebook。

答案 2 :(得分:0)

# Collisions are resolved by chaining, except that instead of storing the # collisions in a list, store them in a doubly-linked list. Use the doubly-linked # list code below, but modify it to insert new elements at the beginning of the # list instead of the end. You cannot use other modules. import math class Node(object): def __init__(self,data=None,next_node=None,prev_node=None): self.data=data self.next_node=next_node self.prev_node=prev_node class DoubleLinkedList(): def __init__(self,head=None): self.head=head def traverse(self): curr_node=self.head while curr_node != None: print(curr_node.data) curr_node=curr_node.next_node def get_size_list(self): #create a counter count=0 curr_node = self.head while curr_node != None: #add to old count count=count+1 curr_node = curr_node.next_node return count def prepend(self,data): #define new node new_node=Node(data) #set the next node equal to old head new_node.next_node=self.head #because its the head the prev point will point to nothing new_node.prev_node=None #handle the non-empty list case if self.head!=None: self.head.prev_node=new_node #update the head self.head=new_node list_=[43,22,1,0,15,31,99,218,4,7,11,8,9] hash_val= [[] for _ in range(13)] Dlist=DoubleLinkedList() def display_hash(hashTable): for i in range(len(hashTable)): print(i,end=" ") for j in hashTable[i]: print("-->",end=" ") print(j,end=" ") print() def hash_func(list_): list_2=[None for i in range(13)] for i in list_: #print(math.floor((pow((key+6),3)/17+key)%13) hash_key=math.floor((pow((i+6),3)/17+i)%13) hash_val[hash_key].append(i) list_2[math.floor((pow((i+6),3)/17+i)%13)]=i print(list_2) print(list_) print(hash_val) print (math.floor((pow((43+6),3)/17+43)%13)) print(math.floor((pow((218 + 6), 3) / 17 + 218) % 13)) print(hash_func(list_)) 命令仅在安装Windows SDK之后对我有用:https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/

如果仍然无法正常工作,请尝试安装以下软件:https://visualstudio.microsoft.com/visual-cpp-build-tools/ 选择C ++程序包。大约需要5GB的空间并重新启动。