Skip to content
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

added python2 by conda #150

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Conversation

gustawdaniel
Copy link
Contributor

fix:

ERR! Failed at the v8-profiler-next@1.4.2 install script.

and connected

gyp: binding.gyp not found (cwd: /home/daniel/pro/mrr) while trying to load binding.gyp

during installation of montiapm

there is recommendation of downgrade python to 2 https://stackoverflow.com/a/58312830/6398044

This is fix for issues:
#149
#148

@gabrilator
Copy link

Hey man, appreciate the work you did. i cloned your code and ran the build script and still got Unable to locate package conda. Do you know why that might be? Cheers!

@gustawdaniel
Copy link
Contributor Author

We are talking about this script

# Install our public GPG key to trusted store
curl https://repo.anaconda.com/pkgs/misc/gpgkeys/anaconda.asc | gpg --dearmor > conda.gpg
install -o root -g root -m 644 conda.gpg /usr/share/keyrings/conda-archive-keyring.gpg

# Check whether fingerprint is correct (will output an error message otherwise)
gpg --keyring /usr/share/keyrings/conda-archive-keyring.gpg --no-default-keyring --fingerprint 34161F5BF5EB1D4BFBBB8F0A8AEB4F8B29D82806

# Add our Debian repo
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/conda-archive-keyring.gpg] https://repo.anaconda.com/pkgs/misc/debrepo/conda stable main" > /etc/apt/sources.list.d/conda.list

apt-get update
apt-get install -y conda

I checked docs https://conda.io/projects/conda/en/latest/user-guide/install/rpm-debian.html and seen:

# Add our Debian repo
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/conda-archive-keyring.gpg] https://repo.anaconda.com/pkgs/misc/debrepo/conda stable main" > /etc/apt/sources.list.d/conda.list

**NB:** If you receive a Permission denied error when trying to run the above command (because `/etc/apt/sources.list.d/conda.list` is write protected), try using the following command instead:
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/conda-archive-keyring.gpg] https://repo.anaconda.com/pkgs/misc/debrepo/conda stable main" | sudo tee -a /etc/apt/sources.list.d/conda.list

I was able to reproduce mentioned problem with permissions.

but there is also one element that was lost.

After installation conda actually is not found without line:

source /opt/conda/etc/profile.d/conda.sh

when I add this line I am able to use conda.


I decided to install python 2 by conda, because python 2 was removed from debian repo. It is not supported and generally I recommend you to migrate to meteor 3, that do not require python 2 and node 14.

At moment of writing this script it was working, but now I see there was added some changes in process of conda installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants