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

Running the command line tool #4

Open
dinkovv opened this issue Mar 25, 2018 · 2 comments
Open

Running the command line tool #4

dinkovv opened this issue Mar 25, 2018 · 2 comments

Comments

@dinkovv
Copy link

dinkovv commented Mar 25, 2018

Hi!

Sorry for the newbie question.

I have installed lieu locally but can't find the command line tool in /usr/local/bin or anywhere else. Could you please help me with this? Here is the terminal output when trying to re-install it:

dinko@dinko ~ $ pip install git+https://github.com/openvenues/lieu
Collecting git+https://github.com/openvenues/lieu
Cloning https://github.com/openvenues/lieu to /tmp/pip-j793rS-build
Requirement already satisfied (use --upgrade to upgrade): lieu==1.0 from git+https://github.com/openvenues/lieu in ./.local/lib/python2.7/site-packages
Requirement already satisfied: six in /usr/local/lib/python2.7/dist-packages (from lieu==1.0)
Requirement already satisfied: postal>=1.1.6 in /usr/local/lib/python2.7/dist-packages (from lieu==1.0)
Requirement already satisfied: leveldb in ./.local/lib/python2.7/site-packages (from lieu==1.0)
Requirement already satisfied: phonenumbers in ./.local/lib/python2.7/site-packages (from lieu==1.0)
Requirement already satisfied: ujson in ./.local/lib/python2.7/site-packages (from lieu==1.0)
Requirement already satisfied: mrjob in ./.local/lib/python2.7/site-packages (from lieu==1.0)
Requirement already satisfied: PyYAML>=3.08 in ./.local/lib/python2.7/site-packages (from mrjob->lieu==1.0)
Requirement already satisfied: google-cloud>=0.32.0 in ./.local/lib/python2.7/site-packages (from mrjob->lieu==1.0)
Requirement already satisfied: boto3>=1.4.6 in ./.local/lib/python2.7/site-packages (from mrjob->lieu==1.0)
Requirement already satisfied: botocore>=1.6.0 in ./.local/lib/python2.7/site-packages (from mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-dataproc in ./.local/lib/python2.7/site-packages (from mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-datastore<1.5dev,>=1.4.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-trace<0.18dev,>=0.17.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-dns<0.29dev,>=0.28.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-speech<0.31dev,>=0.30.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-translate<1.4dev,>=1.3.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-bigquery-datatransfer<0.2dev,>=0.1.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-spanner<0.30dev,>=0.29.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-resource-manager<0.29dev,>=0.28.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-bigtable<0.29dev,>=0.28.1 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-videointelligence<1.1dev,>=1.0.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-api-core<0.2.0dev,>=0.1.2 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-runtimeconfig<0.29dev,>=0.28.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-logging<1.5dev,>=1.4.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-storage<1.7dev,>=1.6.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-error-reporting<0.29dev,>=0.28.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-pubsub<0.31dev,>=0.30.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-vision<0.30dev,>=0.29.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-core<0.29dev,>=0.28.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-firestore<0.29dev,>=0.28.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-language<1.1dev,>=1.0.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-container<0.2dev,>=0.1.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-monitoring<0.29dev,>=0.28.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-cloud-bigquery<0.29dev,>=0.28.0 in ./.local/lib/python2.7/site-packages (from google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in ./.local/lib/python2.7/site-packages (from boto3>=1.4.6->mrjob->lieu==1.0)
Requirement already satisfied: s3transfer<0.2.0,>=0.1.10 in ./.local/lib/python2.7/site-packages (from boto3>=1.4.6->mrjob->lieu==1.0)
Requirement already satisfied: python-dateutil<2.7.0,>=2.1 in /usr/local/lib/python2.7/dist-packages (from botocore>=1.6.0->mrjob->lieu==1.0)
Requirement already satisfied: docutils>=0.10 in ./.local/lib/python2.7/site-packages (from botocore>=1.6.0->mrjob->lieu==1.0)
Requirement already satisfied: requests<3.0dev,>=2.18.4 in ./.local/lib/python2.7/site-packages (from google-cloud-dataproc->mrjob->lieu==1.0)
Requirement already satisfied: googleapis-common-protos[grpc]<2.0dev,>=1.5.2 in ./.local/lib/python2.7/site-packages (from google-cloud-dataproc->mrjob->lieu==1.0)
Requirement already satisfied: google-auth<2.0dev,>=1.0.2 in ./.local/lib/python2.7/site-packages (from google-cloud-dataproc->mrjob->lieu==1.0)
Requirement already satisfied: google-gax<0.16dev,>=0.15.7 in ./.local/lib/python2.7/site-packages (from google-cloud-datastore<1.5dev,>=1.4.0->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: gapic-google-cloud-datastore-v1<0.16dev,>=0.15.0 in ./.local/lib/python2.7/site-packages (from google-cloud-datastore<1.5dev,>=1.4.0->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: grpc-google-iam-v1<0.12dev,>=0.11.4 in ./.local/lib/python2.7/site-packages (from google-cloud-spanner<0.30dev,>=0.29.0->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: futures>=3.2.0; python_version < "3.2" in ./.local/lib/python2.7/site-packages (from google-api-core<0.2.0dev,>=0.1.2->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: protobuf>=3.0.0 in ./.local/lib/python2.7/site-packages (from google-api-core<0.2.0dev,>=0.1.2->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: pytz in /usr/local/lib/python2.7/dist-packages (from google-api-core<0.2.0dev,>=0.1.2->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: setuptools>=34.0.0 in /usr/local/lib/python2.7/dist-packages (from google-api-core<0.2.0dev,>=0.1.2->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: gapic-google-cloud-logging-v2<0.92dev,>=0.91.0 in ./.local/lib/python2.7/site-packages (from google-cloud-logging<1.5dev,>=1.4.0->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: google-resumable-media>=0.3.1 in ./.local/lib/python2.7/site-packages (from google-cloud-storage<1.7dev,>=1.6.0->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: gapic-google-cloud-error-reporting-v1beta1<0.16dev,>=0.15.0 in ./.local/lib/python2.7/site-packages (from google-cloud-error-reporting<0.29dev,>=0.28.0->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: psutil<6.0dev,>=5.2.2 in ./.local/lib/python2.7/site-packages (from google-cloud-pubsub<0.31dev,>=0.30.0->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: enum34; python_version < "3.4" in /usr/local/lib/python2.7/dist-packages (from google-cloud-vision<0.30dev,>=0.29.0->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in ./.local/lib/python2.7/site-packages (from requests<3.0dev,>=2.18.4->google-cloud-dataproc->mrjob->lieu==1.0)
Requirement already satisfied: idna<2.7,>=2.5 in ./.local/lib/python2.7/site-packages (from requests<3.0dev,>=2.18.4->google-cloud-dataproc->mrjob->lieu==1.0)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in ./.local/lib/python2.7/site-packages (from requests<3.0dev,>=2.18.4->google-cloud-dataproc->mrjob->lieu==1.0)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python2.7/dist-packages (from requests<3.0dev,>=2.18.4->google-cloud-dataproc->mrjob->lieu==1.0)
Requirement already satisfied: grpcio>=1.0.0 in ./.local/lib/python2.7/site-packages (from googleapis-common-protos[grpc]<2.0dev,>=1.5.2->google-cloud-dataproc->mrjob->lieu==1.0)
Requirement already satisfied: pyasn1-modules>=0.2.1 in ./.local/lib/python2.7/site-packages (from google-auth<2.0dev,>=1.0.2->google-cloud-dataproc->mrjob->lieu==1.0)
Requirement already satisfied: rsa>=3.1.4 in ./.local/lib/python2.7/site-packages (from google-auth<2.0dev,>=1.0.2->google-cloud-dataproc->mrjob->lieu==1.0)
Requirement already satisfied: cachetools>=2.0.0 in ./.local/lib/python2.7/site-packages (from google-auth<2.0dev,>=1.0.2->google-cloud-dataproc->mrjob->lieu==1.0)
Requirement already satisfied: future<0.17dev,>=0.16.0 in ./.local/lib/python2.7/site-packages (from google-gax<0.16dev,>=0.15.7->google-cloud-datastore<1.5dev,>=1.4.0->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: dill<0.3dev,>=0.2.5 in ./.local/lib/python2.7/site-packages (from google-gax<0.16dev,>=0.15.7->google-cloud-datastore<1.5dev,>=1.4.0->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: ply==3.8 in ./.local/lib/python2.7/site-packages (from google-gax<0.16dev,>=0.15.7->google-cloud-datastore<1.5dev,>=1.4.0->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: oauth2client<4.0dev,>=2.0.0 in ./.local/lib/python2.7/site-packages (from gapic-google-cloud-datastore-v1<0.16dev,>=0.15.0->google-cloud-datastore<1.5dev,>=1.4.0->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: proto-google-cloud-datastore-v1[grpc]<0.91dev,>=0.90.3 in ./.local/lib/python2.7/site-packages (from gapic-google-cloud-datastore-v1<0.16dev,>=0.15.0->google-cloud-datastore<1.5dev,>=1.4.0->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: appdirs>=1.4.0 in /usr/local/lib/python2.7/dist-packages (from setuptools>=34.0.0->google-api-core<0.2.0dev,>=0.1.2->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: packaging>=16.8 in /usr/local/lib/python2.7/dist-packages (from setuptools>=34.0.0->google-api-core<0.2.0dev,>=0.1.2->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: proto-google-cloud-logging-v2[grpc]<0.92dev,>=0.91.3 in ./.local/lib/python2.7/site-packages (from gapic-google-cloud-logging-v2<0.92dev,>=0.91.0->google-cloud-logging<1.5dev,>=1.4.0->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: proto-google-cloud-error-reporting-v1beta1[grpc]<0.16dev,>=0.15.3 in ./.local/lib/python2.7/site-packages (from gapic-google-cloud-error-reporting-v1beta1<0.16dev,>=0.15.0->google-cloud-error-reporting<0.29dev,>=0.28.0->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: pyasn1<0.5.0,>=0.4.1 in ./.local/lib/python2.7/site-packages (from pyasn1-modules>=0.2.1->google-auth<2.0dev,>=1.0.2->google-cloud-dataproc->mrjob->lieu==1.0)
Requirement already satisfied: httplib2>=0.9.1 in ./.local/lib/python2.7/site-packages (from oauth2client<4.0dev,>=2.0.0->gapic-google-cloud-datastore-v1<0.16dev,>=0.15.0->google-cloud-datastore<1.5dev,>=1.4.0->google-cloud>=0.32.0->mrjob->lieu==1.0)
Requirement already satisfied: pyparsing in /usr/local/lib/python2.7/dist-packages (from packaging>=16.8->setuptools>=34.0.0->google-api-core<0.2.0dev,>=0.1.2->google-cloud>=0.32.0->mrjob->lieu==1.0)
You are using pip version 9.0.2, however version 9.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

Thanks!

@albarrentine
Copy link
Contributor

Based on that output it seems like it's going to be in .local/bin so that would need to be added to PATH. However, I'd recommend installing in a virtualenv, which will take care of all the paths, etc. without affecting any system-wide installations.

@dinkovv
Copy link
Author

dinkovv commented Mar 25, 2018

Thank you!

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

2 participants