nboley / idr

IDR
GNU General Public License v2.0
164 stars 45 forks source link

An error when call idr in command line #38

Open wisense opened 6 years ago

wisense commented 6 years ago

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?