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

Problem with docker build to contribute on Mac #32488

Closed
Mxchaeltrxn opened this issue Mar 6, 2020 · 5 comments
Closed

Problem with docker build to contribute on Mac #32488

Mxchaeltrxn opened this issue Mar 6, 2020 · 5 comments
Labels
Build Library building on various platforms

Comments

@Mxchaeltrxn
Copy link

Hi. I'm not sure if this is the right place to post this but I would love to contribute so I'm asking here. I apologise if this is the wrong place to post it. If it is, could someone redirect me to a better person or place to ask?

I use:

  • Mac OS version 10.15.1
  • I used brew cask install anaconda to install anaconda and I have export PATH=~/opt/anaconda3/bin:$PATH in my .zshrc file. conda --version outputs conda 4.7.12

I'm having trouble using docker with this project. This is what happens when I follow VS code remote containers and run Remote-Containers: Reopen in Container. My error is below (I've removed the bits that were successful).

[2020-03-06T10:49:02.538Z] [PID 15817] [29814 ms] Step 8/9 : RUN conda env update -n base -f "$pandas_home/environment.yml"
[2020-03-06T10:49:02.538Z] [PID 15817] [29814 ms]
[2020-03-06T10:49:05.305Z] [PID 15817] [32581 ms] ---> Running in d123b4efef44
[2020-03-06T10:49:05.960Z] [PID 15817] [33236 ms] Traceback (most recent call last):
File "/opt/conda/bin/conda", line 12, in
from conda.cli import main
ModuleNotFoundError: No module named 'conda'
[2020-03-06T10:49:06.502Z] [PID 15817] [33778 ms] The command '/bin/sh -c conda env update -n base -f "$pandas_home/environment.yml"' returned a non-zero code: 1
[2020-03-06T10:49:06.505Z] [PID 15817] [33781 ms] Failed: Building an image from the Dockerfile (this can take a while).
[2020-03-06T10:49:06.508Z] [PID 15817] [33784 ms] Command failed: docker build -f /Users/mxchaeltrxn/Documents/10-19_learning/14_open_source/14.03_pandas/Dockerfile -t vsc-14.03_pandas-a5707944db87809e2912a2e16627e33b /Users/mxchaeltrxn/Documents/10-19_learning/14_open_source/14.03_pandas

@TomAugspurger
Copy link
Contributor

Can you retry with a fresh environment? This sounds like #32241

@Mxchaeltrxn Mxchaeltrxn changed the title Problem with docker installation to contribute on Mac Problem with docker build to contribute on Mac Mar 6, 2020
@Mxchaeltrxn
Copy link
Author

Mxchaeltrxn commented Mar 6, 2020

@TomAugspurger What do you mean by fresh environment and/or how do you make the environment fresh?

@TomAugspurger
Copy link
Contributor

TomAugspurger commented Mar 6, 2020 via email

@Mxchaeltrxn
Copy link
Author

Mxchaeltrxn commented Mar 6, 2020

So I ran git pull upstream master and then did Remote-Container: Reopen in Container but I get the same error

@jbrockmendel jbrockmendel added the Build Library building on various platforms label May 16, 2020
@mroeschke
Copy link
Member

Looks like this is based on the old Dockerfile we used to have. I think users have been using the newer Docker container with VSCode more successfully so closing

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

No branches or pull requests

4 participants