Comments (4)
That shouldn't happen, I think you must be on an old version of JuliaPkg - can you update and try again please.
from pyjuliapkg.
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.
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.
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)
- using an existing julia environment HOT 2
- How to force a julia version using juliapkg.json? HOT 1
- Both julia and juliaup are in my path, but still juliapkg downloads a new version of julia HOT 5
- BUG: if PYTHON_JULIAPKG_PROJECT is set to existing Project, the project get's deleted HOT 4
- respect pyproject.toml HOT 5
- wrong juliapkg.json path found HOT 2
- use jill.py as a fallback download method? HOT 2
- Possible concurrency issues with resolve on a cluster HOT 7
- Use `--startup-file=no`
- Lightweight check for julia dependencies HOT 8
- Better log messages when in a Conda environment
- Allow setting Julia options in JuliaPkg.json?
- Add quiet mode to suppress stdout/stderr
- Segfault during resolving on compute clusters
- Respect `JULIA_PROJECT`
- Respect `JULIA_BINDIR`
- Use `PYTHON_JULIAPKG_EXE`
- how to call package in python HOT 1
- check if `juliaup` is update to date HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyjuliapkg.