我试图用pip安装fcntl,并将其输入cmd:
pip install pycopy-fcntl但是,这个错误会弹出,我不知道它是什么,也不知道如何修复它:
Collecting pycopy-fcntl
Using cached pycopy-fcntl-0.0.4.tar.gz (868 bytes)
ERROR: Command errored out with exit status 1:
command: 'c:\users\jackson\appdata\local\programs\python\python38\python.exe' -c 'import sys,
setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Jackson\\AppData\\Local\\Temp\\pip-install-l2eoh603\\pycopy-fcntl\\setup.py'"'"'; __file__='"'"'C:\\Users\\Jackson\\AppData\\Local\\Temp\\pip-install-l2eoh603\\pycopy-fcntl\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Jackson\AppData\Local\Temp\pip-pip-egg-info-j3akvbte'
cwd: C:\Users\Jackson\AppData\Local\Temp\pip-install-l2eoh603\pycopy-fcntl\
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\users\jackson\appdata\local\programs\python\python38\lib\tokenize.py", line 392, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory:
'C:\\Users\\Jackson\\AppData\\Local\\Temp\\pip-install-l2eoh603\\pycopy-fcntl\\setup.py'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full
command output.我有什么办法解决这个问题吗?
发布于 2020-10-24 17:04:56
https://github.com/pfalcon/pycopy-lib#readme的主页上写着:
Pycopy是一个为Pycopy项目开发非单块标准库的项目。
它不是pip-installable库,甚至根本不是Python库。它是Pycopy的一个库,它是(https://github.com/pfalcon/pycopy#readme):
Pycopy的目标是开发和维护简约主义、轻量级和可扩展的-compatible语言实现。
你到底想安装什么?模块fcntl?它是来自stdlib的一个模块,从时间的黎明开始:https://docs.python.org/2.6/library/fcntl.html
https://stackoverflow.com/questions/64512845
复制相似问题