Comments (11)
slight update: the issue is not just with the first Pd patch, I've just tried opening some of the other patches and they also won't load - I just tried nsynth.pd and nsynthosc.pd, for example, and they didn't work either.
also, if it's any clue, I'm doing this on a work computer that is managed by a superuser. I have admin privileges but I don't know if there's some chance that some things could be getting blocked...however I feel like I would not have been able to build pyext and install conda if that were the case.
from deeplearningwithaudio.
from deeplearningwithaudio.
Excellent, thanks - yes I'm pretty certain that pyext is all set up correctly, here's a screenshot of the Pd window when I start up.
from deeplearningwithaudio.
hi,
just wanted to note that we don't currently have access to M1 macs, and so this code has only been tested on Intel. i'm pretty sure the codebase still has some memory related bugs and it's possible those are more fatal on the M1, or that there's some other kind of compatibility issue. if you're comfortable with debugging tools like Valgrind, it would be really interesting to find out where things are going wrong. but other than that i'm afraid i can't be of much help at the moment.
from deeplearningwithaudio.
hmmm ok, so currently there are two big unknowns:
- is this due to the M1 chip?
- is this due to my computer being managed by my university, despite me having admin privileges. perhaps the communication between Pd and Python is being blocked?
There are certainly a number of other possible issues, but if anyone can shed any light on those two ideas that would be great.
from deeplearningwithaudio.
the second case seems unlikely to me - i'd imagine any such restriction would break a lot of other things too.
some things you could try to maybe narrow down the issue:
- see if you can open any of the pyext example patches, e.g.
simple-1.pd
(you'll probably have to move the python files fromscripts
intopd
where the patches are) - if not, what happens if you create a new patch and add a simple py object like
pym 2 +
? are you able to compute with it? (send a number to inlets 2 and 3, then a bang to inlet 1 and check what comes out of outlet 1)
from deeplearningwithaudio.
I hadn't noticed the pyext example patches, thanks for that - I can't seem to get any of them to work - I get an error message in the pd window saying "pyext simple ex1 ....couldn't create"
this is a bit confusing, as the Pd window says it is loading the py/pyext 0.2.2 library on startup! however, it's certainly a good sign in terms of tracking down the issue. perhaps I didn't build the objects correctly after all!
on the other hand, the [pym] object seems to work fine, it loads and I am able to do the simple addition like you described.
from deeplearningwithaudio.
is there any information before the "couldn't create"? usually you should get a slightly more specific error message.
from deeplearningwithaudio.
oh yes you're right:
ModuleNotFoundError: No module named 'simple'
from deeplearningwithaudio.
this sounds like it can't find the simple.py
file, hence:
you'll probably have to move the python files from scripts into pd where the patches are
from deeplearningwithaudio.
oh gosh my apologies, I totally overlooked that.
when I move the scripts into the same folder where the patches are, there is some "progress" - the patch does not launch at all. it exhibits the same behaviour as when I try to launch the ai_duet patch as described originally, it just quietly hangs without a spinning wheel or anything, and a patch window never opens up.
from deeplearningwithaudio.
Related Issues (9)
- build.py cannot build flext debug libs HOT 1
- Python.h no such file or directory HOT 12
- Cannot install google-colab for 02_ddsp HOT 1
- 01_ai_duet crashes with [declare]
- I can't quit Pd if I load py HOT 1
- "setup.py" not found when running pip install -e .
- zsh: illegal hardware instruction
- pyext setup Linux: endless dependency resolution HOT 1
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 deeplearningwithaudio.