Comments (5)
Some of this is due to running the uberjar profile.
I imagine there is aot specified in the uberjar profile. This interacts negatively with the repl classloader and the missing class definition is due to an inner class of clojure.core being redefined as the repl is loading up.
I am curious - why are you running the uberjar profile for you lein repl session?
from libpython-clj.
Additionally - the codegen system is meant to be used offline as a preprocess or one time build step - not every repl session. For every repl session you should be using require-python although this interacts negatively with uberjars.
from libpython-clj.
from libpython-clj.
For 3., 1. will solve it :-). What I meant about codegen is to run it once and check the file in if you want to go that route. It is faster than require-python and it works with uberjars so it is a bit more general but it is a precompile step that will output a file based on your particular python version at the time so in that sense it is more fragile.
Probably for your use case right now require-python is the right approach. When (if) you build something you want to deploy then moving to codegen and fixing the python version is probably going to result in more stable deployments.
from libpython-clj.
You were absolutely correct, removing the uberjar checkmark in my Calva REPL loaded up just perfect and everything worked as expected. Thank you a ton, excited to try out this repo. Cheers!
from libpython-clj.
Related Issues (20)
- from-import does not support "string"
- newbie: I get: `dir already refers to: #'clojure.repl/dir in namespace: user` HOT 2
- Create Python Module then Import Module and Call Function Inside Clojure? HOT 4
- Fix ubuntu version in dockerfiles HOT 6
- Consider releasing returned values from instance fns
- JDK-20 support HOT 3
- builtins/eval throws 'frame does not exist' HOT 2
- Unable to require libraries from within docker using conda HOT 6
- Failed to find a valid python library on MS-Windows with the official python distributions
- Extend CI coverage to all the mainstream architectures
- require-python missing functions with annotation HOT 3
- Make polyglot development easier by allow require-python to be path-informed HOT 1
- Data transformation pipelines? HOT 1
- NSWindow main thread error when trying to setup Gymnasium (openapi gym) HOT 5
- JVM crashes when requiring `libpython-clj2.require` on 64bit Raspberry Pi 4 HOT 1
- error of unhashable type HOT 15
- Ways to reduce probability of memory leaks? HOT 2
- add .devcontainer setup
- pytorch lightning Fail
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 libpython-clj.