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)
- [Core] `ray.get_runtime_context().namespace` returns incorrect namespace in Actor Tasks HOT 1
- Release test serve_scale_replicas.aws failed HOT 2
- Release test chaos_dataset_shuffle_push_based_sort_1tb.aws failed HOT 1
- Release test serve_autoscaling_load_test.aws failed HOT 4
- RLlib Custom Gymnasium Example Fails HOT 6
- [RLlib] missing __init__ file
- RayService GCS not able to use AWS Elastic Cache Serverless Instance configured with Encryption in Flight (TLS) HOT 2
- [<Ray component: Core|RLlib|etc...>] HOT 1
- [Data] Support task reassignment in actor_pool_map_operator to improve fault tolerance
- [serve] strict enforcement of max ongoing requests doesn't work with lightweight update
- [Data] Ray Data prematurely closes progress bar
- [Train][Tune] Add stacklevel for all `logger.warning` calls.
- [Data] Ray Data progress bars left partially completed after execution completes on Jupyter notebook
- Release test dataset_shuffle_sort_1tb.aws failed HOT 4
- [core] ObjectRef-to-ActorHandle losts ref to actor after `ray.get` HOT 1
- CI test linux://python/ray/workflow:examples/comparisons/prefect/compute_fib_workflow is consistently_failing HOT 5
- RLlib get env object from (PPO) algorithm HOT 1
- [core] Using .options(concurrency_group) does not work if there is a task already running on the main thread HOT 1
- Adjust GitHub project description
- tmp directory path issue between Windows client and Linux Ray cluster head
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.