balloon-learning-environment icon indicating copy to clipboard operation
balloon-learning-environment copied to clipboard

Running BLE on Windows 10 (Home) Environment

Open joshcarterhi opened this issue 3 years ago • 2 comments

Very interested in running your tool. Tried running your sanity check via Pycharm on windows 10

` from balloon_learning_environment.env import balloon_env

env = balloon_env.BalloonEnv() ` got error not jax library. Installed jax 0.3.14 via pip.

But got error saying no jaxlib. Was unable to install jaxlib using basic install (e.g., pip install jaxllib), and learned there are issues using jax and jaxlib running on windows. Tried the work around:

pip install "jax[cpu]===0.3.14" -f https://whls.blob.core.windows.net/unstable/index.html --use-deprecated legacy-resolver

Now I have jax/jaxlib 0.3.14 installed but problems continue. Last run gave lots of warnings and

( File "C:\Users\Craig\anaconda3\envs\bmrl2\lib\site-packages\tensorflow_probability\python\internal\backend\jax\ops.py", line 676, in instancecheck return isinstance(instance, jax.Array) AttributeError: module 'jax' has no attribute 'Array'

I can detail errors but before climbing this mountain, can you tell me if the simulation code can run on windows?

If not I'll look into a VM for my PC.

Thank You Craig

joshcarterhi avatar Jan 25 '23 23:01 joshcarterhi

We have tested the library exclusively on linux machines, but as far as I'm aware there is nothing in our library that is incompatible with windows. However, some of the libraries that we depend on might be more difficult to install, such as jax. Unfortunately, I don't have access to a windows machine to test out installation.

It looks like jax has windows-specific instructions on their github page here: https://github.com/google/jax#installation. If you run into further issues let me know and I'll see what I can do to help.

joshgreaves avatar Jan 26 '23 18:01 joshgreaves

Joshua,

Thanks for getting back to me, just back from Travel. I will let you know how it goes, I was having problems with Jax. I tried to do an install without (I'm guessing here), any support for graphics cards. I think I'm past that.

Hey good first name by the way.

v/r Josh

On Thu, Jan 26, 2023 at 8:45 AM Joshua Greaves @.***> wrote:

We have tested the library exclusively on linux machines, but as far as I'm aware there is nothing in our library that is incompatible with windows. However, some of the libraries that we depend on might be more difficult to install, such as jax. Unfortunately, I don't have access to a windows machine to test out installation.

It looks like jax has windows-specific instructions on their github page here: https://github.com/google/jax#installation. If you run into further issues let me know and I'll see what I can do to help.

— Reply to this email directly, view it on GitHub https://github.com/google/balloon-learning-environment/issues/3#issuecomment-1405444557, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL4TKRHZQ7NCGAEWCUVEHRLWULA4ZANCNFSM6AAAAAAUG44RU4 . You are receiving this because you authored the thread.Message ID: @.***>

joshcarterhi avatar Feb 04 '23 22:02 joshcarterhi