![]() ![]() You can use symbolic links to tell conda the paths to Python files that were installed by apt. To fix it you need to tell conda the paths to Python files that were installed by apt. Anaconda is known for making a big mess out of the default paths for many Python modules. ![]() There were no errors on my computer, however I discovered what caused this error on your computer: OSError: /home/myuname/anaconda3/bin/./lib/libgomp.so.1: version `GOMP_4.0' not found (required by /usr/lib/x86_64-linux-gnu/.2)Ĭlearly the error on your computer is caused by anaconda. I tried troubleshooting your output and got these results: > from ctypes import * Close all the image windows that the Python code opened by clicking on the X before exiting from the Python interpreter. This code should run successfully and open the image in a separate window and show the console output. If you are running this code from the terminal, press Enter twice after the end of the code to run the code. I.save(filename='mona-lisa-.png'.format(r)) ![]() With Image(filename='mona-lisa.png') as img: sudo apt install python-wand libmagickwand-devĬreate an image called mona-lisa.png in your own home directory to use in the following example code from the wand documentation. Install wand in Ubuntu 16.04 from the default Ubuntu repositories. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |