idr icon indicating copy to clipboard operation
idr copied to clipboard

An error when call idr in command line

Open wisense opened this issue 6 years ago • 0 comments

Hi, I've successfully installed idr in my linux server. When I call idr from command line in the idr-2.0.2/ path, it's fine, but when call idr in other path, I got an error:

Traceback (most recent call last): File "/home/wszheng/Install/Python-3.6.1/bin/idr", line 4, in import('pkg_resources').run_script('idr==2.0.2', 'idr') File "/home/wszheng/Install/Python-3.6.1/lib/python3.6/site-packages/pkg_resources/init.py", line 654, in run_script self.require(requires)[0].run_script(script_name, ns) File "/home/wszheng/Install/Python-3.6.1/lib/python3.6/site-packages/pkg_resources/init.py", line 1434, in run_script exec(code, namespace, namespace) File "/home/wszheng/Install/Python-3.6.1/lib/python3.6/site-packages/idr-2.0.2-py3.6-linux-x86_64.egg/EGG-INFO/scripts/idr", line 8, in import idr.idr ModuleNotFoundError: No module named 'idr.idr'

Does anyone know what's the cause of this problem?

wisense avatar Jul 05 '18 01:07 wisense