OSError: no file with expected extension

This issue has been created since 2018-11-11.

Traceback (most recent call last):
File "C:/Users/123456/Desktop/PointNet/pointnet_pytorch-master_lingzhang1/show3d_balls.py", line 19, in
dll=np.ctypeslib.load_library('render_balls_so','.')
File "F:\anaconda1\lib\site-packages\numpy\ctypeslib.py", line 155, in load_library
raise OSError("no file with expected extension")
OSError: no file with expected extension

feifeiwei wrote this answer on 2019-04-28

I have meet the same problem. Have you solved it?

AlphaPav wrote this answer on 2020-02-10

I solved the problem by changing dll=np.ctypeslib.load_library('render_balls_so','.') into dll = np.ctypeslib.load_library('render_balls_so.so', '.')

cheulyop wrote this answer on 2020-02-27

I solved the problem by changing dll=np.ctypeslib.load_library('render_balls_so','.') into dll = np.ctypeslib.load_library('render_balls_so.so', '.')

same problem here and the above workaround doesn't seem to work for me.
maybe the issue is that I'm trying to run the code on google colab, but I can't be sure.

dream-toy wrote this answer on 2020-08-21

I solved the problem by changing dll=np.ctypeslib.load_library('render_balls_so','.') into dll = np.ctypeslib.load_library('render_balls_so.so', '.')

Thanks a lot!!!

zsl4399 wrote this answer on 2021-09-06

我通过dll=np.ctypeslib.load_library('render_balls_so','.')改成解决了这个问题dll = np.ctypeslib.load_library('render_balls_so.so', '.')

我用此方法试过了,可是我这里行不通

FandosA wrote this answer on 2021-11-30

I solved the problem by changing dll=np.ctypeslib.load_library('render_balls_so','.') into dll = np.ctypeslib.load_library('render_balls_so.so', '.')

I've tried this on windows and it's been impossible. But I tried this solution on linux and it worked immediately.

AIllIll wrote this answer on 2022-01-13

I solved the problem by changing dll=np.ctypeslib.load_library('render_balls_so','.') into dll = np.ctypeslib.load_library('render_balls_so.so', '.')

I've tried this on windows and it's been impossible. But I tried this solution on linux and it worked immediately.

try to use absolute path like "home/xxx/pointnet.pytorch/utils/" instead of '.'

More Details About Repo
Owner Name fxia22
Repo Name pointnet.pytorch
Full Name fxia22/pointnet.pytorch
Language Python
Created Date 2017-04-14
Updated Date 2022-09-07
Star Count 1593
Watcher Count 25
Fork Count 544
Issue Count 47

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Can't embed as MD a note with Banner 2 2022-09-19 2022-09-28
Is there a trained checkpoint or weight h5 file? 0 2021-02-10 2022-09-09
[NV-384] - Add Sentry breadcrumb on the CommandHelper validation 0 2022-05-08 2022-09-07
Is the calculated score not a value of 0-1? 3 2021-03-24 2022-08-01
Document how to go from an instant to a ZonedDateTime 2 2021-03-17 2022-08-16
Eastwood linter gives "implicit-dependencies" warnings 3 2021-01-04 2022-08-16
Broken urls replacement 0 2021-05-05 2022-08-04
List of recently opened files and connections 0 2021-12-07 2021-12-09
[Bug] Autodelete unreliable in v1.1.3 16 2022-04-10 2022-08-17
Release excluder 0.3.3 0 2021-12-03 2021-12-26
Glow Preview completely blank in Powershell 4 2021-05-29 2022-07-05
Auto-rotate image 0 2019-10-20 2022-01-13
PDB Parser Clobbers Imported Extern Functions 0 2022-05-25 2022-08-29
StepIndicator with stepCount={2} they don't take 100% wide 3 2020-03-10 2022-08-05
elephant.io is 100% down hard. 1 2021-05-15 2022-09-15
U cannot move turn counter, battleground tiers, combat simulations. 0 2021-05-05 2022-09-06
Stick pressing (R3/L3) on wii classic controller 1 2022-07-29 2022-08-16
[Bug Report]: DS4 pairing issue 8 2022-07-18 2022-08-16
Rework expression replacement and LinearExpression object 2 2021-10-06 2022-09-28
Channel content not loading or loading just few videos 0 2022-04-06 2022-08-04
Try to connect local ethereum node failed. 0 2021-04-25 2022-09-06
Message error in trunk: notify_dgn_event 1 2021-12-15 2022-08-01
Core: Reverse checking of promise so it's OK if we get it wrong 1 2021-10-18 2022-02-04
How to disable the redirect with an external S3 storage in HarborCluster Operator? 5 2021-11-01 2022-09-04
add note about button being greyed out if DP role is present on site server 3 2021-11-04 2022-08-30
Configuration issue for Windows and UWP 1 2021-07-17 2022-09-20
Flowtype quotes rule 2 2021-03-18 2022-09-04
[help] API capture - MSK / Kafka (new service) 2 2021-11-06 2022-06-27
URIError parsing url Params encoded with encodeURIComponent 9 2014-12-24 2022-01-19
Moving FAQs from Galaxy Community Hub to the GTN 3 2022-03-27 2022-04-22
Add release date to generated changelog 1 2022-04-14 2022-07-26
The text message is shown very close to the edge of the message area 1 2022-06-28 2022-08-25
Not able to check if user is signed in on API route 2 2021-08-30 2022-07-29
Use "to" address as "from" address when replying 3 2022-06-06 2022-09-21
Feature Request: Useful Camera Examples 6 2022-05-24 2022-09-15
Error compiling: fork/exec {runtime.tools.imgtool.path}/imgtool: no such file or directory 9 2022-04-25 2022-09-15
Add support for arrayCopy, arraySet, and arrayRangeEqual primitives 0 2021-08-23 2022-09-13
Title of calendar view in DatePicker should be name of the month rather than a date. 0 2022-08-12 2022-09-13
I found a new issue!! 1 2013-12-05 2022-08-02
请求支持在线状态的查询 3 2021-09-19 2022-01-16
Incorrect Event highlights on webpage 0 2021-05-26 2022-07-20
Python3 support 1 2018-07-11 2022-01-18
Specify the event when pulling fields from Redcap 0 2021-04-01 2022-09-11
`SDBlockDevice::erase` is a no-op, this should be configurable 1 2021-09-15 2022-09-12
Implement `update_index` background worker task 1 2021-11-13 2022-09-21
Module input configuration merge should handle duplicates 0 2022-07-06 2022-09-21
kmod-ata-ahci won't recognize HDD connected in SATA ports (Non-USB connected) 4 2021-11-29 2022-07-25
XML report for CI 3 2018-06-15 2022-01-07
Request: Upgrade truetime to work with Android 12 8 2021-07-15 2022-09-21
Make RedisSessionRepository.DEFAULT_KEY_NAMESPACE public 0 2022-03-15 2022-09-11