import error: cannot import beamsearch from

asked 2020-04-11 03:03:36 -0600

I've installed beam I'm getting error as 'ImportError: cannot import name 'BeamSearch' from 'beam'.' while I'm importing

   from beam import BeamSearch

how to resolve this problem.. It's causing more errors from beam import BeamSearch File

 "C:\Users\SONALI\Anaconda3\envs\story\lib\site-packages\beam__init__.py", line 24, in _config = Config.resolve() File "C:\Users\SONALI\Anaconda3\envs\story\lib\site-packages\beam\config.py", line 164, in resolve raise RuntimeError('Unable to locate config file') RuntimeError: Unable to locate config file
edit retag flag offensive close merge delete

Comments

This is a RabbitMQ question. How is it related to OpenStack?

Bernd Bausch gravatar imageBernd Bausch ( 2020-04-11 07:23:15 -0600 )edit

sir, If you have anwer please let me know..

SonaliJadhav29 gravatar imageSonaliJadhav29 ( 2020-04-12 01:14:12 -0600 )edit

I am a moderator here, and this is a site where you can ask questions about OpenStack. That's why I wanted to know if your question is related to OpenStack or about AMQP programming. In the latter case, I suppose you should use a RabbitMQ forum instead, or wait for an answer on Stack Overflow.

Bernd Bausch gravatar imageBernd Bausch ( 2020-04-12 01:49:42 -0600 )edit

I have an opinion about your problem, though. Obviously you need to create a configuration file and put it at a certain location. It is not at the location that beam expects it to be.

Bernd Bausch gravatar imageBernd Bausch ( 2020-04-12 01:51:10 -0600 )edit