Open herruli opened 4 years ago
Try: Installing pypostal !sudo apt-get install curl autoconf automake libtool python-dev pkg-config !sudo apt-get install curl autoconf automake libtool pkg-config !git clone https://github.com/openvenues/libpostal %cd libpostal !./bootstrap.sh !./configure !make -j4 !sudo make install !sudo ldconfig !pip install postal
It worked for me
That worked for me too, thank you!
Hi, I would like to try the package on Colab. However, I am not able to install package.
Code: !sudo apt-get install curl autoconf automake libtool python-dev pkg-config
Reading package lists... Done Building dependency tree
Reading state information... Done autoconf is already the newest version (2.69-11). automake is already the newest version (1:1.15.1-3ubuntu2). libtool is already the newest version (2.4.6-2). pkg-config is already the newest version (0.29.1-0ubuntu2). python-dev is already the newest version (2.7.15~rc1-1). curl is already the newest version (7.58.0-2ubuntu3.9). The following package was automatically installed and is no longer required: libnvidia-common-440 Use 'sudo apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 33 not upgraded.
!pip install postal
Collecting postal Using cached https://files.pythonhosted.org/packages/56/f7/69ca5d374077e23aa9a51ecd4031222ca9dfb7d19c95d7691f024e2e27ef/postal-1.1.8.tar.gz Requirement already satisfied: six in /usr/local/lib/python3.6/dist-packages (from postal) (1.12.0) Building wheels for collected packages: postal Building wheel for postal (setup.py) ... error ERROR: Failed building wheel for postal Running setup.py clean for postal Failed to build postal Installing collected packages: postal Running setup.py install for postal ... error ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-sile6h6e/postal/setup.py'"'"'; file='"'"'/tmp/pip-install-sile6h6e/postal/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-yjcu0a7z/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
Thank you for your assistance