-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Create virtualenv with python3.5 in local installation #2658
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
Comments
Is this using the docker builder, or the local environment builder? |
I suppose that the local environment builder since I didn't change the default values and I have |
Okay, yeah, we don't develop this method for building docs anymore, we only use the local environment to trigger the virtualenv creation. We've talked of just supporting docker build environments as that's all we run in production anyways. This might be solved by using the interpreter name on the other python calls, to force |
I'm trying the docker build now and there is another problem:
I had to downgrade the
Besides, I'm running this version of Docker.
Now, it passed that section but it failed because I wasn't pulled the docker image yet. I'm pulling it right now but it seems to be very big, so it will take a while. |
Now, there is another issue:
I will try to fix it by myself, but I will probably need some guidance. |
OK, the previous error was because I was launching Now, the problem is related to permissions since Docker container is using a |
OK, this is a mess but I found a hacky and ugly solution for this.
Can you share how is your development environment setup since I think this is not the right way of doing it? |
My environment is going to be different, because I'm on OSX. I'm running docker on a VM, and much of that won't translate to your set up. You shouldn't need to downgrade the docker python package, just set the version of the docker API that matches your server. On my machine, this is:
Your fix is actually correct, given you're running docker on your host system. My Vagrant VM just mounts the path with |
I'm trying to reproduce #2582 and I found a problem in my local instance.
Details
Expected Result
Build the project using
python3.5
inside the virtualenv.Actual Result
The command executed is
python3.5
but the virtualenv created is forpython2.7
Image
Correct command to be executed
This is the command that creates a virtualenv with python3.5 in my pc:
The text was updated successfully, but these errors were encountered: