Comments (12)
Interesting, I think I've seen this error before. Let me think about this for a second.
from ray.
Can you also share the output of python setup.py install
(from the ray/python/
directory)?
Also, you might try running python setup.py develop
from the ray/python/
directory and see if that is any different.
from ray.
Oh, I just noticed that you are using Python 3.5 to import ray, but some of the compilation is being done against Python 2.7. That's the problem.
Want to try installing Anaconda 3.5, making sure that which python
finds the Anaconda Python that you just installed?
Then I'd wipe the whole ray/
directory, clone it again, and do python setup.py install
again. If that doesn't work, can you share the output again?
from ray.
from ray.
from ray.
Can you try opening a new terminal and seeing if which python
gives you Anaconda? If not, then you will have to manually add Anaconda to your path, e.g., add something like
export PATH="$HOME/anaconda/bin:$PATH"
to the end of your ~/.bash_profile
.
Can you try that?
from ray.
I just noticed that you're running Python
with a capital P
. Can you instead run it with a lowercase p
and see if you can import ray?
When ray is being installed, it compiles against the version of python that is being used by the python
command. Can you verify that that is the problem?
from ray.
Also, what are the outputs of which python
and which Python
?
from ray.
from ray.
Ok, what if you remove Anaconda from your path and rerun the which
commands?
Anyway, let me know if reinstalling Ray using Anaconda solves the problem (and after wiping and recloning the ray directory).
from ray.
from ray.
Great, glad to hear it!
from ray.
Related Issues (20)
- Release test rllib_learner_group_checkpointing_multinode.aws failed HOT 2
- CI test darwin://python/ray/dashboard:modules/job/tests/test_https_connection is consistently_failing HOT 5
- Release test chaos_dataset_shuffle_sort_1tb.aws failed HOT 2
- [Ray Data] read_binary_files does not load data from S3 in parallel HOT 2
- [Core] GCS FT lost all the old job history after head node recovery HOT 1
- [Serve] Allow Serve+KubeRay to handle dynamically-created Serve applications smoothly HOT 11
- [Doc] [Polish] Front page video box looks awkwardly stretched HOT 5
- [Doc] [Polish] Front page icons appear blurry and off-center HOT 4
- [doc] [splash page] Components under Scaling with Ray are misaligned
- [Doc] Add the version number to the docs to the primary sidebar
- [Data] Can't return ragged list-of-lists from my transformation
- CI test darwin://python/ray/tests:test_scheduling_performance is flaky HOT 1
- [Build] Protobuf version selected by bazel doesn't compile
- [Ray data] [batch inference] cpu resources in cluster cannot be fully utilized when running stable diffusion batch inference task.
- [Dashboard] can not see stack trace error when sudo is not found
- [RLlib] ValueError when environment returning torch tensor
- Official Ray Docker image Error on Raspberry Pi HOT 2
- [Ray Clusters] Azure subscription id is required in yaml to get-head-ip
- [Tune] ASHA seems cannot be used
- `ray[tune]==2.10.0` bug AttributeError: module 'ray.tune' has no attribute 'is_session_enabled' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ray.