Skip to content
Advertisement

Tag: julia

julia.install() fails on python import error

I am trying to run a Julia script from python. I have Julia 1.6.4 installed (also tried 1.7.3) and installed pip install julia from Pycharm’s terminal in the virtual environment. When importing julia and then running julia.install() I get the following error message: I use Pycharm with a virtual environment with Python 3.9.7 for my project. However, I have also

Why is this task faster in Python than Julia?

I ran the following code in RStudio: It reads a huge NASA CSV file, converts it to a dataframe, converts each element to string, and adds them to a vector. RStudio took 4 min and 15 seconds. So I decided to implement the same code in Julia. I ran the following in VS Code: The result was good. The Julia

Using points to Plot a Sphere in Julia

I would like to sample N points (lets say N = 10000) on a sphere. I know how to plot a 3D sphere. However, I am not sure how to use spherical coordinates for points. (below is the code I used for the sphere) Answer This will do the job:

PyCall can’t find scipy in Julia

I’m currently rewriting a bunch of matlab code into julia. These codes envolves a lot of math and, particularly, interpolation functions for a 3D mesh. It is easy to deal with this in matlab: all I need to do is to use interp3 function. Once I coundn’t find any simple way to do similar in Julia, I’m trying to use

Advertisement