【发布时间】:2017-12-26 23:00:22
【问题描述】:
我收到以下错误:
Traceback (most recent call last):
File "C:/Users/aaaa/Desktop/ttttttt.py", line 5, in <module>
import reload
File "C:\Users\aaa\AppData\Local\Programs\Python\Python36\lib\site-
packages\reload.py", line 3, in <module>
import sys, time, re, os, signal, fcntl
ModuleNotFoundError: No module named 'fcntl'
所以我做了一个 pip 安装,也报错了。
C:\Users\aaaa>pip install fcntl
Collecting fcntl
Could not find a version that satisfies the requirement fcntl (from versions: )
No matching distribution found for fcntl
搜索结果cPython、hacking、routing等很多词都出来了。
对于初学者来说这是一个艰难的答案,所以我想得到一个更详细的解决方案。
我该如何解决?
#py3
import time
from selenium import webdriver
import codecs
import sys
import reload
import re
import fcntl
import os
import signal
【问题讨论】:
标签: python windows python-3.x module compiler-errors