Issue installing dlib python package on 16.04 Ubuntu server - python

I have an issue with installing python packages before deploying my web application . So i'm stuck with the installation of dlib. I had several other issues when i tried installing it but this is the latest one .
I tried installing from the officiel github repo and directly with python pip and with different versions . I reinstalled python and i installed all the required dependencies but still stuck with the same error .
The server is running Ubuntu 16.04 (1 GB ram ).
Thanks.
error that i get when i run dlib installation

Related

python-snappy installation error on Windows OS

We are using GCP with Python in our project. For development purpose we are using Windows OS and Pycharm for python code development. We are getting snappy issue error. Post I tried to install pip install python-snappy through cmd in venv path.
Receiving below error.
Failed building wheel for python-snappy.
I tried to download "python_snappy-0.6.0-cp39-cp39-win_amd64.whl" and install. Still receiving error like Platform not supported.

"lightnovelapi" PIP,Conda & Python 3 Module Installation Error

I'm having troubles running the lightnovelapi, a Python library for accessing text from lightnovel websites, on any {file_name}.py
executable file.
I have tried:
Running pip3 install lightnovelapi.
Running python -m pip install lightnovel.
Running which python and which pip and using all versions of python and pip listed in the combinations of Steps 1 & 2 above.
Switching from originally using Windows 10 to MAC OS.
Downloading condas and creating conda envs and running steps 1-3.
Any advice on how to successfully install,import and run this library?

How to install Pillow 7.0.0 on Pycharm running Python 3.8?

I'm trying to use Django and displaying images from a Sql db, following this LinkedIn Learning tutorial.
In the process of running manage.py to run my django development server, I face an issue where I have to have pillow installed.
This process has so far proven tedious and here are the things I've tried:
Ran the "simple" python -m pip Pillow, python -m pip Pillow --upgrade in the PyCharm terminal, then get:
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
(Pycharm Ultimate, which I have): Running the WSL environment as provided in the release notes. This should to work as I have the required pre-reqs installed in WSL. However, my computer runs the dreaded "skeletons" process for quite a long time, and I don't see it ending anytime soon.
Attempting to install from the PyCharm GUI also fails in the same way as 1.
Attempting to install the following binaries from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pillow which is referenced in some other answers for this topic gives me this error when installing via pip install <wheel name here>:
Pillow-7.0.0-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.
**pip3 doesn't work either. Mentioning although in my PyCharm virtualenv they both point to the same python interpreter. At first glance...
My main ask is - has anyone been able to install pillow 7.0.0 on Windows 10, for a PyCharm virtualenv? And, if so, how have you done it? So I can get back to learning! Thank you in advance!
EDIT: Updated steps taken in (1). Sorry about that

How to deploy python project on a RHEL linux appliance without using PIP

I'm trying to run a python project on a RHEL 7 appliance without PIP installed, nor do I have sudo access. I'm able to deploy and run my python code without issue on the appliance, just without dependencies, so I do not get very far. How do I package a python project with all dependencies so that I can avoid the need for PIP altogether?
I've looked at some examples for packaging the python projects, but they assume the box has no Internet but does have PIP installed. Being that I don't have PIP, this is not very helpful.

Python error in installing package 'hpelm' via pip on windows

I am trying to install hpelm on my machine via pip install hpelm but getting this error - image of the error thrown in commandline while installing. I tried lots of things to solve it like:
1.Installing anaconda
2.Uninstalling anaconda and installing python 3.7 (64-bit) from python.org and then installing numpy+mkl, scipy, scikitlearn from the windows binary hosted by Christoph Gohlke (link).
3.Installing numpy, scipy, scikit-learn via pip install 'package_name'
None of the above methods worked. I'm using Windows-10 (64-bit), Python 3.7.1 (64-bit). I have wasted hours on it. Is there something basic that I might be missing? I'm kinda new to this. Please help me install this package.
This is a problem with Python3.7, as seen in this Github thread. It works fine if you try on Python 3.6. I installed it fine on Python3.6.7.

Categories

Resources