-
Notifications
You must be signed in to change notification settings - Fork 611
Fix numpy issue libstdc++.so.6 not found #3080
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for pytorch-fbgemm-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
This pull request was exported from Phabricator. Differential Revision: D62210034 |
This pull request was exported from Phabricator. Differential Revision: D62210034 |
Summary: Pull Request resolved: pytorch#3080 Differential Revision: D62210034
c0feae2
to
ab30a2d
Compare
This pull request was exported from Phabricator. Differential Revision: D62210034 |
Summary: Pull Request resolved: pytorch#3080 Differential Revision: D62210034
ab30a2d
to
2f243e0
Compare
This pull request was exported from Phabricator. Differential Revision: D62210034 |
2f243e0
to
30aedb2
Compare
Summary: Pull Request resolved: pytorch#3080 `conda-forge` on Nova installs `numpy` version 2.0.0 which causes error ``` /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found ``` However, the default version installed by `conda-forge` elsewhere would be 2.0.2 which works fine. Full error below: ``` Please note and check the following: * The Python version is: Python3.9 from "/__w/_temp/conda_environment_10708405243/bin/python" * The NumPy version is: "2.0.0" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/numpy/_core/_multiarray_umath.cpython-39-x86_64-linux-gnu.so) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/__w/FBGEMM/FBGEMM/pytorch/FBGEMM/fbgemm_gpu/setup.py", line 21, in <module> import torch File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/torch/__init__.py", line 1707, in <module> from torch import storage as storage # usort: skip File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/torch/storage.py", line 23, in <module> import numpy as np File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/numpy/__init__.py", line 119, in <module> raise ImportError(msg) from e ImportError: Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python interpreter from there. ``` https://github.com/pytorch/FBGEMM/actions/runs/10708405243/job/29690649284 Reviewed By: q10, sryap Differential Revision: D62210034
This pull request was exported from Phabricator. Differential Revision: D62210034 |
Summary: Pull Request resolved: pytorch#3080 `conda-forge` on Nova installs `numpy` version 2.0.0 which causes error ``` /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found ``` However, the default version installed by `conda-forge` elsewhere would be 2.0.2 which works fine. Full error below: ``` Please note and check the following: * The Python version is: Python3.9 from "/__w/_temp/conda_environment_10708405243/bin/python" * The NumPy version is: "2.0.0" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/numpy/_core/_multiarray_umath.cpython-39-x86_64-linux-gnu.so) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/__w/FBGEMM/FBGEMM/pytorch/FBGEMM/fbgemm_gpu/setup.py", line 21, in <module> import torch File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/torch/__init__.py", line 1707, in <module> from torch import storage as storage # usort: skip File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/torch/storage.py", line 23, in <module> import numpy as np File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/numpy/__init__.py", line 119, in <module> raise ImportError(msg) from e ImportError: Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python interpreter from there. ``` https://github.com/pytorch/FBGEMM/actions/runs/10708405243/job/29690649284 Reviewed By: q10, sryap Differential Revision: D62210034
30aedb2
to
b830e68
Compare
This pull request was exported from Phabricator. Differential Revision: D62210034 |
Summary: X-link: facebookresearch/FBGEMM#175 Pull Request resolved: pytorch#3080 `conda-forge` on Nova installs `numpy` version 2.0.0 which causes error ``` /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found ``` However, the default version installed by `conda-forge` elsewhere would be 2.0.2 which works fine. Full error below: ``` Please note and check the following: * The Python version is: Python3.9 from "/__w/_temp/conda_environment_10708405243/bin/python" * The NumPy version is: "2.0.0" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/numpy/_core/_multiarray_umath.cpython-39-x86_64-linux-gnu.so) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/__w/FBGEMM/FBGEMM/pytorch/FBGEMM/fbgemm_gpu/setup.py", line 21, in <module> import torch File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/torch/__init__.py", line 1707, in <module> from torch import storage as storage # usort: skip File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/torch/storage.py", line 23, in <module> import numpy as np File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/numpy/__init__.py", line 119, in <module> raise ImportError(msg) from e ImportError: Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python interpreter from there. ``` https://github.com/pytorch/FBGEMM/actions/runs/10708405243/job/29690649284 Reviewed By: q10, sryap Differential Revision: D62210034
b830e68
to
04eafbe
Compare
This pull request was exported from Phabricator. Differential Revision: D62210034 |
Summary: X-link: facebookresearch/FBGEMM#175 Pull Request resolved: pytorch#3080 `conda-forge` on Nova installs `numpy` version 2.0.0 which causes error ``` /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found ``` However, the default version installed by `conda-forge` elsewhere would be 2.0.2 which works fine. Full error below: ``` Please note and check the following: * The Python version is: Python3.9 from "/__w/_temp/conda_environment_10708405243/bin/python" * The NumPy version is: "2.0.0" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/numpy/_core/_multiarray_umath.cpython-39-x86_64-linux-gnu.so) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/__w/FBGEMM/FBGEMM/pytorch/FBGEMM/fbgemm_gpu/setup.py", line 21, in <module> import torch File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/torch/__init__.py", line 1707, in <module> from torch import storage as storage # usort: skip File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/torch/storage.py", line 23, in <module> import numpy as np File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/numpy/__init__.py", line 119, in <module> raise ImportError(msg) from e ImportError: Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python interpreter from there. ``` https://github.com/pytorch/FBGEMM/actions/runs/10708405243/job/29690649284 Reviewed By: q10, sryap Differential Revision: D62210034
04eafbe
to
6f629db
Compare
This pull request was exported from Phabricator. Differential Revision: D62210034 |
Summary: X-link: facebookresearch/FBGEMM#175 Pull Request resolved: pytorch#3080 `conda-forge` on Nova installs `numpy` version 2.0.0 which causes error ``` /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found ``` However, the default version installed by `conda-forge` elsewhere would be 2.0.2 which works fine. Full error below: ``` Please note and check the following: * The Python version is: Python3.9 from "/__w/_temp/conda_environment_10708405243/bin/python" * The NumPy version is: "2.0.0" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/numpy/_core/_multiarray_umath.cpython-39-x86_64-linux-gnu.so) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/__w/FBGEMM/FBGEMM/pytorch/FBGEMM/fbgemm_gpu/setup.py", line 21, in <module> import torch File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/torch/__init__.py", line 1707, in <module> from torch import storage as storage # usort: skip File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/torch/storage.py", line 23, in <module> import numpy as np File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/numpy/__init__.py", line 119, in <module> raise ImportError(msg) from e ImportError: Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python interpreter from there. ``` https://github.com/pytorch/FBGEMM/actions/runs/10708405243/job/29690649284 Reviewed By: q10, sryap Differential Revision: D62210034
6f629db
to
8797422
Compare
This pull request was exported from Phabricator. Differential Revision: D62210034 |
Summary: X-link: facebookresearch/FBGEMM#175 Pull Request resolved: pytorch#3080 `numpy` package on `conda-forge` causes error: ``` /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found ``` Remove installation from `conda` and let it be installed by `pip`. https://github.com/pytorch/FBGEMM/actions/runs/10712252806/job/29702380694 Full error below: ``` Please note and check the following: * The Python version is: Python3.9 from "/__w/_temp/conda_environment_10708405243/bin/python" * The NumPy version is: "2.0.0" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/numpy/_core/_multiarray_umath.cpython-39-x86_64-linux-gnu.so) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/__w/FBGEMM/FBGEMM/pytorch/FBGEMM/fbgemm_gpu/setup.py", line 21, in <module> import torch File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/torch/__init__.py", line 1707, in <module> from torch import storage as storage # usort: skip File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/torch/storage.py", line 23, in <module> import numpy as np File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/numpy/__init__.py", line 119, in <module> raise ImportError(msg) from e ImportError: Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python interpreter from there. ``` https://github.com/pytorch/FBGEMM/actions/runs/10708405243/job/29690649284 Reviewed By: q10, sryap Differential Revision: D62210034
8797422
to
b102498
Compare
This pull request was exported from Phabricator. Differential Revision: D62210034 |
Summary: X-link: facebookresearch/FBGEMM#175 Pull Request resolved: pytorch#3080 `numpy` package on `conda-forge` causes error: ``` /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found ``` Remove installation from `conda` and let it be installed by `pip`. https://github.com/pytorch/FBGEMM/actions/runs/10712252806/job/29702380694 Full error below: ``` Please note and check the following: * The Python version is: Python3.9 from "/__w/_temp/conda_environment_10708405243/bin/python" * The NumPy version is: "2.0.0" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/numpy/_core/_multiarray_umath.cpython-39-x86_64-linux-gnu.so) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/__w/FBGEMM/FBGEMM/pytorch/FBGEMM/fbgemm_gpu/setup.py", line 21, in <module> import torch File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/torch/__init__.py", line 1707, in <module> from torch import storage as storage # usort: skip File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/torch/storage.py", line 23, in <module> import numpy as np File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/numpy/__init__.py", line 119, in <module> raise ImportError(msg) from e ImportError: Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python interpreter from there. ``` https://github.com/pytorch/FBGEMM/actions/runs/10708405243/job/29690649284 Reviewed By: q10, sryap Differential Revision: D62210034
b102498
to
603027b
Compare
Summary: X-link: facebookresearch/FBGEMM#175 Pull Request resolved: pytorch#3080 `numpy` package on `conda-forge` causes error: ``` /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found ``` Remove installation from `conda` and let it be installed by `pip`. https://github.com/pytorch/FBGEMM/actions/runs/10712252806/job/29702380694 Full error below: ``` Please note and check the following: * The Python version is: Python3.9 from "/__w/_temp/conda_environment_10708405243/bin/python" * The NumPy version is: "2.0.0" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/numpy/_core/_multiarray_umath.cpython-39-x86_64-linux-gnu.so) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/__w/FBGEMM/FBGEMM/pytorch/FBGEMM/fbgemm_gpu/setup.py", line 21, in <module> import torch File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/torch/__init__.py", line 1707, in <module> from torch import storage as storage # usort: skip File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/torch/storage.py", line 23, in <module> import numpy as np File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/numpy/__init__.py", line 119, in <module> raise ImportError(msg) from e ImportError: Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python interpreter from there. ``` https://github.com/pytorch/FBGEMM/actions/runs/10708405243/job/29690649284 Reviewed By: q10, sryap Differential Revision: D62210034
This pull request was exported from Phabricator. Differential Revision: D62210034 |
603027b
to
2fb2036
Compare
This pull request has been merged in 75ac3c0. |
Summary: Pull Request resolved: facebookresearch/FBGEMM#175 X-link: pytorch#3080 `numpy` package on `conda-forge` causes error: ``` /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found ``` Remove installation from `conda` and let it be installed by `pip`. https://github.com/pytorch/FBGEMM/actions/runs/10712252806/job/29702380694 Full error below: ``` Please note and check the following: * The Python version is: Python3.9 from "/__w/_temp/conda_environment_10708405243/bin/python" * The NumPy version is: "2.0.0" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/numpy/_core/_multiarray_umath.cpython-39-x86_64-linux-gnu.so) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/__w/FBGEMM/FBGEMM/pytorch/FBGEMM/fbgemm_gpu/setup.py", line 21, in <module> import torch File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/torch/__init__.py", line 1707, in <module> from torch import storage as storage # usort: skip File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/torch/storage.py", line 23, in <module> import numpy as np File "/__w/_temp/conda_environment_10708405243/lib/python3.9/site-packages/numpy/__init__.py", line 119, in <module> raise ImportError(msg) from e ImportError: Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python interpreter from there. ``` https://github.com/pytorch/FBGEMM/actions/runs/10708405243/job/29690649284 Reviewed By: q10, sryap Differential Revision: D62210034 fbshipit-source-id: 447fe0b53843bb01779a335b8c13cca7eb42d0ae
Differential Revision: D62210034