我在Anaconda中创建了一个环境(radIOenv)。
然后我输入了python -m pip install git+https://github.com/analysiscenter/radio.git
。
当我键入import radio
或from radio import CTImagesBatch
时,出现以下错误:ModuleNotFoundError: No module named 'blosc.blosc_extension'
我该如何解决这个问题?
这是完整的输出:
(radIOenv) C:\Users\user>python -m pip install git+https://github.com/analysiscenter/radio.git
Collecting git+https://github.com/analysiscenter/radio.git
Cloning https://github.com/analysiscenter/radio.git to c:\users\user\appdata\local\temp\pip-req-build-4ii04ktu
Requirement already satisfied (use --upgrade to upgrade): radio==0.1.0 from git+https://github.com/analysiscenter/radio.git in c:\users\user\anaconda3\envs\radioenv\lib\site-packages
Requirement already satisfied: numpy>=1.10 in c:\users\user\anaconda3\envs\radioenv\lib\site-packages (from radio==0.1.0) (1.16.2)
Requirement already satisfied: pandas>=0.21.0 in c:\users\user\anaconda3\envs\radioenv\lib\site-packages (from radio==0.1.0) (0.24.1)
...
Successfully built radio
(radIOenv) C:\Users\user>python
Python 3.7.1 | packaged by conda-forge | (default, Feb 26 2019, 04:46:14) [MSC v.1900 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import radio
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\user\Anaconda3\envs\radIOenv\lib\site-packages\radio\__init__.py", line 5, in <module>
from .preprocessing import *
File "C:\Users\user\Anaconda3\envs\radIOenv\lib\site-packages\radio\preprocessing\__init__.py", line 3, in <module>
from .ct_batch import CTImagesBatch
File "C:\Users\user\Anaconda3\envs\radIOenv\lib\site-packages\radio\preprocessing\ct_batch.py", line 15, in <module>
import blosc
File "C:\Users\user\Anaconda3\envs\radIOenv\lib\site-packages\blosc\__init__.py", line 13, in <module>
from blosc.blosc_extension import (
ModuleNotFoundError: No module named 'blosc.blosc_extension'
>>> from radio import CTImagesBatch
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\user\Anaconda3\envs\radIOenv\lib\site-packages\radio\__init__.py", line 5, in <module>
from .preprocessing import *
File "C:\Users\user\Anaconda3\envs\radIOenv\lib\site-packages\radio\preprocessing\__init__.py", line 3, in <module>
from .ct_batch import CTImagesBatch
File "C:\Users\user\Anaconda3\envs\radIOenv\lib\site-packages\radio\preprocessing\ct_batch.py", line 15, in <module>
import blosc
File "C:\Users\user\Anaconda3\envs\radIOenv\lib\site-packages\blosc\__init__.py", line 13, in <module>
from blosc.blosc_extension import (
ModuleNotFoundError: No module named 'blosc.blosc_extension'