I want to install openmesh for python. I've tried: pip install openmesh in the terminal in pycharm.
I'm using Windows 10 and Python 3.8. I've installed cmake using pip install cmake.
Now the following error occurs:
WARNING: The wheel package is not available.
running install
running build
running build_ext
Building for: NMake Makefiles
CMake Error at CMakeLists.txt:3 (project):
Generator
NMake Makefiles
does not support platform specification, but platform
x64
was specified.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
Configuring incomplete, errors occurred!
------------------------------------------------------------
Does anyone know what to do?
I'm thankful for any help!
Related
I've been trying to use the speech recognition library in a PyCharm virtual environment on Mac, but I need to install PyAudio for it to work.
When I try to install it it gives me this error (this is only the end of the error)
src/pyaudio/device_api.c:9:10: fatal error: 'portaudio.h' file not found
#include "portaudio.h"
^~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for pyaudio
Failed to build pyaudio
ERROR: Could not build wheels for pyaudio which use PEP 517 and cannot be installed directly
The tutorials I have watched have told me to use homebrew but I don't want to install it.
Is there any method to install it without homebrew?
I also installed microsoft c++ 14.... but i really don't know how to get around this
Here is the error:
Fatal error from pip prevented installation. Full pip output in file:
C:\Users\aiatu\.local\pipx\logs\cmd_2022-12-23_22.25.32_pip_errors.log
pip failed to build packages:
bitarray
cytoolz
yarl
Some possibly relevant errors from pip install:
error: subprocess-exited-with-error
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.34.31933\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
cytoolz/dicttoolz.c(209): fatal error C1083: Non Š possibile aprire il file inclusione: 'longintrepr.h': No such file or directory
yarl/_quoting_c.c(196): fatal error C1083: Non Š possibile aprire il file inclusione: 'longintrepr.h': No such file or directory
Error installing eth-brownie.
Once again, here answering my own queston.
I had python 3.11.1, i deleted this python version and installed 3.10.9. and then i installed brownie via: pip install eth-brownie
I'm trying to download face_recognition for a project. Keep getting this error. Any ideas to fix it?
C:\>pip install face_recognition
Requirement already satisfied: numpy in c:\python\lib\site-packages (from face_recognition) (1.22.2)
Running setup.py install for dlib ... error
error: subprocess-exited-with-error
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:14 (project):
No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:14 (project):
No CMAKE_CXX_COMPILER could be found
Building wheels for collected packages: pywinpty
Building wheel for pywinpty (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pywinpty (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [72 lines of output]
Running `maturin pep517 build-wheel -i c:\users\aryal\appdata\local\programs\python\python38-32\python.exe`
Compiling proc-macro2 v1.0.36
Compiling unicode-xid v0.2.2
Compiling windows_x86_64_msvc v0.29.0
Compiling libc v0.2.117
Compiling syn v1.0.86
error: could not compile `windows_x86_64_msvc` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: build failed
💥 maturin failed
Caused by: Failed to build a native library through cargo
Caused by: Cargo build finished with "exit code: 101": `cargo rustc --message-format json --manifest-path Cargo.toml --release --lib --`
ðŸ\x8d¹ Building a mixed python/rust project
🔗 Found pyo3 bindings
ðŸ\x90\x8d Found CPython 3.8 at c:\users\aryal\appdata\local\programs\python\python38-32\python.exe
error: linker `link.exe` not found
|
= note: program not found
note: the msvc targets depend on the msvc linker but `link.exe` was not found
note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
error: linker `link.exe` not found
|
= note: program not found
note: the msvc targets depend on the msvc linker but `link.exe` was not found
note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
error: linker `link.exe` not found
|
= note: program not found
note: the msvc targets depend on the msvc linker but `link.exe` was not found
note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
error: aborting due to previous error
error: aborting due to previous error
error: aborting due to previous error
error: linker `link.exe` not found
|
= note: program not found
note: the msvc targets depend on the msvc linker but `link.exe` was not found
note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
error: aborting due to previous error
Error: command ['maturin', 'pep517', 'build-wheel', '-i', 'c:\\users\\aryal\\appdata\\local\\programs\\python\\python38-32\\python.exe'] returned non-zero exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pywinpty
Failed to build pywinpty
ERROR: Could not build wheels for pywinpty, which is required to install pyproject.toml-based projects
The errors that I am getting are as follows-:
Building wheels for collected packages: pywinpty
Building wheel for pywinpty (pyproject.toml) ... error
2)error: could not compile windows_x86_64_msvc due to 2 previous errors
3)error: build failed
💥 maturin failed
Caused by: Failed to build a native library through cargo
Caused by: Cargo build finished with "exit code: 101": cargo rustc --message-format json --manifest-path Cargo.toml --release --lib --
ðŸ\x8d¹ Building a mixed python/rust project
🔗 Found pyo3 bindings
ðŸ\x90\x8d Found CPython 3.8 at c:\users\aryal\appdata\local\programs\python\python38-32\python.exe
error: linker link.exe not found
|
= note: program not found
error: linker link.exe not found
You get this error when your default "python" is the 32 bit. uninstall and reinstall the 64 bit python.
I'm trying to install Flask-SimpleLDAP on a Windows machine so I can use Active Directory for authentication for a Dash app I have created.
I'm following this article - https://towardsdatascience.com/a-simple-way-to-integrate-dash-with-ldap-4d5d059ee3a6
The install is failing when it tries to build the wheel for "python-ldap", with the errors:
Building wheel for python-ldap (setup.py) ... error
ERROR: Command errored out with exit status 1:
C:\Users\canderson\AppData\Local\Temp\pip-install-zixltin3\python-ldap\Modules\common.h(15): fatal error C1083: Cannot open include file: 'lber.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Failed building wheel for python-ldap
I tried installing with both pip and pip3 with the same result, using the commands:
pip3 install flask-simpleldap
pip install flask-simpleldap
As a workaround I tried installing python3-ldap which installed no problem though it didn't help with the install of Flask-SimpleLDAP as the original (python-ldp) package is bundled into the install.
Do any of you know of a workaround for this or if there is another more freidnly version of Flask-SimpleLDAP available?