Catboost does not show plot when specifying plot=true in model.fit - catboost

https://i.stack.imgur.com/Z3WYl.png
https://i.stack.imgur.com/j3udw.png
Catboost doesnt show plot. I am using mac m1 arm. Jupyter is locally installed.
Selected Jupyter core packages...
IPython : 8.3.0
ipykernel : 6.13.0
ipywidgets : 7.7.0
jupyter_client : 7.3.0
jupyter_core : 4.10.0
jupyter_server : not installed
jupyterlab : not installed
nbclient : 0.6.2
nbconvert : 6.5.0
nbformat : 5.4.0
notebook : 6.4.11
qtconsole : not installed
traitlets : 5.1.1
Tried in safari and chrome. Tried everything i could. No idea what could be the reason.

coudnt solve it.
Installed anaconda and created env there. That did work.

Related

jupyter lab 3 cannot display ipyaggrid

when trying to display an ipyaggrid object, i get:
"Error displaying widget: model not found".
the same notebook works fine in jupyter notebook.
Here is
"conda list jupyter"
# packages in environment at C:\Users\cocoj\.conda\envs\py39:
#
# Name Version Build Channel
jupyter 1.0.0 py39haa95532_7
jupyter-packaging 0.7.12 pyhd3eb1b0_0
jupyter_client 6.1.12 pyhd3eb1b0_0
jupyter_console 6.4.0 pyhd3eb1b0_0
jupyter_core 4.7.1 py39haa95532_0
jupyter_server 1.4.1 py39haa95532_0
jupyterlab 3.0.14 pyhd3eb1b0_1
jupyterlab_pygments 0.1.2 py_0
jupyterlab_server 2.4.0 pyhd3eb1b0_0
jupyterlab_widgets 1.0.0 pyhd3eb1b0_1
and here is the "jupyter labextension list"
JupyterLab v3.0.14
C:\Users\cocoj\.conda\envs\py39\share\jupyter\labextensions
jupyterlab-plotly v5.2.2 enabled ok
#jupyter-widgets/jupyterlab-manager v3.0.0 enabled ok (python, jupyterlab_widgets)
#voila-dashboards/jupyterlab-preview v2.0.2 enabled ok (python, voila)
Other labextensions (built into JupyterLab)
app dir: C:\Users\cocoj\.conda\envs\py39\share\jupyter\lab
ipyaggrid v0.2.1 enabled ok
fwiw, the ipywidgets, the plotly figureWidgets are all displayed fine in Jupyter Lab.
in particular,
523.fa256ee012d38a89b65a.js:1 Uncaught (in promise) Error: Module ipyaggrid, semver range ~0.2.1 is not registered as a widget module

Ionic Images not showing on first page load

im having an issue with images located on src/assets/images
Here's my ionic info output:
$ ionic info
cli packages: (C:\Users\Win 7\AppData\Roaming\npm\node_modules)
#ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 8.0.0
local packages:
#ionic/app-scripts : 3.1.8
Cordova Platforms : android 7.0.0
Ionic Framework : ionic-angular 3.9.2
System:
Android SDK Tools : 26.1.1
Node : v8.11.1
npm : 5.6.0
OS : Windows 7
Environment Variables:
ANDROID_HOME : C:\Users\Win 7\AppData\Local\Android\Sdk
Misc:
backend : pro
When the page loads the first time images dont load, then i exit the page and re-enter to it again and the images are here x)
I used <ion-img src="..."></ion-img> tag
If you are directly passing the image path from assets as the source of , then use below code will fix the x sign issue:
<img src="assets/images/logo.png">
This is how you can insert image in your Ionic application.
<img src="assets/icon/myImage.png" class="image-responsive">

Ionic2 google maps Execution failed for task ':transformClassesWithDexForDebug'

