I am trying to install kenlm for Python with the following command:
pip install https://github.com/kpu/kenlm/archive/master.zip
At that time I found the following error:
error: command 'C:\\Users\\PhyuKhaing\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status2
How can I solve that problem?
Related
I want to setup manim community repo using poetry. I ran the command "poetry install". I am getting the following error.
Python 3.8.5, Pip 20.2.4
EnvCommandError
Command D:\manim\venv\Scripts\pip.exe install --no-deps file:///C:/Users/abc/AppData/Local/pypoetry/Cache/artifacts/03/ee/1a/ee5da5d7b449da38c4e593ecc6a57342de04222cd7fbe5b126a4e3f
df0/pangocairocffi-0.3.2.tar.gz errored with the following return code 1, and output:
Processing c:\users\abc\appdata\local\pypoetry\cache\artifacts\03\ee\1a\ee5da5d7b449da38c4e593ecc6a57342de04222cd7fbe5b126a4e3fdf0\pangocairocffi-0.3.2.tar.gz
ERROR: Command errored out with exit status 1:
...
...
...
OSError: dlopen() failed to load a library: pango / pango-1 / pango-1.0 / pango-1.0-0
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Use poetry only when you want to contribute to Manim Community itself, or else don't use it.
Now let's, come to the error. What the error, say's is it can't find some shared libraries. According to the docs, it says, you have to install Pango for it to work.
Possibly, you may have missed this step.
https://docs.manim.community/en/latest/installation/win.html#pango-installation
I am trying to install the pymssql module in the Command Prompt for VS 2017 Command line and when I type
pip install pymssql
I get this error
cl: error: no such option: -I
Here is the more defined error code:
cl: error: no such option: -I
error: command 'C:\Users\blake\AppData\Local\Programs\Python\Python37-32\Scripts\cl.exe'
failed with exit status 2
On Windows, please follow the instructions on
https://learn.microsoft.com/en-us/sql/connect/python/pymssql/step-1-configure-development-environment-for-pymssql-python-development?view=sql-server-2017
i. e.: Download the wheel-file, place it in the same folder where the python.exe is, move to that folder and run
pip install pymssql-2.1.3-cp36-cp36m-win_amd64.whl
Having troubles installing geopandas into python using "pip install geopandas" which is returning "Command “python setup.py egg_info” failed with error code 1 when installing..." error.
I am using python 2.7.14.
I have been trying to install the pocketsphinx package
with pip for python3.6.3 on Mac os x 10.6.8 but the package failed to install an I get these errors:
swig/sphinxbase/ad.i:56: Error: Unable to find 'pybuffer.i'
swig/sphinxbase/ad.i:99: Error: Unable to find 'pybuffer.i'
error: command 'swig' failed with exit status 1.
I already have swig installed. I don't know what the problem is or even worst how to solve it. Thank you!.
I'm trying to install hiredis on my Joyent SmartMachine running Solaris 11. I keep getting the following error.
In file included from /usr/include/iso/string_iso.h:48:0,
from /opt/local/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.3/include-fixed/string.h:41,
from vendor/hiredis/read.c:34:
/opt/local/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.3/include-fixed/sys/feature_tests.h:366:2: error: #error "Compiler or options invalid; UNIX 03 and POSIX.1-2001 applications require the use of c99"
error: command 'gcc' failed with exit status 1
----------------------------------------
Cleaning up...
You need to manually override your C compiler while doing the pip install. Try the following command:
CC="gcc -std=gnu99" pip install hiredis