I fails to plot_tree when I use lightgbm.
I upload traceback as an image, because I cannot download my code from server.
How can I solve this problem?
Related
Thanks for putting a pip install of rdkit together.
When I went to run my code i observed
Traceback (most recent call last):
File "./app.py", line 12, in <module> from rdkit.Chem import Draw
File "/var/lang/lib/python3.8/site-packages/rdkit/Chem/Draw/__init__.py",
line 21, in <module> from rdkit.Chem.Draw import rdMolDraw2D
ImportError: libXrender.so.1: cannot open shared object file: No such file or directory
normally this could be treated (i think) with
sudo apt-get install libxrender1
based on
albumentations-team/albumentations#415
however, if one wanted to use a docker build (as I do) from some public image such as
FROM public.ecr.aws/sam/build-python3.8:1.71.0-20230124190835
I dont think this is possible.
This thread
https://sourceforge.net/p/rdkit/mailman/rdkit-discuss/thread/CAEmzeFe9Kn6FNeOXmwZqxcdbm7LV1Vz-J9rTw_CJJJRAHgkKfQ#mail.gmail.com/
recommends using a specific conda forge channel.
My plan is to rebuild the docker image using the miniconda base image. I suspect that this might not play well with AWS Lambda/Serverless approaches to app deployment.
I will report back with my workaround. Please let me know if I have missed something.
Thanks.
Core issue was that the base docker image that i chose did not include the libxrender1 package nor the apt-get install command. Setting based image to
FROM python:3.8
resolved the issue
I am new to Pyomo and would love to use it and call GLPK or CBC. However, I am struggling to get any of them working, perhaps I am not able to install and call them correctly. I am using windows and would appreciate any input.
Here is an error message I am receiving:
"Could not locate the 'glpsol' executable, which is required for solver 'glpk'"
I am using python 3.6.
Im trying yo install bazel-0.8.0 in my raspberry pi 3, but when i compile bazel, after an hour, through me an error. The specific error i think is package-bazel.sh zip: doesnt found. I follow the instruction of this video "https://www.youtube.com/watch?v=WqCnW_2XDw8", and i do all the things like the video, but i cant fix that error that appears to me. Anybody know why i get that error?
This is the exactly error i get:
It seems as the programm zip is not installed. Please try to execute the command line to install all prerequisits as mentioned here https://docs.bazel.build/versions/master/install-compile-source.html#unix-like-systems
I am using using Pycharms to program using Python3.5. I tried to import docx module and I am getting the error shown in the picture. I am not able to do any pip install either. I get a fatal error shown in the second picture.
I keep getting this error any time i call any page that has a call that uses RMagick, but i can't figure out what library i'm missing, or what i need to install to get rid of this error. Does anyone have debugging suggestions?
Processing SimpleCaptchaController#simple_captcha (for 127.0.0.1 at 2010-01-14 14:24:24) [GET]
Parameters: {"image_style"=>"", "time"=>"1263500664", "simple_captcha_key"=>"13eec13214d2ce84b725d14c5877fcbe13308cf5", "distortion"=>""}
Could not dump header data for exception: not opened for reading
ArgumentError (unknown format: JPG):
/usr/local/lib/ruby/gems/1.8/gems/fiveruns-dash-ruby-0.8.10/lib/fiveruns/dash/instrument.rb:125:in `perform_action_without_rescue'
...
After re-installing based on this cache of the bellow attempted solution
i am getting this error:
Magick::ImageMagickError (Wrong JPEG library version: library is 62, caller expects 70 `' # jpeg.c/EmitMessage/232):
I had to:
sudo port uninstall jpeg
install image magic using this script on git:
http://github.com/masterkain/ImageMagick-sl
after i was able to install rmagick:
sudo gem install rmagick
now, no more problems.
Their site is down at the moment, but when it comes back online you should run this install script by Solomon White.
http://onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard