Python中文
首页
教程
问答
标签
搜索
登录
注册
python pip安装r requirements.txt问题
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<div> </div> <p>我在github<a href="https://github.com/offish/twitchtube?fbclid=IwAR3XobKbDJ1_rPSd3hJOQWCiYb1Fwp6Z6EaronRihioWWKdswN_6T4Oq3Y4" rel="nofollow noreferrer">https://github.com/offish/twitchtube?fbclid=IwAR3XobKbDJ1_rPSd3hJOQWCiYb1Fwp6Z6EaronRihioWWKdswN_6T4Oq3Y4</a>上找到了这个</p> <p>我做了一切,现在我只需要运行机器人!这就是我在尝试使用机器人时看到的</p> <pre><code> X:\a>python main.py Traceback (most recent call last): File "X:\a\main.py", line 8, in <module> from twitchtube.config import * File "X:\a\twitchtube\config.py", line 15 ROOT_PROFILE_PATH = "C:\Users\Mihai\AppData\Roaming\Mozilla\Firefox\Profiles\jmey78di.Selenium" ^ SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape X:\a>python main.py </code></pre> <p>我接下来需要做什么才能让机器人工作</p> <p>更新**:这就是我把它放在第15行后的情况:ROOT_PROFILE_PATH=r“C:\Users\Mihai\AppData\Roaming\Mozilla\Firefox\Profiles\jmey78di.Selenium”</p> <p><a href="https://imgur.com/a/qptb5HU" rel="nofollow noreferrer">https://imgur.com/a/qptb5HU</a></p> <p>机器人正在工作!谢谢大家的帮助! <a href="https://imgur.com/a/tWNZGNh" rel="nofollow noreferrer">https://imgur.com/a/tWNZGNh</a></p>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>正如@shamnad sherief所说,python需要在PATH中,但您不需要重新安装它:</p> <p>按下win按钮>;键入删除添加程序>;在搜索栏中键入python>;单击python并单击修改>;在显示的窗口中,单击修改>;勾选每个框,然后按“下一步”>;相同:勾选将python添加到环境变量>;单击安装</p>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
无法使用Django/mongoengine连接到MongoDB(身份验证失败)
7 回答
无法使用Django\u mssql\u后端迁移到外部hos
8 回答
无法使用Django&Python3.4连接到MySql
8 回答
无法使用Django+nginx上载媒体文件
10 回答
无法使用Django1.6导入名称模式
8 回答
无法使用Django1.7和mongodb登录管理站点
7 回答
无法使用Djangoadmin创建项目,进程使用了错误的路径,因为我事先安装了错误的Python
6 回答
无法使用Djangockedi验证CBV中的字段
5 回答
无法使用Djangocketditor上载图像(错误400)
3 回答
无法使用Djangocron进行函数调用
7 回答
无法使用Djangofiler djang上载文件
7 回答
无法使用Djangokronos
9 回答
无法使用Djangomssql provid
6 回答
无法使用Djangomssql连接到带有Django 1.11的MS SQL Server 2016
8 回答
无法使用Djangomssq迁移Django数据库
10 回答
无法使用Djangonox创建用户
4 回答
无法使用Djangopyodb从Django查询SQL Server
2 回答
无法使用Djangopython3ldap连接到ldap
5 回答
无法使用Djangoredis连接到redis
6 回答
无法使用Django中的FK创建新表
6 回答