패키지를 삭제했는데 바로 재설치가 되서

캐시되었다는 말을 검색해보니 cache purge를 통해 완전히 날리고 설치할수 있다고 한다.

 

해보니 확실히 처음부터 하긴 한다.

$ time CMAKE_BUILD_PARALLEL_LEVEL=3 pip3 uninstall --break-system-packages -v dlibFound existing installation: dlib 20.0.0
Uninstalling dlib-20.0.0:
  Would remove:
    /home/minimonk/.local/lib/python3.12/site-packages/_dlib_pybind11.cpython-312-aarch64-linux-gnu.so
    /home/minimonk/.local/lib/python3.12/site-packages/dlib-20.0.0.dist-info/INSTALLER
    /home/minimonk/.local/lib/python3.12/site-packages/dlib-20.0.0.dist-info/METADATA
    /home/minimonk/.local/lib/python3.12/site-packages/dlib-20.0.0.dist-info/RECORD
    /home/minimonk/.local/lib/python3.12/site-packages/dlib-20.0.0.dist-info/WHEEL
    /home/minimonk/.local/lib/python3.12/site-packages/dlib-20.0.0.dist-info/licenses/LICENSE.txt
    /home/minimonk/.local/lib/python3.12/site-packages/dlib-20.0.0.dist-info/top_level.txt
    /home/minimonk/.local/lib/python3.12/site-packages/dlib/__init__.py
    /home/minimonk/.local/lib/python3.12/site-packages/dlib/__pycache__/__init__.cpython-312.pyc
  Will actually move:
    /home/minimonk/.local/lib/python3.12/site-packages/_dlib_pybind11.cpython-312-aarch64-linux-gnu.so
    /home/minimonk/.local/lib/python3.12/site-packages/dlib-20.0.0.dist-info/
    /home/minimonk/.local/lib/python3.12/site-packages/dlib/
Proceed (Y/n)? y
  Removing file or directory /home/minimonk/.local/lib/python3.12/site-packages/_dlib_pybind11.cpython-312-aarch64-linux-gnu.so
  Removing file or directory /home/minimonk/.local/lib/python3.12/site-packages/dlib-20.0.0.dist-info/
  Removing file or directory /home/minimonk/.local/lib/python3.12/site-packages/dlib/
  Successfully uninstalled dlib-20.0.0

real    0m4.584s
user    0m2.585s
sys     0m0.381s

$ time CMAKE_BUILD_PARALLEL_LEVEL=3 pip3 install --break-system-packages -v dlib
Using pip 24.0 from /usr/lib/python3/dist-packages/pip (python 3.12)
Defaulting to user installation because normal site-packages is not writeable
Collecting dlib
  Using cached dlib-20.0.0-cp312-cp312-linux_aarch64.whl
Installing collected packages: dlib
Successfully installed dlib-20.0.0

real    0m4.876s
user    0m4.363s
sys     0m0.347s


pip3 cache purge
Files removed: 54

 

