Comments (18)
Nice one @jamesacampbell! I'll test this out when I get a chance.
from tidal-bootstrap.
I've worked with the script a little bit so it should now install the complete system.
I've swapped it in, in place of the python.
from tidal-bootstrap.
(Thanks a lot @jamesacampbell!)
from tidal-bootstrap.
Try editing the first line of the script to point to python2. Default installation path for python (2) on macOS should be /usr/bin/python
or if you have installed a later version with homebrew /usr/local/bin/python2
Another solution is to delete that line entirely and run the script like a usual python program e.g. python2 tidal-bootstrap.command
from tidal-bootstrap.
changing to #!/usr/bin/env python2
seemed to do the trick. Any reason that this shouldn't permanently be replaced, so it always points to python2? Just curious, I actually don't know. Second question: How hard would it be to make a version of this that removes old or conflicting installs of tidal before installing anything new? or possibly prompts you about keeping or deleting existing tidal and SC installs?
EDIT: Also thanks a ton for your help!
from tidal-bootstrap.
Great! I'm not sure macOS ships python2
by default, so I think its safest to keep it the way it is for now.
However, the script could surely be rewritten to work with both python2/3 easily. I don't actively maintain this script any more, it has been transfered to the tidal organization recently and I'm hoping the development will continue from here!
from tidal-bootstrap.
So MacOS does ship python 2 by default, also this script only works with python2, at least until its updated, mainly print
statements have ()
in python 3. Leaving it the way it is, the script will try and use the systems default python, which many people these days have set to python3 or some intstall of anaconda, which will not work with this file. Understand you are no longer maintaining, how should i go about proposing this change?
from tidal-bootstrap.
Yes. The script was intended to work "out-of-the-box" for a standard macOS install which ships with python 2.x by default.
Updating the script to work with both 2/3 or making sure it uses python2 by default would be great for sure. I think the best way is to fork this repo, make the changes, and submit a pull request and continue the discussion from there.
from tidal-bootstrap.
@davidgranstrom Cool! Thank you for your help, I submitted a request for the python2 specifier, I think I could make this compatible with python 2 and 3 pretty easily, or at least attempt it. Mainly I'm thinking you could put try:
blocks around any print statements or python2 specific stuff, and have except:
blocks with python3 alternatives. Maybe will attempt soon if you think that could work.
from tidal-bootstrap.
Thanks both, I've accepted the PR. Python3 compatibility would be great longer term!
from tidal-bootstrap.
I changed this back to python
for now, as python2
wasn't working on one of the macs I helped install today.. I'm not sure how we can make this work in all cases..
from tidal-bootstrap.
Oh snap... I'll see if I can mess with it. I'll try getting it to work with python 2 and 3. Sorry that fix didn't last too long, also i think that issue with ghci/haskell platform can possibly be remedied by changing the deps
variable now listed as 'ghci'
to 'haskell-platform'
. Dunno how to specify 8.4.1 though..
from tidal-bootstrap.
Since it is over a year later and still no python3 support, I wrote a simple bash script that should install everything and setup TidalCycles for you no problem. Sometimes bash is fine for these things as opposed to a full CLI. Here is the script to download and run, enjoy and I welcome feedback. @davidgranstrom @yaxu @vism2889 https://gist.github.com/jamesacampbell/0622533809b1e2e6df845d8fee6c069d
from tidal-bootstrap.
Thanks @jamesacampbell! I don't have a mac so can't test it, unfortunately.
from tidal-bootstrap.
@jamesacampbell when you say it's untested, do you mean you have never run it?
from tidal-bootstrap.
@jamesacampbell I'd be happy to take a PR if you think the shell script is an improvement, but can't test it at all myself as I am macless
from tidal-bootstrap.
@yaxu I am saying untested elsewhere besides my personal macbook pro. I am being super cautious because I don't want to claim that it works without some rigor in others trying it first.
from tidal-bootstrap.
Glad to see it in use. Cheers
from tidal-bootstrap.
Related Issues (18)
- Add uninstall script HOT 1
- Does homebrew still support haskell-platform? HOT 1
- supercollider failure to install HOT 2
- Make installation more robust HOT 1
- Linux compatibility HOT 1
- does not add haskel env to zsh
- Select right supercollider version for mac
- Link to final instructions Not Found HOT 1
- Refactor - replace Atom with Pulsar and remove Linux options HOT 5
- Bootstrap script doesn't set up PATH correctly in fish shell
- Script doesn't work without sudo HOT 5
- sc3-plugins version 3.11.1 does not include Apple Silicon support
- Missing brackets in print function
- Do cabal update before installing tidal package
- Cabal deps HOT 3
- Be smarter about SuperCollider.app location HOT 1
- Move to tidalcycles org? HOT 5
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 tidal-bootstrap.