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.

Thrift Install fails on Ubuntu 16

See original GitHub issue

On the latest AWS DL AMI, I get strange errors trying to install ray from source. Not sure how to debug them:

  Replacing /home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/ray/workers/__pycache__/__init__.cpython-36.pyc
  Replacing /home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/ray/workers/__pycache__/default_worker.cpython-36.pyc
  Replacing /home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/ray/workers/default_worker.py
Cleaning up...
Command "/home/ubuntu/anaconda3/envs/tensorflow_p36/bin/python -c "import setuptools, tokenize;__file__='/home/ubuntu/ray/python/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps" failed with error code 1 in /home/ubuntu/ray/python/

pip._internal.exceptions.InstallationError: Command "/home/ubuntu/anaconda3/envs/tensorflow_p36/bin/python -c "import setuptools, tokenize;__file__='/home/ubuntu/ray/python/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps" failed with error code 1 in /home/ubuntu/ray/python/

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
dmadekacommented, Jan 22, 2019

Fixed with the change outlined here - https://github.com/ray-project/ray/issues/1553

0reactions
dmadekacommented, Jan 22, 2019

@ericl Is this a known issue? Or a trivial one - im not sure, google didnt seem to help

Read more comments on GitHub >

github_iconTop Results From Across the Web

Thrift fails to build in Ubuntu 16.04 - Julia Discourse
The commands Pkg.init() Pkg.add("Thrift") fail with the error message Making install in src make[2]: Entering directory ...
Read more >
make command fails over ubuntu 16.04 for thrift server
I have downloaded apache thrift. step one move to thrift folder -- and run below commands over terminal 1- ./bootstrap.sh 2- .
Read more >
How to install & Configure Apache Thrift in Ubuntu 16.04
The Apache Thrift software framework, for scalable cross-language ... To verify that you have successfully installed Thrift just type>> thrift –version.
Read more >
How to install thrift-compiler On Ubuntu 16.04 Lts? Uninstall ...
In this tutorial you will learn how to update and install thrift-compiler On Ubuntu 16.04 Lts? Learn how to uninstall and completely remove...
Read more >
Thrift installation — Thrift Tutorial 1.0 documentation
On Ubuntu Linux for example you just need to first install the dependencies and then you are ready to install Thrift. Install the...
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