-
I want to write the following Python code
```python
for item in collection:
...
```
like the following in Ruby with PyCall:
```ruby
collection.each do |item|
...
end
```
Now PyC…
-
- 実装したいもの:レコメンド機能
→pycall gemでpythonのsurpriseを使い、各ユーザーが各ジムに対してした評価(rating)をもとに、おすすめのジムを表示する機能を実装したいと考えています。
- 解決したいもの・エラー内容:以下の通り
```
(venv) root@c1032f383043:/GoGym# ruby lib/tasks/recommend.rb…
-
Just like we currently inject regex syntax into regexes, and SQL syntax into `SQLStrings`, I think it would be nice to have LaTeX language injection into [LaTeXStrings](https://github.com/JuliaStrings…
-
Hi,
I'm getting the following error:
```
ERROR: Failed to precompile PyCall to /Users/karel/.julia/lib/v0.5/PyCall.ji.
in compilecache(::String) at ./loading.jl:593
in require(::Symbol) at ./…
-
```
Installed PyCall ─ v1.91.2
Updating `~/.julia/environments/v1.1/Project.toml`
[438e738f] + PyCall v1.91.2
Updating `~/.julia/environments/v1.1/Manifest.toml`
[438e738f] + PyCall v1.9…
-
I run the tutorial notebooks in a docker as proposed in the ReadMe. Everything works fine, except tutorial no 3.
when running Cell 4
```
# input images, shape (N, 784)
xs = tf.placeholder(tf.fl…
-
This error appeared a while back on a particular machine..that I am now using again, so I am looking into it
```
julia> plot(rand(10),rand(10))
ERROR: PyError (ccall(@pysym(:PyObject_Call), PyPtr, …
-
When I run:
using PyCall
@pyimport autograd.numpy as np
I get the following error:
ERROR: LoadError: PyError (:PyImport_ImportModule)
ImportError('No module named autograd.numpy',)
i…
-
In ruby:
```
>> PyCall.import_module('scipy.stats').norm.pdf([1, 2, 3], 0, 10)
PyCall::PyError: : pdf() takes 2 positional arguments but 4 were given
from /Users/mrkn/src/github.com/mrkn/pycall.rb…
-
Hi,
I'm trying to use the DirichletBC, translating the following Python script:
```python
from dolfin import *
n = 64
# Create mesh and define function space
mesh = UnitSquareMesh(n, n)
…