VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 1
声望: 0

先在自己的电脑中的vmware中,安装了windows server 2019 标准版,然后严格按照指南自动安装了 Veighna_studio-3.9.1,按照指南测试python环境时报错?

from pyqtgraph import examples
examples.run()
运行 Basic Plotting,在点击 Run Examplie 后报错。
Traceback (most recent call last):
File "C:\veighna_studio\lib\site-packages\pyqtgraph\examples\Plotting.py", line 7, in <module>
import numpy as np
File "C:\veighna_studio\lib\site-packages\numpy__init.py", line 163, in <module>
from . import lib
File "C:\veighna_studio\lib\site-packages\numpy\lib\
init.py", line 23, in <module>
from . import index_tricks
File "C:\veighna_studio\lib\site-packages\numpy\lib\index_tricks.py", line 12, in <module>
import numpy.matrixlib as matrixlib
File "C:\veighna_studio\lib\site-packages\numpy\matrixlib\
init.py", line 4, in <module>
from . import defmatrix
File "C:\veighna_studio\lib\site-packages\numpy\matrixlib\defmatrix.py", line 12, in <module>
from numpy.linalg import matrix_power
File "C:\veighna_studio\lib\site-packages\numpy\linalg\
init.py", line 73, in <module>
from . import linalg
File "C:\veighna_studio\lib\site-packages\numpy\linalg\linalg.py", line 20, in <module>
from typing import NamedTuple, Any
File "C:\veighna_studio\lib\site-packages\typing.py", line 1359, in <module>
class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
File "C:\veighna_studio\lib\site-packages\typing.py", line 1007, in
new__
self._abc_registry = extra._abc_registry
AttributeError: type object 'Callable' has no attribute '_abc_registry'
请帮忙解决。

Member
avatar
加入于:
帖子: 1615
声望: 115

pip unisntall typing

Member
avatar
加入于:
帖子: 1
声望: 0

真的有效果!!!我在cmd里输入pip uninstall typing,之后真的成功了!!

© 2015-2022 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】