关于SystemError

在运行代码是遇到问题如下:
Traceback (most recent call last):
File “D:\Anaconda\envs\Python3\lib\site-packages\sonnet_init_.py”, line 47, in ensure_dependency_available_at_version
pkg = importlib.import_module(package_name)
File "D:\Anaconda\envs\Python3\lib\importlib_init
.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “D:\pych\PyCharm 2019.1.3\helpers\pycharm_jb_unittest_runner.py”, line 35, in
main(argv=args, module=None, testRunner=unittestpy.TeamcityTestRunner, buffer=not JB_DISABLE_BUFFERING)
File “D:\Anaconda\envs\Python3\lib\unittest\main.py”, line 100, in init
self.parseArgs(argv)
File “D:\Anaconda\envs\Python3\lib\unittest\main.py”, line 147, in parseArgs
self.createTests()
File “D:\Anaconda\envs\Python3\lib\unittest\main.py”, line 159, in createTests
self.module)
File “D:\Anaconda\envs\Python3\lib\unittest\loader.py”, line 220, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File “D:\Anaconda\envs\Python3\lib\unittest\loader.py”, line 220, in
suites = [self.loadTestsFromName(name, module) for name in names]
File “D:\Anaconda\envs\Python3\lib\unittest\loader.py”, line 154, in loadTestsFromName
module = import(module_name)
File “D:\deepmind\deepmind-research-master\deepmind-research-master\cs_gan\tests\gan_test.py”, line 16, in
import sonnet as snt
File “D:\Anaconda\envs\Python3\lib\site-packages\sonnet_init_.py”, line 63, in
ensure_dependency_available_at_version(‘tensorflow’, ‘1.8.0’)
File "D:\Anaconda\envs\Python3\lib\site-packages\sonnet_init
.py", line 54, in _ensure_dependency_available_at_version
package_name, min_version, pip_name, pip_name))
SystemError: Sonnet requires tensorflow (minimum version 1.8.0) to be installed. If using pip, run pip install tensorflow or pip install tensorflow-gpu

我的TensorFlow版本是1.15.0rc2,dm-sonnet版本是1.34
希望看到文章的各位可以帮助我,谢谢!

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值