my project woks good without google maps plugin , when i install it and try to build i get:
* What went wrong:
Execution failed for task ':transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException:
java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define
Lcom/google/android/gms/iid/zzc;
when i create a new project and install the plugin it runs well so i think one of my plugins conflict with it
ionic info:
global packages:
#ionic/cli-utils : 1.4.0
Cordova CLI : 7.0.1
Ionic CLI : 3.4.0
local packages:
#ionic/app-scripts : 1.3.6
#ionic/cli-plugin-cordova : 1.4.0
#ionic/cli-plugin-ionic-angular : 1.3.1
Cordova Platforms : android 6.2.3
Ionic Framework : ionic-angular 3.1.1
System:
Node : v6.10.3
OS : Windows 10
Xcode : not installed
ios-deploy : not installed
ios-sim : not installed
npm : 3.10.10
cordova plugin list:
cordova-plugin-console 1.0.5 "Console"
cordova-plugin-device 1.1.4 "Device"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.3 "StatusBar"
cordova-plugin-whitelist 1.3.1 "Whitelist"
cordova-sqlite-storage 2.0.4 "Cordova sqlite storage plugin"
ionic-plugin-keyboard 2.2.1 "Keyboard"
phonegap-plugin-push 1.10.4 "PushPlugin"
plugin.google.maps 1.3.9 "phonegap-googlemaps-plugin"
{}
Try installing version 1.3.9. Worked for me:
cordova plugin add cordova-plugin-googlemaps#1.3.9 --variable API_KEY_FOR_ANDROID="YOUR_ANDROID_API_KEY_IS_HERE" --variable API_KEY_FOR_IOS="YOUR_IOS_API_KEY_IS_HERE"

chromedriver on centos 6.5 can not run

My os is centos6.5
Download chrome27 old version and can run succeeded google-chrome
(google-chrome:8623): Gtk-WARNING **: cannot open display: )
Download chromedriver 2.10 version
By https://code.google.com/p/chromedriver/issues/detail?id=361 setup chromedriver
and run chromedriver (./chromedriver), but show:
/opt/google/chrome/google-chromedriver: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /opt/google/chrome/google-chromedriver)
What should I do?
If your issue is just this error -> "Gtk: cannot open display" Which means it can not find display attached with device so if you have connected display you can export its address. generally it will be 0.0 So your command will be like "export DISPLAY=:0.0" if doesn't work try changing 0.0 to 0 then it can find the display and then it will start on GUI.

version node not found for symbol mysql_select_db#libmysqlclient_16

I was trying to build my app on linux using mysql c api, and got this error at link stage, it's working fine on windows. Please help, thanks!
error message:
/bin/ld: myapp.so : version node not found for symbol mysql_select_db#libmysqlclient_16
/bin/ld: failed to set dynamic section sizes: Bad value
OS: CentOS 7, 64-bit, (VM on virtual box)
Mysql: 5.6.24 (community edition, installed via yum)
.bashrc file
export LIBMYSQL_INCLUDE_DIR=/usr/include/mysql
export LIBMYSQL_LIBRARY=/usr/lib64/mysql
export LD_LIBRARY_PATH=/usr/lib64/mysql:$LD_LIBRARY_PATH
cmake file: (variables are set according to environment variables)
FILE(GLOB SRC_MYAPP myapp/*.c myapp/*.h)
INCLUDE_DIRECTORIES(${LIBMYSQL_INCLUDE_DIR})
ADD_LIBRARY(myapp ${SRC_MYAPP})
IF (MSVC_IDE)
TARGET_LINK_LIBRARIES(myapp ${LIBMYSQL_LIBRARY}/libmysql)
ELSE ()
TARGET_LINK_LIBRARIES(myapp ${LIBMYSQL_LIBRARY}/libmysqlclient_r.a)
ENDIF ()
Put #hank 's comment as answer
I suppose you should add link_directories(/usr/lib64/mysql) before add_library and then target_link_libraries(myapp mysqlclient_r) – hank May 12 at 12:50