Tag: anaconda

Symbol not found when using pycall to call sklearn in Ruby

问题内容: I try to call sklearn using ruby, for this I use PyCall such that: require 'pycall/import' include PyCall::Import pyfrom :sklearn, import: :datasets However, using this last line I have this error (for Python I use anaconda): /usr/local/lib/ruby/gems/2.4.0/gems/pycall-1.0.3/lib/pycall/import.rb:46:in `import_module’: : dlopen(/Users/tay/anaconda3/lib/python3.6/site-packages/scipy/sparse/linalg/isolve/_iterative.cpython-36m-darwin.so, 2): Symbol not found: _main (PyCall::PyError) Why is this happening, and how can I

Anaconda3 python 3.6 in Powershell

问题内容: I have the following problem. I installed Anaconda3 with python 3.6 on windows 10 . Now i have the problem that in cmd python commands are recognized and in powershell not. i can type “python” in cmd and it recognzies the anaconda python version. If i type “python” in powershell it does not find