Skip to content

Trouble with pip connection while installing the environment #2

@strainflowandmore

Description

@strainflowandmore

I am having trouble installing the conda environment.

I am trying to install moulder, which looks like exactly what I need for an undergraduate research project where we want to some forward modeling after collecting a couple of gravity lines. So, 2D lines.

I've pasted the command I used most recently. I also tried this without the python=2.7 and got the same error. It looks like it can't find a directory on github???

I am happy to dig into the logs, but its not super clear how to do that through the documentation.

Thanks!!!

Alex

""
(py27) alexrinehart@pop-os:~/moulder$ conda env create -f environment.yml python=2.7
Collecting package metadata (repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
current version: 22.9.0
latest version: 23.1.0

Please update conda by running

$ conda update -n base -c defaults conda

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Installing pip dependencies: | Ran pip subprocess with arguments:
['/home/alexrinehart/anaconda3/envs/moulder/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/alexrinehart/moulder/condaenv.inqwng54.requirements.txt']
Pip subprocess output:
Collecting git+git://github.com/santis19/fatiando@polygon_orientation (from -r /home/alexrinehart/moulder/condaenv.inqwng54.requirements.txt (line 1))
Cloning git://github.com/santis19/fatiando (to revision polygon_orientation) to /tmp/pip-req-build-TkqWPc

Pip subprocess error:
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Running command git clone -q git://github.com/santis19/fatiando /tmp/pip-req-build-TkqWPc
fatal: unable to connect to github.com:
github.com[0: 140.82.114.3]: errno=Connection timed out

ERROR: Command errored out with exit status 128: git clone -q git://github.com/santis19/fatiando /tmp/pip-req-build-TkqWPc Check the logs for full command output.

failed

CondaEnvException: Pip failed
""

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions