lunaticlog
lunaticlog copied to clipboard
Install via pip does not work
Mac OS, brew installed python3.
$ virtualenv tmp $ cd tmp $ source bin/activate (tmp) $ pip3 install lunaticlog Collecting lunaticlog Installing collected packages: lunaticlog Successfully installed lunaticlog-0.1.2
(tmp) $ python Python 3.7.2 (v3.7.2:9a3ffc0492, Dec 24 2018, 02:44:43) [Clang 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import lunaticlog Traceback (most recent call last): File "
", line 1, in ModuleNotFoundError: No module named 'lunaticlog'
(tmp) $ pip3 list Package Version
lunaticlog 0.1.2 pip 19.1.1 setuptools 41.0.1 wheel 0.33.4
The distinfo is there, but not the code. $ ls lib/python3.7/site-packages/ pycache pip-19.1.1.dist-info src easy_install.py pkg_resources tests lunaticlog-0.1.2.dist-info setuptools wheel pip setuptools-41.0.1.dist-info wheel-0.33.4.dist-info
If I clone the repo into the site-packages directory, then it works. (I have to manually add numpy) (tmp) $ pip3 install numpy (tmp) $ cd lib/python3.7/site-packages/ (tmp) $ git clone https://github.com/xuwenyihust/lunaticlog.git Cloning into 'lunaticlog'... remote: Enumerating objects: 919, done. remote: Total 919 (delta 0), reused 0 (delta 0), pack-reused 919 Receiving objects: 100% (919/919), 5.36 MiB | 3.00 MiB/s, done. Resolving deltas: 100% (439/439), done. (tmp) $ python Python 3.7.2 (v3.7.2:9a3ffc0492, Dec 24 2018, 02:44:43) [Clang 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import lunaticlog >>>