-
Notifications
You must be signed in to change notification settings - Fork 6
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
importError #5
Comments
Hi,
Before import ctlib, import torch first
Best Regards
Wenjun
Rui Hu ***@***.***> 于2022年6月13日周一 11:04写道:
… Hi, it looks like I installed it successfully. But when I import, it shows
'ImportError: libc10.so: cannot open shared object file: No such file or
directory , Do you know why this happens? Thank you very much.
$ python setup.py install
running install
running bdist_egg
running egg_info
writing ctlib.egg-info/PKG-INFO
writing dependency_links to ctlib.egg-info/dependency_links.txt
writing top-level names to ctlib.egg-info/top_level.txt
/home/hrr/anaconda3/envs/pytorch/lib/python3.7/site-packages/torch/utils/cpp_extension.py:352:
UserWarning: Attempted to use ninja as the BuildExtension backend but we
could not find ninja.. Falling back to using the slow distutils backend.
warnings.warn(msg.format('we could not find ninja.'))
reading manifest file 'ctlib.egg-info/SOURCES.txt'
writing manifest file 'ctlib.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
creating build/bdist.linux-x86_64/egg
copying build/lib.linux-x86_64-3.7/ctlib.cpython-37m-x86_64-linux-gnu.so
-> build/bdist.linux-x86_64/egg
creating stub loader for ctlib.cpython-37m-x86_64-linux-gnu.so
byte-compiling build/bdist.linux-x86_64/egg/ctlib.py to
ctlib.cpython-37.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying ctlib.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ctlib.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ctlib.egg-info/dependency_links.txt ->
build/bdist.linux-x86_64/egg/EGG-INFO
copying ctlib.egg-info/top_level.txt ->
build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
*pycache*.ctlib.cpython-37: module references *file*
creating 'dist/ctlib-0.2.0-py3.7-linux-x86_64.egg' and adding
'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing ctlib-0.2.0-py3.7-linux-x86_64.egg
removing
'/home/hrr/anaconda3/envs/pytorch/lib/python3.7/site-packages/ctlib-0.2.0-py3.7-linux-x86_64.egg'
(and everything under it)
creating
/home/hrr/anaconda3/envs/pytorch/lib/python3.7/site-packages/ctlib-0.2.0-py3.7-linux-x86_64.egg
Extracting ctlib-0.2.0-py3.7-linux-x86_64.egg to
/home/hrr/anaconda3/envs/pytorch/lib/python3.7/site-packages
ctlib 0.2.0 is already the active version in easy-install.pth
Installed
/home/hrr/anaconda3/envs/pytorch/lib/python3.7/site-packages/ctlib-0.2.0-py3.7-linux-x86_64.egg
Processing dependencies for ctlib==0.2.0
Finished processing dependencies for ctlib==0.2.0
(pytorch) ***@***.***:~/Proj/ctlib$ python
Python 3.7.6 (default, Jan 8 2020, 19:59:22)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
import ctlib
Traceback (most recent call last):
File "", line 1, in
ImportError: libc10.so: cannot open shared object file: No such file or
directory`
—
Reply to this email directly, view it on GitHub
<#5>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJRVWQK3MP76KYFPW5LDBQDVO2QNJANCNFSM5YSYAYQQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Hi Wenjun, it works, thanks very much Best |
Please see this repository https://github.com/Deep-Imaging-Group/Physics-Model-Data-Driven-Review
Best,
Wenjun
From: ZeliangM ***@***.***>
Sent: Monday, September 19, 2022 08:26
To: xwj01/CTLIB ***@***.***>
Cc: xwj01 ***@***.***>; Comment ***@***.***>
Subject: Re: [xwj01/CTLIB] importError (Issue #5)
Hi Wenjun,
it works, thanks very much
Best Rui
Hi ! I meet some errors. Can you give a simple example ? Thank you very much .
—
Reply to this email directly, view it on GitHub <#5 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AJRVWQJVJSCIJERPGC5WXHLV7BLXJANCNFSM5YSYAYQQ> .
You are receiving this because you commented. <https://github.com/notifications/beacon/AJRVWQP3VPCYJUXV4XBWRODV7BLXJA5CNFSM5YSYAYQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJKIAHZQ.gif> Message ID: ***@***.*** ***@***.***> >
|
Thanks for your reply ! |
You are welcome. Wenjun
From: ZeliangM ***@***.***>
Sent: Monday, September 19, 2022 23:56
To: xwj01/CTLIB ***@***.***>
Cc: xwj01 ***@***.***>; Comment ***@***.***>
Subject: Re: [xwj01/CTLIB] importError (Issue #5)
Please see this repository https://github.com/Deep-Imaging-Group/Physics-Model-Data-Driven-Review Best, Wenjun From: ZeliangM @.> Sent: Monday, September 19, 2022 08:26 To: xwj01/CTLIB @.> Cc: xwj01 @.>; Comment @.> Subject: Re: [xwj01/CTLIB] importError (Issue #5 <#5> ) Hi Wenjun, it works, thanks very much Best Rui Hi ! I meet some errors. Can you give a simple example ? Thank you very much . — Reply to this email directly, view it on GitHub <#5 (comment) <#5 (comment)> > , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJRVWQJVJSCIJERPGC5WXHLV7BLXJANCNFSM5YSYAYQQ . You are receiving this because you commented. https://github.com/notifications/beacon/AJRVWQP3VPCYJUXV4XBWRODV7BLXJA5CNFSM5YSYAYQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJKIAHZQ.gif Message ID: @.*** @.***> >
Thanks for your reply !
Although I have solved my error , your reply is meaningful for me. I am interested in your work , thanks for your recommendation.
Best Regards
—
Reply to this email directly, view it on GitHub <#5 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AJRVWQK2U66DIU2FNGX25Z3V7EYV3ANCNFSM5YSYAYQQ> .
You are receiving this because you commented. <https://github.com/notifications/beacon/AJRVWQO2UQ7OXOK322HOIATV7EYV3A5CNFSM5YSYAYQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJKOQKBY.gif> Message ID: ***@***.*** ***@***.***> >
|
Hi, it looks like I installed it successfully. But when I import, it shows 'ImportError: libc10.so: cannot open shared object file: No such file or directory' , Do you know why this happens? Thank you very much.
The text was updated successfully, but these errors were encountered: