tart / motop

"Top" clone for MongoDB
67 stars 24 forks source link

ModuleNotFoundError: No module named 'motop' #27

Open Tas-sos opened 2 years ago

Tas-sos commented 2 years ago

Why ?

pip3 install motop

WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting motop
  Downloading https://files.pythonhosted.org/packages/8b/75/536088432630057a64870f9e158d029c52190e2ac6cbc0b8e47dfb941f9b/motop-4.2.tar.gz
Collecting pymongo (from motop)
  Downloading https://files.pythonhosted.org/packages/dd/39/7aadf43df2f18bb3d1b140914f0bc4eee7d4209fa6e459f3fa2cdd42127b/pymongo-4.0.1-cp36-cp36m-manylinux1_x86_64.whl (452kB)
    100% |████████████████████████████████| 460kB 2.0MB/s 
Collecting argparse (from motop)
  Downloading https://files.pythonhosted.org/packages/f2/94/3af39d34be01a24a6e65433d19e107099374224905f1e0cc6bbe1fd22a2f/argparse-1.4.0-py2.py3-none-any.whl
Installing collected packages: pymongo, argparse, motop
  Running setup.py install for motop ... done
Successfully installed argparse-1.4.0 motop-4.2 pymongo-4.0.1
motop 
Traceback (most recent call last):
  File "/usr/local/bin/motop", line 3, in <module>
    from libmotop import motop
ModuleNotFoundError: No module named 'motop'
python3 -V
Python 3.6.8
pip3 -V
pip 9.0.3 from /usr/lib/python3.6/site-packages (python 3.6)

I also have the same problem with pip 21.3.1.

pip3 freeze
motop==4.2
pymongo==4.0.1
CentOS Linux 7 (Core)