Giter Club home page Giter Club logo

Comments (4)

cjdoris avatar cjdoris commented on June 18, 2024 1

That shouldn't happen, I think you must be on an old version of JuliaPkg - can you update and try again please.

from pyjuliapkg.

oschulz avatar oschulz commented on June 18, 2024 1

I think you must be on an old version of JuliaPkg

Oh, you're right - I'm sorry, I thought I was on juliapkg v0.1.7, but something must have been mixed up with my Python paths. That why I tried the JULIA_DEPOT_PATH route in the first place, because PYTHON_JULIAPKG_PROJECT didn't seem to have any effect.

Sorry again!

from pyjuliapkg.

cjdoris avatar cjdoris commented on June 18, 2024

Your issue is nothing to do with JULIA_DEPOT_PATH, which is not modified by this package. The location of Julia projects is unrelated to the depot unless you are using a default/shared/temporary project, but this package explicitly sets the project to be inside your Python environment.

So your issue really is that this package assumes your Python environment is writeable, which it is not in your case. A couple of workarounds are (a) don't use the root conda environment (which is generally a good idea anyway) or (b) set PYTHON_JULIAPKG_PROJECT to some writable directory or (c) get the user with write permission in the root environment to also initialise JuliaPkg.

from pyjuliapkg.

oschulz avatar oschulz commented on June 18, 2024

Sorry, yes, I should have put that better, JULIA_DEPOT_PATH itself is not changed, of course. But setting PYTHON_JULIAPKG_PROJECT doesn't seem to help:

$ export PYTHON_JULIAPKG_PROJECT=/tmp/pyjlprj
$ python

>>> import juliapkg
>>> juliapkg.project()
[juliapkg] ...
...
OSError: [Errno 30] Read-only file system: '/opt/anaconda3/julia_env'

from pyjuliapkg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.