Closed AlphaLX closed 1 year ago
Does this occur with the development version of reticulate?
This type of error occurs with conda because conda activation scripts have the convention of starting with the shebang #!/bin/sh
, but are written to only work with /bin/bash
. We recently adapted in reticulate to ignore the shebang and directly invoke bash as needed.
Does this occur with the development version of reticulate?
This type of error occurs with conda because conda activation scripts have the convention of starting with the shebang
#!/bin/sh
, but are written to only work with/bin/bash
. We recently adapted in reticulate to ignore the shebang and directly invoke bash as needed.
Yes, thx very much. I found it is due to the reticulate version, and updating reticulate 1.25 to 1.28 fix the issue.
Hi, I meet an issue when using the tensorflow package, and I don't know how to fix it.
/tmp/Rtmp0aiAQx/fileaf6515d3a1b7.sh: 4: /home/lixuan/anaconda3/envs/py38/etc/conda/deactivate.d/deactivate-r-base.sh: [[: not found /tmp/Rtmp0aiAQx/fileaf6515d3a1b7.sh: 5: /home/lixuan/anaconda3/envs/py38/etc/conda/activate.d/activate-r-base.sh: [[: not found /tmp/Rtmp0aiAQx/fileaf6515e51f1c.sh: 4: /home/lixuan/anaconda3/envs/py38/etc/conda/deactivate.d/deactivate-r-base.sh: [[: not found /tmp/Rtmp0aiAQx/fileaf6515e51f1c.sh: 5: /home/lixuan/anaconda3/envs/py38/etc/conda/activate.d/activate-r-base.sh: [[: not found 2023-04-17 19:24:02.031170: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0 TensorFlow v2.4.1 (~/anaconda3/envs/py38/lib/python3.8/site-packages/tensorflow) Python v3.8 (~/anaconda3/envs/py38/bin/python3)