>>> import covalent
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\Anaconda3\envs\py39\lib\site-packages\covalent\__init__.py", line 26, in <module>
from . import executor, leptons # nopycln: import
File "D:\Anaconda3\envs\py39\lib\site-packages\covalent\executor\__init__.py", line 33, in <module>
from .._shared_files import logger
File "D:\Anaconda3\envs\py39\lib\site-packages\covalent\_shared_files\logger.py", line 28, in <module>
from .config import get_config
File "D:\Anaconda3\envs\py39\lib\site-packages\covalent\_shared_files\config.py", line 21, in <module>
import fcntl
ModuleNotFoundError: No module named 'fcntl'
解决方案:
win系统是没有这个包的,需要自己在环境所在位置的“D:\