Skip to content

conda create doesn't seem to work anymore #1

@saschalalala

Description

@saschalalala

I just found the PyData talk from 2016 on youtube (https://youtu.be/7fsreJMy_pI) and wanted to follow the tutorial and setup my environment according to your readme.

When doing that, conda says SpecNotFound: /private/tmp/connected-nx-tutorial/environment.yml is not a valid yaml file.

What worked for me right now is extracting the pip packages and install them via pipenv into my venv (without conda) doing:

pipenv install mkl numpy scipy setuptools appnope cycler decorator entrypoints funcsigs ipykernel ipython ipython-genutils ipywidgets jinja2 jsonschema jupyter jupyter-client jupyter-console jupyter-core markupsafe matplotlib mistune mock nbconvert nbformat networkx nose notebook pandas pbr pexpect pickleshare prompt-toolkit ptyprocess pygments pyparsing python-dateutil pytz pyzmq qtconsole seaborn simplegeneric six terminado tornado traitlets watermark wcwidth

The resulting Pipfile looks like this:

[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
mkl = "*"
numpy = "*"
scipy = "*"
setuptools = "*"
appnope = "*"
cycler = "*"
decorator = "*"
entrypoints = "*"
funcsigs = "*"
ipykernel = "*"
ipython = "*"
ipython-genutils = "*"
ipywidgets = "*"
jinja2 = "*"
jsonschema = "*"
jupyter = "*"
jupyter-client = "*"
jupyter-console = "*"
jupyter-core = "*"
markupsafe = "*"
matplotlib = "*"
mistune = "*"
mock = "*"
nbconvert = "*"
nbformat = "*"
networkx = "*"
nose = "*"
notebook = "*"
pandas = "*"
pbr = "*"
pexpect = "*"
pickleshare = "*"
prompt-toolkit = "*"
ptyprocess = "*"
pygments = "*"
pyparsing = "*"
python-dateutil = "*"
pytz = "*"
pyzmq = "*"
qtconsole = "*"
seaborn = "*"
simplegeneric = "*"
six = "*"
terminado = "*"
tornado = "*"
traitlets = "*"
watermark = "*"
wcwidth = "*"

[requires]
python_version = "3.7"

I'm not that firm with conda itself but it seems like the environment.yml should somehow be updated so that new users can easily create their environment.

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