Spyder not starting up with following error. Any help is highly appreciated.
OS: centos 7.3.1611 (Rhel)
I tried updating sypder and conda both. But no luck.
Spyder version: 5.0.5
Also I tried to pull latest libspatialindex. What might be the issue.
(base) [user#localhost ~]$ spyder
*** Error in `/home/user/anaconda3/bin/python': free(): invalid pointer: 0x00007f3fe730db80 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7c503)[0x7f401cd08503]
/lib64/libLLVM-3.8-mesa.so(_ZNSt6locale5_Impl16_M_install_facetEPKNS_2idEPKNS_5facetE+0x142)[0x7f3fe68d33e2]
/lib64/libLLVM-3.8-mesa.so(_ZNSt6locale5_ImplC1Em+0x1e3)[0x7f3fe68b7803]
/lib64/libLLVM-3.8-mesa.so(_ZNSt6locale18_S_initialize_onceEv+0x15)[0x7f3fe68b8775]
/lib64/libpthread.so.0(pthread_once+0x50)[0x7f401d059bb0]
/lib64/libLLVM-3.8-mesa.so(_ZNSt6locale13_S_initializeEv+0x21)[0x7f3fe68b87c1]
/lib64/libLLVM-3.8-mesa.so(_ZNSt6localeC1Ev+0x13)[0x7f3fe68b8803]
/home/user/anaconda3/lib/libspatialindex_c.so.6(SIDX_Version+0x33)[0x7f3fed4f8cc3]
/home/user/anaconda3/lib/python3.7/lib-dynload/../../libffi.so.6(ffi_call_unix64+0x4c)[0x7f401d29c630]
/home/user/anaconda3/lib/python3.7/lib-dynload/../../libffi.so.6(ffi_call+0x22d)[0x7f401d29bfed]
/home/user/anaconda3/lib/python3.7/lib-dynload/_ctypes.cpython-37m-x86_64-linux-gnu.so(_ctypes_callproc+0x60e)[0x7f401d2b251e]
/home/user/anaconda3/lib/python3.7/lib-dynload/_ctypes.cpython-37m-x86_64-linux-gnu.so(+0x12c14)[0x7f401d2b2c14]
....
....
7f3fdbba3000-7f3fdbbaf000 r--p 0002f000 fd:00 134954362 /home/user/anaconda3/lib/python3.7/site-packages/typed_ast/_ast3.cpython-37m-x86_64-linux-gnu.soAborted (core dumped)
Related
I am trying to setup wpa_supplicant using Buildroot for one of the project. I am using Buildroot 2022 version and I have selected below config in menuconfig
But after doing make I am getting below error:
>>> wpa_supplicant 2.10 Installing to staging directory
/usr/bin/install -m 0644 -D /root/raspcm4/sources/output/build/wpa_supplicant-2.10/wpa_supplicant/libwpa_client.so /root/raspcm4/sources/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libwpa_client.so
/usr/bin/install: cannot stat '/root/raspcm4/sources/output/build/wpa_supplicant-2.10/wpa_supplicant/libwpa_client.so': No such file or directory
make[1]: *** [package/pkg-generic.mk:331: /root/raspcm4/sources/output/build/wpa_supplicant-2.10/.stamp_staging_installed] Error 1
make: *** [Makefile:23: _all] Error 2
There is no libwpa_client.so Is there any other packages needs to be selected in Buildr
oot?
Can anyone please let me know how to resolve this issue?
Your help will be much appreciated.
Thanks in advance.
The issue was introduced on Buildroot git master with wpa_supplicant version bump 1 and fixed with 2. So, by including patch for wpa_supplicant above issue is solved.
[1]https://git.buildroot.net/buildroot/commit/package/wpa_supplicant?id=39381a467cd2cfc15f77d3f9adbf329d2f92e312
[2]https://git.buildroot.net/buildroot/commit/package/wpa_supplicant?id=c4eebf191c781a3ea6b5eb1811cc17ae92ea2fb2
I am unable to install "google-cloud-sdk" and seeing this error
and I followed instructions from https://cloud.google.com/sdk/docs/install#deb
ubuntu#ubuntu:~$ cat /etc/issue
Ubuntu 14.04.5 LTS
ubuntu#ubuntu:~$ sudo apt-get install google-cloud-sdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
google-cloud-sdk is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 172 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up google-cloud-sdk (356.0.0-0) ...
ERROR: gcloud failed to load: No module named 'typing'
gcloud_main = _import_gcloud_main()
import googlecloudsdk.gcloud_main
from googlecloudsdk.calliope import base
from googlecloudsdk.calliope import display
from googlecloudsdk.calliope import display_taps
from googlecloudsdk.core.resource import resource_printer_base
from googlecloudsdk.core.resource import resource_projector
import proto # pylint: disable=g-import-not-at-top
from .enums import Enum
from proto.marshal.rules.enums import EnumRule
from typing import Type
This usually indicates corruption in your gcloud installation or problems with your Python interpreter.
Please verify that the following is the path to a working Python 2.7 or 3.5+ executable:
/usr/bin/python3
If it is not, please set the CLOUDSDK_PYTHON environment variable to point to a working Python 2.7 or 3.5+ executable.
If you are still experiencing problems, please reinstall the Cloud SDK using the instructions here:
https://cloud.google.com/sdk/
dpkg: error processing package google-cloud-sdk (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
google-cloud-sdk
E: Sub-process /usr/bin/dpkg returned an error code (1)
"typing" module is present as shown below:
ubuntu#ubuntu:~$ python3
Python 3.4.3 (default, Nov 12 2018, 22:25:49)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
> import typing
> >>> from typing import Type
> >>> print(typing.__file__)
> /usr/local/lib/python3.4/dist-packages/typing.py
> >>>
Why it is not working?
Setting up "CLOUDSDK_PYTHON_SITEPACKAGES=1" environment variable worked
ubuntu#ubuntu:~$ export CLOUDSDK_PYTHON_SITEPACKAGES=1
ubuntu#ubuntu:~$ sudo -E apt-get install google-cloud-sdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
google-cloud-sdk is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 172 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up google-cloud-sdk (356.0.0-0) ...
components post-process --force-recompile
WARNING: Python 3.4.x is no longer officially supported by the Google Cloud SDK
and may not function correctly. Please use Python version 2.7.x or 3.5 and up.
If you have a compatible Python interpreter installed, you can use it by setting
the CLOUDSDK_PYTHON environment variable to point to it.
ubuntu#ubuntu:~$ which gcloud
/usr/bin/gcloud
Please, trying to rebuild IJulia given I am not able to launch it via Anaconda navigator (I receive the red kernel error). With the command Pkg.build("IJulia"), below is the output:
INFO: Building Conda
INFO: Building MbedTLS
===============================[ ERROR: MbedTLS]============================
LoadError: unlink: operation not permitted (EPERM)
while loading C:\Users\s1364322\.julia\v0.6\MbedTLS\deps\build.jl, in expression starting on line 40
==============================================================================
INFO: Building ZMQ
INFO: Building IJulia
INFO: Installing Jupyter via the Conda package.
INFO: Found Jupyter version 4.3.0:
C:\Users\s1364322\.julia\v0.6\Conda\deps\usr\Scripts\jupyter
INFO: Installing Julia kernelspec julia-0.6
Error executing Jupyter command 'kernelspec': [Errno 'jupyter-kernelspec' not found] 2
[InstallKernelSpec] Removing existing kernelspec in
C:\Users\s1364322\AppData\Roaming\jupyter\kernels\julia-0.6
[InstallKernelSpec] Installed kernelspec julia-0.6 in
C:\Users\s1364322\AppData\Roaming\jupyter\kernels\julia-0.6
================================[ BUILD ERRORS]=============================
WARNING: MbedTLS had build errors.
- packages with build errors remain installed in C:\Users\s1364322\.julia\v0.6
- build the package(s) and all dependencies with Pkg.build("MbedTLS")
- build a single package by running its deps/build.jl script
===============================================================================
When I try Pkg.build("MbedTLS"), the output is:
LoadError: unlink: operation not permitted (EPERM)
while loading C:\Users\s1364322\.julia\v0.6\MbedTLS\deps\build.jl, in expression starting on line 40
Please, how can I get the way around?
This is my version info:
Julia Version 0.6.0
Commit 903644385b* (2017-06-19 13:05 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i5-6300U CPU # 2.40GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, skylake)
Thanks for your help!
When running make while installing Guacamole 0.9.0, I get the following error:
undefined reference to 'png_set_longjmp_fn'` in /home/src/libguac/.libs/libguac.so.
Apparently, this error pops up when there is something wrong with libpng. I tried to install a new version of libpng (16) but the error persisted.
Anyone know how do fix this?
I am running Ubuntu 14.01 and libpng version 12.
Thanks in advance.
I am encountering problems loading the "Deducer" package due a loading problem with "rJava". The installation of "rJava" seems to be done correctly, yet it fails when calling it to load.
Please, can anyone shed some light of wisdom? :)
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: stop("No CurrentVersion entry in '", key, "'! Try re-installing Java and make sure R and Java have matching architectures.")
error: object 'key' not found
Error: package/namespace load failed for ‘rJava’
On xubuntu 12.04 with javac 1.7.0_21 set as default via:
$ sudo update-alternatives
then
$ sudo R CMD javareconf
$ sudo R
> update.packages()