I can´t install Anaconda on Linux - python

When I try to install Anaconda on Linux, I get to this point:
Anaconda3 will now be installed into this location:
/home/jorge/anaconda3
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
[/home/jorge/anaconda3] >>>
PREFIX=/home/jorge/anaconda3
Unpacking payload ...
Then I receive the following error message:
concurrent.futures.process._RemoteTraceback:
'''
Traceback (most recent call last):
File "concurrent/futures/process.py", line 367, in _queue_management_worker
File "multiprocessing/connection.py", line 251, in recv
TypeError: __init__() missing 1 required positional argument: 'msg'
'''
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "entry_point.py", line 69, in <module>
File "concurrent/futures/process.py", line 483, in _chain_from_iterable_of_lists
File "concurrent/futures/_base.py", line 598, in result_iterator
File "concurrent/futures/_base.py", line 435, in result
File "concurrent/futures/_base.py", line 384, in __get_result
concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.
[1770] Failed to execute script entry_point
What can I do? I was following all the instructions step by step

I had a similar problem where available storage (disk space) was only 1.2 GB. Please make sure that you have enough free storage space to install it. To check available space, type
df -h /home/

Did you verify the integrity of the installer's data? because it is a common error when downloading this corrupted or incomplete
since it is the previous step you have to do to make sure that the file is ok before executing the script.
This post helped me a lot for the first time I installed it.
https://www.digitalocean.com/community/tutorials/how-to-install-anaconda-on-ubuntu-18-04-quickstart

Related

opencv python : install in rapberry and failed to find a specific file

i tried to install opencv-python in my raspberry. i tried in many ways, including :
pip install opencv-python
but the process take so much time. (almost 2 hours untill now)
so i tried another way, which is installing from it's tar.gz file. i downloaded the tar.gz file, unarchive that, and run this command :
python setup.py install
with the result is error after 4 hours waiting. the error messages is :
Traceback (most recent call last):
File "setup.py", line 449, in <module>
main()
File "setup.py", line 249, in main
cmake_source_dir=cmake_source_dir,
File "/home/pi/lucky/test_krsbi/lib/python3.7/site-packages/skbuild/setuptools_wrap.py", line 625, in setup
cmake_source_dir, skbuild_kw['cmake_install_dir'])
File "setup.py", line 362, in _classify_installed_files_override
raise Exception("Not found: '%s'" % relpath_re)
Exception: Not found: 'python/cv2[^/]*\.cpython\-37m\-arm\-linux\-gnueabihf\.so'
can you guys help me? i tried many things before this problem happen. but now, i really stuck, no thing in the internet can help me

Installing Anaconda on Ubuntu, getting BrokenProcessPool error

I am installing anaconda on my Linux machine. I followed the instructions here. https://docs.anaconda.com/anaconda/install/linux/
However, after selecting the location for the installation, I get an error
PREFIX=/home/iris/anaconda3
Unpacking payload ...
Traceback (most recent call last):
File "entry_point.py", line 71, in <module>
File "concurrent/futures/process.py", line 483, in _chain_from_iterable_of_lists
File "concurrent/futures/_base.py", line 598, in result_iterator
File "concurrent/futures/_base.py", line 435, in result
File "concurrent/futures/_base.py", line 384, in __get_result
concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.
[9196] Failed to execute script entry_point
In my case I got this error by not having enough memory (RAM) at disposal for the installation to complete for the Anaconda Power9 installer; in detail I executed the installation on a remote node (srun -i, with slurm scheduler, I have a multi-arch cluster) and it failed lot of times, the problem has been solved by raisin' the RAM memory for the task to 5GB, --mem=5G solved the issue.

GMIC Python plugin crashing in GIMP

I'm getting a procedure not found error when trying to call gimp_freaky_bw "from gimpfu" pdb.plug_in_gmic. This worked with an earlier installation of GIMP. I have just installed GIMP 2.8.22 and G'MIC 2.1.1. The error is:
Traceback (most recent call last):
File "C:\Program Files\GIMP 2\32\lib\gimp\2.0\python\gimpfu.py", line 736, in response
dialog.res = run_script(params)
File "C:\Program Files\GIMP 2\32\lib\gimp\2.0\python\gimpfu.py", line 361, in run_script
return apply(function, params)
File "C:\Users\tommy\.gimp-2.8\plug-ins\DIEGO_ARTISTIC_JamackSketch.py", line 124, in JamackSketch
pdb.plug_in_gmic(newImage, FreakyBW, 1, # 1=input only active layer
error: procedure not found
In recent versions of the GMIC plugin the entry point is:
pdb.plug_in_gmic_qt(image, drawable, input, output, command)
and not plug_in_gmic as in the reported error. So, fix the python script, or contact the author to get it fixed.

getting 'ValueError: not open' when trying to open a connection with hidapi/hid on OSX

I am using python to open a hid/hidapi (the error is the same either way) connection on OSX El Capitan. However, It gives me the following error stacktrace:
Traceback (most recent call last):
File "/Users/johndoe/Library/Python/2.7/lib/python/site-packages/gevent/greenlet.py", line 534, in run
result = self._run(*self.args, **self.kwargs)
File "/Users/johndoe/IdeaProjects/projectname/emokit-master/python/emokit/emotiv.py", line 403, in setup
self.setup_darwin()
File "/Users/johndoe/IdeaProjects/projectname/emokit-master/python/emokit/emotiv.py", line 526, in setup_darwin
data = hidraw.read(34)
File "hid.pyx", line 105, in hid.device.read (hid.c:2338)
ValueError: not open
<Greenlet at 0x10f7f1b90: <bound method Emotiv.setup of <emokit.emotiv.Emotiv object at 0x10f532c50>>> failed with ValueError
I can't find anything on this, and do not usually use OSX or python, so I am at a bit of a loss
Often, hidapi needs sudo permissions on a mac for some reason. Even if you are running Ubuntu on a mac.

Sublime-text-2: Nettuts-fetch and SFTP Package Conflict?

Nettuts-fetch package stopped working. I followed 'Reverting to a Freshly Installed State' and then started to install packages. I started with Nettuts-fetch and re-started Sublime on each package install. The Nettuts-fetch worked fine until I installed SFTP. I removed SFTP and Nettuts-fetch worked again.
EDIT:
Fetch:file - works as expected.
Fetch:Package - I can select a download location, the process stalls for a while, but does not show download animation processes (equals sign moving side to side), the download file is created with nothing inside and there is not a download complete confirmation.
Is there an error log file I can look for?
SUB EDIT:
"You can access the console by hitting Ctrl- `"
Fetch.sublime-settings:
{
"files":
{
"jquery": "http://code.jquery.com/jquery.min.js"
},
"packages":
{
"html5_boilerplate": "https://github.com/h5bp/html5-boilerplate/zipball/master",
"phpmailer": "https://github.com/Synchro/PHPMailer/archive/master.zip"
}
}
Console report after Fetch:
Exception in thread Thread-633:
Traceback (most recent call last):
File ".\threading.py", line 532, in __bootstrap_inner
File "./fetch/downloader.py", line 46, in run
File "./fetch/downloader.py", line 209, in download_package
AttributeError: 'URLError' object has no attribute 'code'
and
Exception in thread Thread-638:
Traceback (most recent call last):
File ".\threading.py", line 532, in __bootstrap_inner
File "./fetch/downloader.py", line 46, in run
File "./fetch/downloader.py", line 209, in download_package
AttributeError: 'URLError' object has no attribute 'code'
End EDIT
I presume there is a conflict between these two packages though I can not find anything relating to this on the Web? I do not know how to debug any further - help appreciated.
Thanks

Categories

Resources