//
Search

230324_(진행중)_연구노트

→ 지문인식 소스코드 돌리기
젯슨나노에 사이킷런 설치
pip3 install scikit-learn
→ 실패
sudo -H pip3 install scikit-learn
→ 실패
pip install -U scikit-image==0.17.2
pip install -U scikit-learn
4. Scikit-learn & Seaborn 설치 @terminal
>> pip3 install --upgrade setuptools   
>> sudo pip3 install -U setuptools   
>> sudo pip3 uninstall numpy
>> pip3 install numpy==1.16.4  ### NUMPY version should be 1.16.4
>> sudo -H pip3 install scikit-learn
>> sudo pip3 install seaborn
pip install -U scikit-learn==0.23
test4611@test4611:~/Desktop/finger/fingerprint_recognition-master$ python3 1.py ERROR: ld.so: object '/PATH/TO/libgomp-d22c30c5.so.1.0.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/PATH/TO/libgomp-d22c30c5.so.1.0.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. 2023-03-17 16:30:39.884922: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.2 ERROR: ld.so: object '/PATH/TO/libgomp-d22c30c5.so.1.0.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Using TensorFlow backend. Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/sklearn/__check_build/__init__.py", line 44, in <module> from ._check_build import check_build # noqa ImportError: /usr/local/lib/python3.6/dist-packages/sklearn/__check_build/../../scikit_learn.libs/libgomp-d22c30c5.so.1.0.0: cannot allocate memory in static TLS block During handling of the above exception, another exception occurred: Traceback (most recent call last): File "1.py", line 6, in <module> from sklearn.utils import shuffle File "/usr/local/lib/python3.6/dist-packages/sklearn/__init__.py", line 81, in <module> from . import __check_build # noqa: F401 File "/usr/local/lib/python3.6/dist-packages/sklearn/__check_build/__init__.py", line 46, in <module> raise_build_error(e) File "/usr/local/lib/python3.6/dist-packages/sklearn/__check_build/__init__.py", line 41, in raise_build_error %s""" % (e, local_dir, ''.join(dir_content).strip(), msg)) ImportError: /usr/local/lib/python3.6/dist-packages/sklearn/__check_build/../../scikit_learn.libs/libgomp-d22c30c5.so.1.0.0: cannot allocate memory in static TLS block ___________________________________________________________________________ Contents of /usr/local/lib/python3.6/dist-packages/sklearn/__check_build: _check_build.cpython-36m-aarch64-linux-gnu.so__init__.py setup.py __pycache__ ___________________________________________________________________________ It seems that scikit-learn has not been built correctly. If you have installed scikit-learn from source, please do not forget to build the package before using it: run `python setup.py install` or `make` in the source directory. If you have used an installer, please check that it is suited for your Python version, your operating system and your platform.
ABAP
복사
사이킷런을 설치하려고 콘다 설치하면 기존걸 다 날라가는 현상에서 정체됨