I've seen a few instances of this question, but have not found a solution or explanation.
I downloaded the latest canopy express (canopy-1.5.2-rh5-64.sh) onto a 64 bit Ubuntu 14.04.1 installation. Ran the install successfully. I then attempted to execute canopy for the first time but received this error:
~/Canopy/canopy_cli setup ~/canopy
/home/barry/Canopy/bin/_python: 1: /home/barry/Canopy/bin/_python: ELF: not found
/home/barry/Canopy/bin/_python: 9: /home/barry/Canopy/bin/_python: Syntax error: ")" unexpected
I also tried executing from the canopy icon from the file browser which produced this file:
�##�C#8# (invalid encoding)
It appears that the _python executable cannot be executed due to invalid encoding.
Has anyone else encountered this with Ubuntu 14.04, and is there a work-around?
Most likely cause: trying to install 64-bit Canopy on 32-bit Linux.
What is the output of uname -m ?
See https://askubuntu.com/questions/361013/canopy-ide-unexpected-error
Related
I am trying to run voyant-tool in Ubuntu 18.04 with openjdk version "1.8.0_242" and getting following error: GLib-GObject-WARNING **: 12:59:29.522: invalid cast from 'GtkToplevelAccessible' to 'JawToplevel'. The GUI is opening but not allowing to select any option. The same is running happily in Ubuntu 16,04 with the same Java version. Tried a couple of quick fix after Googling it but not able to solve it.
Try this -
sudo apt install openjdk-11-jdk
I have installed Tensorflow with Virtualenv in my Linux Mint 18.3 Xfce.
I have Pydev for Eclipse Neon and I have added a new python interpreter pointing to "bin/python" executable inside tensorflow virtualenv folder.
I am able to execute programs by selecting this interpreter, but when I open the interactive console and select the interpreter for tensorflow I get an error:
Error initializing console.
Unexpected error connecting to console.
Failed to receive suitable Hello response from pydevconsole. Last msg received: Console already exited with value: 1 while waiting for an answer.
I can't understand why this happens. For example I tried another IDE called Pyzo, configured the tensorflow interpreter and the interactive shell run without any problems.
Anyone has experienced the same issue?
The following is the EXACT output when running the command sudo python -m pip install pygame on raspberry pi:
Collecting pygame
Using cached pygame-1.9.3.tar.gz
Complete output from command python setup.py egg_info:
WARNING, No "Setup" File Exists, Running "config.py"
Using UNIX configuration...
Hunting dependencies...
SDL : found 1.2.15
FONT : found
IMAGE : found
MIXER : found
PNG : found
JPEG : found
SCRAP : found
PORTMIDI: not found
PORTTIME: not found
FREETYPE: found 2.5.2
Missing dependencies
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-nOupZN/pygame/
I have tried installing pygame in ways without using pip but all of them fail in other ways and I think this problem may be the easiest to fix. I don't mind the missing dependencies. I know error code 1 is "operation not permitted" error, but i did use sudo, so I don't know why this comes up. I apologize for having so much code, but I wanted to provide as much information as possible. I have no idea what the problem is, but if anyone can help it would be a lifesaver.
Notes:
The last line of the output appears in red text in the shell
nOupZN is probably just random; I've tried installing multiple times and that part changes each time
I am using python 2.7.9 and do not wish to switch
I have recently upgraded pip
The error still occurs even when using the --user flag
The error still occurs even when running sudo su beforehand
sudo apt-get install python3-pygame
I've been struggling to learn the right way to install stuff on my Pi too. I've just started this past year, and pretty much new to linux. I've converged on this technique working most of the time.
I am installing tesorflow on remote system server. This has centos installed. I am not admin , so I had to install tensorflow within a virtual environment. Once I did that then I encountered - import Error while importing Tensorflow in python2.7 in Ubuntu 12.04. 'GLIBC_2.17 not found'
Then I followed the post-: Error while importing Tensorflow in python2.7 in Ubuntu 12.04. 'GLIBC_2.17 not found'
Finally the error did changed to weak version GLIBC_2.17 not found but no matter what I do I always get segmentation fault. It doesn't matter what is the code.
I don't have admin rights- the server is CENTOS. I am using Linux Mint.
I am trying to install distcc 3.1 on one of the Sun Solaris platform.
After extracting the files to a folder I run configure (script which basically checks the required configuration).
This script throws out the following error
make: Fatal error in reader: Makefile, line 471: Unexpected end of line seen
after this if I run make or make install command I get another error and I am not able to proceed with the installation. Please help me with the correct installation process or guide me on how to resolve this Make issue.
this error occurs when the version of distcc installed is not compatible with your O.S. Install the package again this time for your own OS. Example - I installed distcc 2.13 for solaris 9 from www.sunfreeware.com.
I hope this helps !!
Thanks