|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
最后 pip install pyOpenSSL 和 pip install scrapy的时候,老是报错,有什么解决方法,谢谢大神
C:\Users\17447>pip install pyOpenSSL
Downloading/unpacking pyOpenSSL
Downloading/unpacking cryptography>=35.0 (from pyOpenSSL)
pip can't proceed with requirement 'cryptography>=35.0 (from pyOpenSSL)' due to a pre-existing build directory.
location: c:\users\17447\appdata\local\temp\pip_build_17447\cryptography
This is likely due to a previous installation that failed.
pip is being responsible and not assuming it can delete this.
Please delete it and try again.
Storing debug log for failure in C:\Users\17447\pip\pip.log
C:\Users\17447>pip install pyOpenSSL
Downloading/unpacking pyOpenSSL
Downloading/unpacking cryptography>=35.0 (from pyOpenSSL)
Running setup.py (path:c:\users\17447\appdata\local\temp\pip_build_17447\cryptography\setup.py) egg_info for package cryptography
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "c:\users\17447\appdata\local\temp\pip_build_17447\cryptography\setup.py", line 87
print(f" Python: {'.'.join(str(v) for v in sys.version_info[:3])}")
^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "c:\users\17447\appdata\local\temp\pip_build_17447\cryptography\setup.py", line 87
print(f" Python: {'.'.join(str(v) for v in sys.version_info[:3])}")
^
SyntaxError: invalid syntax
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in c:\users\17447\appdata\local\temp\pip_build_17447\cryptography
Storing debug log for failure in C:\Users\17447\pip\pip.log
C:\Users\17447>pip install Scrapy
Downloading/unpacking Scrapy
Downloading/unpacking lxml>=3.5.0 (from Scrapy)
Running setup.py (path:c:\users\17447\appdata\local\temp\pip_build_17447\lxml\setup.py) egg_info for package lxml
Building lxml version 4.9.1.
Building without Cython.
Building against pre-built libxml2 andl libxslt libraries
C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'project_urls'
warnings.warn(msg)
C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
warning: no previously-included files found matching '*.py'
Downloading/unpacking Twisted>=17.9.0 (from Scrapy)
Running setup.py (path:c:\users\17447\appdata\local\temp\pip_build_17447\Twisted\setup.py) egg_info for package Twisted
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "c:\users\17447\appdata\local\temp\pip_build_17447\Twisted\setup.py", line 10, in <module>
import pathlib
ImportError: No module named pathlib
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "c:\users\17447\appdata\local\temp\pip_build_17447\Twisted\setup.py", line 10, in <module>
import pathlib
ImportError: No module named pathlib
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in c:\users\17447\appdata\local\temp\pip_build_17447\Twisted
Storing debug log for failure in C:\Users\17447\pip\pip.log
正在下载小甲鱼的Python教程...
- Windows PowerShell
- 版权所有(C) Microsoft Corporation。保留所有权利。
- 安装最新的 PowerShell,了解新功能和改进!https://aka.ms/PSWindows
- PS C:\Users\Administrator> you-get "https://www.bilibili.com/video/BV1c4411e77t?spm_id_from=333.337.search-card.all.click"
- you-get: This is a multipart video. (use --playlist to download all parts.)
- site: Bilibili
- title: 【Python教程】《零基础入门学习Python》最新版(2022年09月16日更新) (P1. 序章)
- stream:
- - format: flv
- container: flv
- quality: 高清 1080P
- size: 31.5 MiB (33018152 bytes)
- # download-with: you-get --format=flv [URL]
- Downloading 【Python教程】《零基础入门学习Python》最新版(2022年09月16日更新) (P1. 序章).flv ...
- 100% ( 31.5/ 31.5MB) ├████████████████████████████████████████┤[1/1] 205 kB/s
- Downloading 【Python教程】《零基础入门学习Python》最新版(2022年09月16日更新) (P1. 序章).cmt.xml ...
复制代码
|
|