question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting issue while importing agent from rasa_core.agent

See original GitHub issue

Rasa Core version: rasa_core==0.13.2

Python version: Python 3.6.7

Operating system (windows, osx, …): Ubuntu (running on https://colab.research.google.com)

Issue: I am getting issue while trying to import Agent from rasa_core. Attaching jupyter notebook for more details.

` import sys python = sys.executable

!python --version

!{python} -m pip install rasa_core==0.13.2

from rasa_core.agent import Agent ` rasa_core_agent_issue.ipynb renamed to rasa_core_agent_issue.txt

rasa_core_agent_issue.txt

Please help.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
makrand12commented, Mar 14, 2019

Please create a new issue

Hey, the issue is been resolved and if anybody facing this issue you can do the following steps to resolve the issue. Install the following things after creating the environment.

Chatbot Requirements

conda create -n yourenvname python=x.x anaconda conda activate yourenvname

python==3.6.7 rasa_core==0.9.6 rasa_nlu==0.14.4 spacy==2.0.18 pandas==0.22.0 sklearn_crfsuite== 0.3.6

EN-> python -m spacy download en(On anaconda prompt)

0reactions
mohammed-Emadcommented, May 19, 2022

Hello, After trying Linux and Colab with Python3.7 version, some similar problems appeared, the solution was to remove tensorflow, and let Rasa choose the version that suits her I chose the following versions after several trials, and found them to work.

!pip -q uninstall -y tensorflow
!pip -q install rasa_nlu[spacy]==0.14.0
!pip -q install  rasa_core==0.14.3 

Note you may need to update the pika

!pip install pika -U 

You should try it first, you may not need to update it Finally if you are on Colab don’t forget to restart Runtime Hope that helps. good luck.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rasa.core.agent import Agent Issue - Rasa Open Source
I am using Rasa Version 2.1.0 and I seem to be getting an issue when I import Agent. This is the error I...
Read more >
Python RASA - Error "object() takes no parameters" while ...
I had faced a similar issue. Installing the following libraries with the version should resolve the error: python==3.6.7; rasa_core==0.9.6 ...
Read more >
How to use the rasa.core.agent.Agent function in rasa - Snyk
To help you get started, we've selected a few rasa.core.agent. ... Snyk Code to scan source code in minutes - no build needed...
Read more >
Building a Rasa chat bot on Google Colab | by usman - Medium
The Agent module is used to load the file and passed to the 'agent' model. The 'agent' model is trained with the data...
Read more >
Chatbots Using Python and Rasa - GeeksforGeeks
2020-07-31 22:56:02 INFO rasa.core.agent - Persisted model to 'C:\Users\Pawan\AppData\Local\Temp\tmpk26900vo\core' Core model training ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found