GithubHelp home page GithubHelp logo

Comments (3)

cenzhao avatar cenzhao commented on April 26, 2024 1

looks like you installed apache/thrift, what you need is fbthrift.

https://github.com/facebook/fbthrift
can you try it again?

from openr.

Vijayendra-Pretlist avatar Vijayendra-Pretlist commented on April 26, 2024

Hi
I analysed this issue further , This seems to be a python version issue . I ran below commands
cd openr/openr/py
python3 setup.py build
sudo python3 setup.py install

Then I installed thrift manually
git clone https://github.com/apache/thrift.git
cd thrift/lib/py
sudo python3 setup.py install

Now I am getting following log
Traceback (most recent call last):
File "/usr/local/bin/breeze", line 9, in
load_entry_point('py-openr==1.0', 'console_scripts', 'breeze')()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2569, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2229, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2235, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python3.5/dist-packages/py_openr-1.0-py3.5.egg/openr/cli/breeze.py", line 22, in
File "/usr/local/lib/python3.5/dist-packages/py_openr-1.0-py3.5.egg/openr/cli/clis/config.py", line 14, in
File "/usr/local/lib/python3.5/dist-packages/py_openr-1.0-py3.5.egg/openr/cli/commands/config.py", line 11, in
File "/usr/local/lib/python3.5/dist-packages/py_openr-1.0-py3.5.egg/openr/AllocPrefix/ttypes.py", line 10, in
ImportError: No module named 'thrift.util'

I am not able to resolve the dependency named 'thrift.util'

from openr.

saifhhasan avatar saifhhasan commented on April 26, 2024

@Vijayendra-Pretlist - Were you able to resolve the issue by installing fbthrift ? Close the issue if issue is resolved.

from openr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.