【问题标题】:ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt' using anaconda python windows错误:无法打开需求文件:[Errno 2] 没有这样的文件或目录:\'requirements.txt\' 使用 anaconda python windows
【发布时间】:2023-01-31 01:50:03
【问题描述】:

我正在尝试在 python3 虚拟环境中安装依赖项。pip install -r requirements.txt错误:无法打开需求文件:[错误 2] 没有这样的文件或目录:'requirements.txt'

我必须安装开发依赖项才能使用 RASA 3.0 构建聊天机器人。 我在 anaconda 中创建了一个虚拟环境,但无法安装依赖项。帮帮我

【问题讨论】:

  • 请显示目录中的文件列表,因为它显示文件丢失
  • admin@DESKTOP-ANU0UOB MINGW64 ~/IThelpdesk/helpdesk-assistant (main) $ dir Dockerfile.chatroom congress rasa.db LICENSE data requirements-dev.txt Makefile domain.yml requirements.txt README.md endpoints.yml 截图操作 format_results.py source chatroom_handoff.html handoff.gif 测试 config.yml pyproject.toml
  • 看起来该文件存在于您的目录中。再检查一遍。这一定是一个小错误。您也可以尝试使用绝对路径:- pip install -r ~/IThelpdesk/helpdesk-assistant/requirements.txt

标签: rasa rasa-nlu rasa-core rasa-x rasa-sdk


【解决方案1】:

如果您的项目根目录中存在需求文件,那么这应该不是问题。您能否分享一张屏幕截图以获取更多背景信息以帮助您?

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-10-09
    • 1970-01-01
    • 2016-03-18
    • 2022-12-30
    • 2022-10-15
    • 1970-01-01
    • 2019-10-24
    • 1970-01-01
    相关资源
    最近更新 更多