[링크 : https://ufris.tistory.com/61]

'Programming > python(파이썬)' 카테고리의 다른 글

python simsimd  (0) 2025.08.28
python 원하는 버전 설치 및 연결하기  (0) 2025.08.26
pip install cmake build multi core support  (0) 2025.08.13
python 빌드 정보  (0) 2025.08.04
python용 얼굴탐지, 인식  (0) 2025.08.04
Posted by 구차니

pip로 설치되는 녀석중 빌드가 필요한 녀석이 있는데

dlib가 원인을 알수 없으나(?) odroid-c2 / armbian 에서 1코어만 빌드하지만

nxp imx8mp evk 에서는 3코어로 빌드해서 어떤 옵션을 주어야 되는지

웬만한건 다 검색하고 해봐도 안되서 cmake 환경변수로 찾아보니 먼가 나왔고 시도하니 된다!

 

$ pip3 install  --break-system-packages -v dlib
  Invoking CMake build: 'cmake --build . --config Release -- -j1'
  [  1%] Building CXX object dlib_build/CMakeFiles/dlib.dir/base64/base64_kernel_1.cpp.o

 

CMAKE_BUILD_PARALLEL_LEVEL=4 pip3 install  --break-system-packages -v dlib
  Invoking CMake build: 'cmake --build . --config Release -- -j4'
  [  3%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bit_stream/bit_stream_kernel_1.cpp.o
  [  3%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bigint/bigint_kernel_2.cpp.o
  [  2%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bigint/bigint_kernel_1.cpp.o

[링크 : https://cmake.org/cmake/help/latest/envvar/CMAKE_BUILD_PARALLEL_LEVEL.html#cmake-build-parallel-level]

'Programming > python(파이썬)' 카테고리의 다른 글

python 원하는 버전 설치 및 연결하기  (0) 2025.08.26
pip 패키지 완전 삭제하기  (0) 2025.08.13
python 빌드 정보  (0) 2025.08.04
python용 얼굴탐지, 인식  (0) 2025.08.04
python struct  (0) 2024.12.13
Posted by 구차니

아침에 출근하려는데 바람이 빠져서 찌끄덕 소리가 나길래

출근길 가장 가까운 공업사 들러서 휠에 녹슬어서 바람새는것 같다고 해서

바퀴 빼고 갈고 다시 장착

 

회사와서 1시간 반 정도? 있다가 내려가보니 바람이 거의 빠지고

점심먹고 가보니 완전히 빠져서 바닥에 철푸덕

 

그래서 부랴부랴 반차내고

회사 차에 있는 공기주입 펌프로 바람 넣다가 소켓 분배기 태워먹고(소비전력이 높아서..)

10psi 정도만 넣고 지하 3층에서 지하 2층가서 40psi 까지 공업사 오니 아까 처럼 제법 빠진 상태

 

그래서 휠을 빼고 보니 측면에 처참하게 터져있었다.

와... 이정도로 심해서 살아온게 용하네.. 수준

 

아무튼 스페어 타이어로 교체하고 타이어 파는데서 교체하고 끝

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

하루 늦은.. 기절?  (0) 2025.08.17
시승(?)  (1) 2025.08.15
  (0) 2025.08.03
더워서 멀 못해먹겠네  (0) 2025.07.27
중문 수리  (0) 2025.07.23
Posted by 구차니

드래그 하기에는 너무 길거나 버벅댈 때, 영역 선택 후, 아래의 메뉴에서 진행하면 된다.

 

귀찮으면 자동 채우기 클릭!

 

그러면 드래그 하듯 자동으로 증가하면서 채워진다.

 

그나저나 한글번역 왜 이따구냐.. -_-

 

편집 - 채우기 - 연속

[링크 : https://help.libreoffice.org/latest/ko/text/scalc/guide/calc_series.html]

 

영어 페이지 가서 메뉴 겨우 찾음 -_-

Sheet - Fill Cells - Series.

[링크 : https://help.libreoffice.org/latest/en-US/text/scalc/guide/calc_series.html]

 

 
Posted by 구차니
Programming/C++ STL2025. 8. 12. 17:30

c의 runtime 줄여서 crt0.o에 대응하는게 libstdc++.a 이려나?

 

/opt/st/stm32cubeide_1.16.0/plugins/cohttp://m.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.linux64_1.0.200.202406132123/tools/arm-none-eabi/lib/arm/v5te/hard$ ls -al
합계 21968
drwxrwxr-x 3 root root    4096  9월  6  2024 .
drwxrwxr-x 4 root root    4096  9월  6  2024 ..
-rw-rw-r-- 1 root root     573  6월 29  2024 aprofile-validation-v2m.specs
-rw-rw-r-- 1 root root     557  6월 29  2024 aprofile-validation.specs
-rw-rw-r-- 1 root root     555  6월 29  2024 aprofile-ve-v2m.specs
-rw-rw-r-- 1 root root     539  6월 29  2024 aprofile-ve.specs
drwxrwxr-x 2 root root    4096  9월  6  2024 cpu-init
-rw-rw-r-- 1 root root    1580  6월 29  2024 crt0.o
-rw-rw-r-- 1 root root     195  6월 29  2024 iq80310.specs
-rw-rw-r-- 1 root root 1086406  6월 29  2024 libc.a
-rw-rw-r-- 1 root root  976432  6월 29  2024 libc_nano.a
-rw-rw-r-- 1 root root 5084062  6월 29  2024 libg.a
-rw-rw-r-- 1 root root 4641052  6월 29  2024 libg_nano.a
-rw-rw-r-- 1 root root    8432  6월 29  2024 libgloss-linux.a
-rw-rw-r-- 1 root root  477808  6월 29  2024 libm.a
-rw-rw-r-- 1 root root   26770  6월 29  2024 libnosys.a
-rw-rw-r-- 1 root root   19298  6월 29  2024 librdimon-v2m.a
-rw-rw-r-- 1 root root   19298  6월 29  2024 librdimon-v2m_nano.a
-rw-rw-r-- 1 root root   19270  6월 29  2024 librdimon.a
-rw-rw-r-- 1 root root   19270  6월 29  2024 librdimon_nano.a
-rw-rw-r-- 1 root root   17354  6월 29  2024 librdpmon.a
-rw-rw-r-- 1 root root 5670032  6월 29  2024 libstdc++.a
-rw-rw-r-- 1 root root    2527  6월 29  2024 libstdc++.a-gdb.py
-rw-rw-r-- 1 root root 3727838  6월 29  2024 libstdc++_nano.a
-rw-rw-r-- 1 root root  303506  6월 29  2024 libsupc++.a
-rw-rw-r-- 1 root root  239794  6월 29  2024 libsupc++_nano.a
-rw-rw-r-- 1 root root     960  6월 29  2024 linux-crt0.o
-rw-rw-r-- 1 root root     121  6월 29  2024 linux.specs
-rw-rw-r-- 1 root root     740  6월 29  2024 nano.specs
-rw-rw-r-- 1 root root     626  6월 29  2024 nano_c_standard_cpp.specs
-rw-rw-r-- 1 root root     277  6월 29  2024 nosys.specs
-rw-rw-r-- 1 root root     192  6월 29  2024 pid.specs
-rw-rw-r-- 1 root root    2348  6월 29  2024 rdimon-crt0-v2m.o
-rw-rw-r-- 1 root root    2372  6월 29  2024 rdimon-crt0.o
-rw-rw-r-- 1 root root     730  6월 29  2024 rdimon-v2m.specs
-rw-rw-r-- 1 root root     628  6월 29  2024 rdimon.specs
-rw-rw-r-- 1 root root    1624  6월 29  2024 rdpmon-crt0.o
-rw-rw-r-- 1 root root     147  6월 29  2024 rdpmon.specs
-rw-rw-r-- 1 root root     976  6월 29  2024 redboot-crt0.o
-rw-rw-r-- 1 root root    5868  6월 29  2024 redboot-syscalls.o
-rw-rw-r-- 1 root root    6119  6월 29  2024 redboot.ld
-rw-rw-r-- 1 root root     192  6월 29  2024 redboot.specs
-rw-rw-r-- 1 root root     426  6월 29  2024 standard_c_nano_cpp.specs

'Programming > C++ STL' 카테고리의 다른 글

cpp 그래픽 라이브러리  (0) 2025.04.22
cpp 기본 인자 prototype  (0) 2025.03.28
cpp std::to_string(int)  (0) 2025.02.20
cpp string 끝에 한글자 지우기  (0) 2025.02.06
cpp stoi (atoi)  (0) 2025.02.06
Posted by 구차니
하드웨어/pen tablet2025. 8. 12. 12:50

회전(rotation) 이라는 단어가 나와서 tilt랑 다른건가 해서 찾아봄

아무튼 pth-651이 구형 intuos pro 라서 2048 단계에 회전까진 안될수 있으니 마음을 비우는걸로..

 

[링크 : https://www.reddit.com/r/wacom/comments/ogoke4/what_tabletspens_support_tilt_and_rotation/]

   [링크 : https://www.youtube.com/watch?v=R0n7tRNf2JE]

[링크 : https://blog.naver.com/naroch/221547048855]

[링크 : https://estore.wacom.com/en-us/art-pen-kp701e2.html?srsltid=AfmBOoqbAo1JkZuMgwuuFoZdes2sozhAadFUd2v4N50HIwJxlBR3oN9f]

'하드웨어 > pen tablet' 카테고리의 다른 글

wacom 펜 도착!  (0) 2025.08.18
wacom 펜 설명이 왜 이러냐 -_-  (0) 2025.08.14
ubuntu wacom 타블렛 지원 .. part 2?  (1) 2025.08.12
xsetwacom with intuos pro  (0) 2025.08.08
wacom PTH-651 도착  (0) 2025.08.07
Posted by 구차니
하드웨어/pen tablet2025. 8. 12. 12:31

특정 앱을 지정하는게 아니라

앱에서 지정한대로 사용한다 라는 의미라고 ..

Notmare
4y ago
I could be wrongz but I think this means that it will allow the application in use to control what the button does.

jigpu
4y ago
This is exactly correct. Unfortunately, I'm not aware of any applications that have bothered to implement this feature, so the "Default" / "Application defined" option is basically equivalent to "None".

[링크 : https://www.reddit.com/r/wacom/comments/mclmql/how_to_set_default_aplication_on_wacom_buttons/]

 

app defined... 앱에서 정의된 대로라는 의미였네

An on screen display shows the layout of the tablet's buttons. Press each button on the tablet and choose one of these functions:

App defined
Show on-screen help
Switch monitor
Send keystroke

   [링크 : https://help.ubuntu.com/stable/ubuntu-help/wacom-map-buttons.html.en]

 

절대좌표는 터치가 아니라 펜 용 설정

Tablet Mode determines how the stylus is mapped to the screen.

   [링크 : https://help.ubuntu.com/stable/ubuntu-help/wacom-mode.html.en]

 

[링크 : https://help.ubuntu.com/stable/ubuntu-help/wacom.html.en]

   [링크 : https://help.ubuntu.com/stable/ubuntu-help/wacom-multi-monitor.html.en]

   [링크 : https://help.ubuntu.com/stable/ubuntu-help/wacom-stylus.html.en]

'하드웨어 > pen tablet' 카테고리의 다른 글

wacom 펜 설명이 왜 이러냐 -_-  (0) 2025.08.14
wacom 의 세계..(?) - 아트 펜  (0) 2025.08.12
xsetwacom with intuos pro  (0) 2025.08.08
wacom PTH-651 도착  (0) 2025.08.07
wacom 타블렛 주움 + 포기  (0) 2025.02.17
Posted by 구차니
Linux/Ubuntu2025. 8. 12. 12:14

xorg 에서 4k 모니터 사용시 화면찢어짐이 발생해서 검색해보는데

dri 3 사용하면 해결된다고 해서 찾아보는 중.

 

검색해보니 리눅스 진영에서 만들은 일종의.. 리눅스용 direct X 같은 가속 구조로 봐야하나?

The Direct Rendering Infrastructure (DRI) is the framework comprising the modern Linux graphics stack which allows unprivileged user-space programs to issue commands to graphics hardware without conflicting with other programs.[6] The main use of DRI is to provide hardware acceleration for the Mesa implementation of OpenGL. DRI has also been adapted to provide OpenGL acceleration on a framebuffer console without a display server running.[7]
DRI implementation is scattered through the X Server and its associated client libraries, Mesa 3D and the Direct Rendering Manager kernel subsystem.[6] All of its source code is open-source software.

[링크 : https://en.wikipedia.org/wiki/Direct_Rendering_Infrastructure]

 

intel arc 아니면 안되나?

 

$ inxi -G
Graphics:
  Device-1: Intel CometLake-U GT2 [UHD Graphics] driver: i915 v: kernel
  Device-2: Generic 720p HD Camera type: USB driver: uvcvideo
  Display: wayland server: X.Org v: 1.22.1.1 with: Xwayland v: 22.1.1
    compositor: gnome-shell v: 42.9 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: i915 resolution: 1: 2160x3840~30Hz
    2: 1920x1080~60Hz 3: 1920x1080~60Hz
  OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2)
    v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.3

[링크 : https://www.dedoimedo.com/computers/linux-intel-graphics-video-tearing.html]

[링크 : https://askubuntu.com/questions/1234026/screen-tearing-on-ubuntu-xorg-20-04-with-intel-graphics]

'Linux > Ubuntu' 카테고리의 다른 글

csvtool  (0) 2025.07.11
ubuntu dhcp lease log  (0) 2025.07.01
우분투에서 스타크래프트 시도.. 실패  (0) 2025.06.28
netplan  (0) 2025.03.06
ubuntu 24.04 네트워크 연결 중 문제  (0) 2025.02.26
Posted by 구차니
embeded/odroid2025. 8. 12. 10:16

haarcascade_frontalface_default.xml 와

haarcascade_eye.xml 를 이용해서 odroid c2 에서 돌릴 경우 cpu 점유율

 

face recognition 라이브러리를 이용하여 돌릴때의 cpu 점유율

dlib를 멀티 코어로 못쓰나?

[링크 : https://pypi.org/project/face-recognition/]

'embeded > odroid' 카테고리의 다른 글

iperf3 설정별 속도  (0) 2025.08.21
빌드하다가 시스템이 날아감 -_-!  (0) 2025.08.13
armbian X11-forwarding 활성화 하기  (0) 2025.08.11
python face-recognition on armbian / odroid c2  (0) 2025.08.11
armbian on odroid c2  (0) 2025.08.10
Posted by 구차니
embeded/odroid2025. 8. 11. 23:21

먼가 되는것 같으면서도

원격지로 뜨는건지 mobaxterm을 통해 뜨지 않는다. 머지?

 

$ sudo apt-get install xauth

[링크 : https://forum.armbian.com/topic/26672-what-do-i-need-to-set-on-armbian-for-x11-forwarding-on-remote-osx-xserver/]

[링크 : https://serverfault.com/questions/12198/how-can-i-enable-x11-forwarding-to-a-debian-server-box]

 

+

wayland 에서 x.org로 바꾸면 해결.

어우.. 이놈의 wayland은 어떻게 해결이 안되는게 많아

2022.07.11 - [프로그램 사용/ssh scp sftp] - ubuntu ssh x11 forwarding시 gnome 화면 끌어오기

Posted by 구차니