Once you open a package details page you can click on list of files and find out whether the files are in /usr/lib/python2.7 or in /usr/lib/python3.
INSTALL PYTHON 2.7 UBUNTU SERVER 14.04 INSTALL
Unfortunately the dpkg -L works only on installed packages so if you want to check it before you install the package you will have to use the Ubuntu packages web interface. If however you want to check that further you can use dpkg -L python-reportlab - this will list the package contents and you will see that the files are in /usr/lib/python2.7. rootserver:/home/user/tesseract cat /etc/lsb-release DISTRIBIDUbuntu DISTRIBRELEASE14.04 DISTRIBCODENAMEtrusty DISTRIBDESCRIPTION'Ubuntu 14.04. It is fair to assume that package python-reportlab is the 2.7 version and package python3-reportlab is the python 3.x version. Building and installing tesseract for python on Ubuntu 14.04. On my system this produces: gambas3-gb-report For example if you want to install the right version of reportlab use: apt-file -l search reportlab
'%s failed at: \"%s\"' % (self, sys.Use apt-file to find out the package name. Self._send_request(method, url, body, headers)įile "/usr/lib/python2.7/httplib.py", line 1051, in _send_requestįile "/usr/lib/python2.7/httplib.py", line 1013, in endheadersįile "/usr/lib/python2.7/httplib.py", line 864, in _send_outputįile "/usr/lib/python2.7/httplib.py", line 826, in sendįile "/usr/share/python-wheels/urllib3-1.7.1-py2.p圓-none-any.whl/urllib3/connectionpool.py", line 145, in connectįile "/usr/share/python-wheels/urllib3-1.7.1-py2.p圓-none-any.whl/urllib3/contrib/pyopenssl.py", line 313, in getpeercertįile "/usr/share/python-wheels/urllib3-1.7.1-py2.p圓-none-any.whl/urllib3/contrib/pyopenssl.py", line 94, in get_subj_alt_nameįile "/usr/local/lib/python2.7/dist-packages/pyasn1/codec/ber/decoder.py", line 825, in _call_įile "/usr/local/lib/python2.7/dist-packages/pyasn1/codec/ber/decoder.py", line 391, in valueDecoderįile "/usr/local/lib/python2.7/dist-packages/pyasn1/type/base.py", line 252, in verifySizeSpecĭef verifySizeSpec(self): self._sizeSpec(self)įile "/usr/local/lib/python2.7/dist-packages/pyasn1/type/constraint.py", line 32, in _call_ Return super(PipSession, self).request(method, url, *args, **kwargs)įile "/usr/share/python-wheels/requests-2.2.1-py2.p圓-none-any.whl/requests/sessions.py", line 467, in requestįile "/usr/share/python-wheels/requests-2.2.1-py2.p圓-none-any.whl/requests/sessions.py", line 570, in sendįile "/usr/share/python-wheels/requests-2.2.1-py2.p圓-none-any.whl/requests/adapters.py", line 330, in sendįile "/usr/share/python-wheels/urllib3-1.7.1-py2.p圓-none-any.whl/urllib3/connectionpool.py", line 562, in urlopenįile "/usr/share/python-wheels/urllib3-1.7.1-py2.p圓-none-any.whl/urllib3/connectionpool.py", line 387, in _make_requestĬonn.request(method, url, **httplib_request_kw)įile "/usr/lib/python2.7/httplib.py", line 1017, in request
Return self.request('GET', url, **kwargs)įile "/usr/lib/python2.7/dist-packages/pip/download.py", line 237, in request
INSTALL PYTHON 2.7 UBUNTU SERVER 14.04 CODE
Assuming you are on Python 2.7, the Python script installs the MoinMoin code package to /usr/local/lib/ python2.7 /dist-packages/, and the rest of the MoinMoin data to /usr/local/share/moin. Resp = session.get(target_url, stream=True)įile "/usr/share/python-wheels/requests-2.2.1-py2.p圓-none-any.whl/requests/sessions.py", line 479, in get To build the MoinMoin Python application and copy it to /usr/local, run this command: sudo python setup.py install -prefix/usr/local. Requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)įile "/usr/lib/python2.7/dist-packages/pip/req.py", line 1198, in prepare_filesįile "/usr/lib/python2.7/dist-packages/pip/req.py", line 1376, in unpack_urlįile "/usr/lib/python2.7/dist-packages/pip/download.py", line 546, in unpack_http_url Sudo pip install psycopg2-binary Downloading/unpacking psycopg2-binaryįile "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in mainįile "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 278, in run I have tried to uninstall & install python-pip unfortunately it didn't solved my problem. sudo apt-get install -y gcc-multilib g++-multilib libffi-dev libffi6 libffi6-dbg python-crypto python-mox3 python-pil python-ply libssl-dev zlib1g-dev libbz2-dev libexpat1-dev libbluetooth-dev libgdbm-dev dpkg-dev quilt autotools-dev libreadline-dev libtinfo-dev libncursesw5-dev. I am having problem with pip install on Ubuntu 14.04 with Python 2.7 Building Python 2.7.10 on Ubuntu 14.04 LTS.