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

How to install the requirements #2

Open
clemens-tolboom opened this issue May 13, 2019 · 3 comments
Open

How to install the requirements #2

clemens-tolboom opened this issue May 13, 2019 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@clemens-tolboom
Copy link
Contributor

clemens-tolboom commented May 13, 2019

pipenv

pipenv install -r requirements.txt

anaconda

conda install --yes --file requirements.txt

This is not enough according to https://www.technologyscout.net/2017/11/how-to-install-dependencies-from-a-requirements-txt-file-with-conda/ . You need to run

while read requirement; do conda install --yes $requirement; done < requirements.txt
@clemens-tolboom clemens-tolboom added the question Further information is requested label May 13, 2019
@HenryBol
Copy link
Collaborator

HenryBol commented May 14, 2019

Anaconda makes it possible to create a separate environment: https://code.visualstudio.com/docs/python/environments#_conda-environments
I think that this will be sufficient. Agree?

@clemens-tolboom
Copy link
Contributor Author

Or use Spider as your IDE

@clemens-tolboom clemens-tolboom removed their assignment May 15, 2019
@clemens-tolboom
Copy link
Contributor Author

I remove the following from the readme as I don't get the command. And the notebook variant is wrong.

I am curious about the venv commands though.

## Set-up virtual environment
py -3 -m venv env
env\scripts\activate

## Jupyter notebook
#%%
msg = "Hello World"
print(msg)
%% [markdown]

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

No branches or pull requests

2 participants