-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic installation wants root, and then fails due to pillow dependency #3
Comments
I guess the bird left sometime last night. It looks like from julia import Julia, install
install()
jl = Julia() helps. (It looks like this should have been run by
So, I did the Dojo installation instructions in a Julia REPL
I added this in def install(*, confirm=False):
######################
### EXISTING CODE HERE
######################
julia = _find_julia()
subprocess.check_output(
julia,
'-e',
'Pkg.add("Dojo")',
) This results in several very impressive unicode progress bars being displayed in the terminal for a few minutes. After this, my It seems I can fix this by commenting out the |
I created a 3.8 virtualenv (at
~/.virtualenvs/PROJECT
) for for dojopy, and then ran dojopy.install() there. It asked for root, and proceeded to make another virtualenv under mine, at~/.virtualenvs/PROJECT/lib/python3.8/site-packages/auto_generated_dojo_env/bin/activate
.The
install()
process finished, but there was an error in the output above that ending withI though maybe I could fix this by activating that inner virtualenv directly after dectivating mine, and then installing Pillow>=8.0.0 directly. However, the
python3
in that bin folder is a symlink to the nonexistent/root/.pyenv/versions/3.8.2/bin/python3
, so that environment was broken if I tried to activate it in a fresh terminal (which python
points to/usr/bin/python
, and ipython fails with a Permission denied.I created the above PROJECT venv directly with
python3 -m venv ...
. Julia 1.7.2 is installed already in /usr/local/bin/julia, I believe with apt.Looking a little deeper, decided that it would make more sense to ru n
install_dojopy.bash
as my user, but then put somesudo
s on the apt commands used. So I moved the dojopy clone to a new~/Dropbox/Projects/Dojo
WORKING_DIR
, and did this diff (see fork):I then pip-uninstalled dojopy and reran
pip install -e ./dojopy
in my env. After this,bash dojopy/dojopy/install_dojopy.bash
seemed to work, but if Ideactivate
,source auto_generated_dojo_env/bin/activate
, and run the sample pendulum 1-step script, I getBut there is a bird in the office now, so I'll need to go home and continue this troubleshooting tomorrow.
The text was updated successfully, but these errors were encountered: