ERROR: Could not build wheels for polars, which is required to install pyproject.toml-based projects - python-polars

When I install polars in the new environment:
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for polars
Failed to build polars
ERROR: Could not build wheels for polars, which is required to install pyproject.toml-based projects

Related

Unable to cross-compile Swift code on linux

When I try compile a swift code on linux (in my x64 machine), with the command swift build -c release --arch arm64 I am getting this error:
<unknown>:0: error: could not find module '_Concurrency' for target 'arm64-unknown-linux-gnu'; found: x86_64-unknown-linux-gnu, at: /home/kleber-manjaro/swift-5.5.2-RELEASE-ubuntu20.04/usr/lib/swift/linux/_Concurrency.swiftmodule
Anyone can tell me what is causing this and how to fix it?

Building package glib:x64-osx failed with: BUILD_FAILED

I am trying to install GTK on my Mac (running Catalina) using vcpkg.
I get the following error message on running ./vcpkg install gtk
How can I fix this?
Error: Building package glib:x64-osx failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: glib:x64-osx
Vcpkg version: 2019.09.12-unknownhash
Additionally, attach any relevant sections from the log files above.
EDIT
I used --keep-going while running the install command, and it installed all the packages that do not require glib to build.
I've added the log file outputs:
config-x64-osx-dbg-out.log
config-x64-osx-dbg-err.log
CMakeOutput.log

Yocto 2.4.2 failed to do_package_qa task

I am working with Yocto project version Rocko 2.4.2, Linux LTS4.4, cortexA15 ARM arch
When I bitbake weston package (v2.0), the error generated
ERROR: weston-2.0.0-r0 do_package_qa: QA Issue: /usr/lib/libweston-2/gl-renderer.so contained in package libweston-2 requires libGLESv2.so, but no providers found in RDEPENDS_libweston-2? [file-rdeps]
ERROR: weston-2.0.0-r0 do_package_qa: QA Issue: /usr/bin/weston-simple-egl contained in package weston-examples requires libGLESv2.so, but no providers found in RDEPENDS_weston-examples? [file-rdeps]
ERROR: weston-2.0.0-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: weston-2.0.0-r0 do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/server-build/RZG_YoctoProject/build/tmp/work/cortexa15hf-neon-poky-linux-gnueabi/weston/2.0.0-r0/temp/log.do_package_qa.8133
ERROR: Task (/home/server-build/RZG_YoctoProject/build/../poky/meta/recipes-graphics/wayland/weston_2.0.0.bb:do_package_qa) failed with exit code '1'
I tried to set "RDEPENDS_weston-examples = "libGLESv2" but it's still failed.
ERROR: Nothing RPROVIDES 'libGLESv2' (but /home/server-build/RZG_YoctoProject/build/../poky/meta/recipes-graphics/wayland/weston_2.0.0.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'libGLESv2' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['libGLESv2']
ERROR: Required build target 'weston' has no buildable providers.
Missing or unbuildable dependency chain was: ['weston', 'libGLESv2']
This error happened due to new structure and syntax of Yocto 2.4.2.
Anyone who is running into the same issue ?
Thanks for any help.

Getting "No such module" error after running POD LIB LINT

I'm trying to create a POD but when I run pod lib lint or pod spec lint, I get the next output:
`XXXXXX/LoginService/LoginService.swift:10:8: error: no such module
'TwitterKit' import TwitterKit
^
** BUILD FAILED **
The following build commands failed: CompileSwift normal x86_64
XXXXXX/LoginService/LoginService.swift CompileSwiftSources normal
x86_64 com.apple.xcode.tools.swift.compiler (2 failures) ->
LoginService (0.1.0)
- ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code.
- ERROR | [iOS] xcodebuild: /Users/danielfernandez/Documents/tekton_projects/LoginService/LoginService/LoginService.swift:10:8:
error: no such module 'TwitterKit'`
I don't know why, because If I build my project there is no errors, I'm using the TwitterKit without any problem.
This is my first time trying to create a pod. I used cocoapods to install Twitter Kit and my Xcode Version is 8.3.3
This is my POD SPEC:
If I put the s.dependency, I get this error: The 'Pods-App' target has transitive dependencies that include static binaries
If I use --use-libraries I get this error: Pods written in Swift can only be integrated as frameworks; add use_frameworks!
This is my Podfile:

Installing Tensorflow from source

I've been trying to install Tensorflow and get it working over the past few days. Whilst I have managed to install TF and get it working as tested by opening Python in the terminal and typing,
import tensorflow as tf
I have not been successful attempting to retrain Inception v3. I managed to install it from source once by following the instructions laid out here however I am no longer able to do so. When I get to the section 'Create the pip package and install' and go to run bazel build -c opt //tensorflow/tools/pip_package:build_pip_package in the root of my Tensorflow directiory I get the following error.
kieran#kieranUbuntu:~/tensorflow$ bazel build -c opt //tensorflow/tools/pip_package:build_pip_package
ERROR: /home/kieran/tensorflow/tensorflow/core/BUILD:1068:1: no such target '//tensorflow/tools/git:gen/spec.json': target 'gen/spec.json' not declared in package 'tensorflow/tools/git' defined by /home/kieran/tensorflow/tensorflow/tools/git/BUILD and referenced by '//tensorflow/core:version_info_gen'.
ERROR: /home/kieran/tensorflow/tensorflow/core/BUILD:1068:1: no such target '//tensorflow/tools/git:gen/head': target 'gen/head' not declared in package 'tensorflow/tools/git' defined by /home/kieran/tensorflow/tensorflow/tools/git/BUILD and referenced by '//tensorflow/core:version_info_gen'.
ERROR: /home/kieran/tensorflow/tensorflow/core/BUILD:1068:1: no such target '//tensorflow/tools/git:gen/branch_ref': target 'gen/branch_ref' not declared in package 'tensorflow/tools/git' defined by /home/kieran/tensorflow/tensorflow/tools/git/BUILD and referenced by '//tensorflow/core:version_info_gen'.
ERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package' failed; build aborted.
INFO: Elapsed time: 3.063s
This is the same error I ran into when I managed to install it and then attempted retaining the classifier following this tutorial. At the section, bazel build tensorflow/examples/image_retraining:retrain.
I just can't figure out what is going wrong and I have been trying for so long.
I'm using this pip version, # Ubuntu/Linux 64-bit, CPU only, Python 2.7
I think you should search before ask, This link can probably solve your issue.
The issue lied in the incorrect use of ./configure. Whilst it was ran I currently have two versions of python on my computer, both of which are stored in different locations, when running ./configure I pointed it to the wrong python version. After rectifying the issue everything worked correctly.