目前我正在关注这个guide来设置python,目的是制作一个python scraper。我正在尝试安装Vitualenvwrapper,这应该是一个简单的pip命令,但我一直收到语法错误。我已尝试列出修复程序(即使我找到的修复程序没有列出语法错误作为问题)。任何人都可以为我阐明这一点吗?
$ C:\Users\nik> pip install virtualenvwrapper-powershell
Collecting virtualenvwrapper-powershell
Using cached virtualenvwrapper-powershell-12.7.8.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\nik\AppData\Local\Temp\pip-build-c37hzy_b\virtualenvwrapper-powershell\setup.py", line 76
TOKEN_READ = 0x00020000L | 0x0008
^
SyntaxError: invalid syntax
Command "python setup.py egg_info" failed with error code 1 in C:\Users\nik\AppData\Local\Temp\pip-build-c37hzy_b\virtualenvwrapper-powershell\