Skip to content
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

Install via pip does not work #84

Open
Jon-AtAWS opened this issue Jun 12, 2019 · 0 comments
Open

Install via pip does not work #84

Jon-AtAWS opened this issue Jun 12, 2019 · 0 comments

Comments

@Jon-AtAWS
Copy link

Jon-AtAWS commented Jun 12, 2019

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
>>>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant