Giter Site home page Giter Site logo

Comments (2)

pjbull avatar pjbull commented on June 16, 2024 1

This isn't a CCDS bug, so unfortunately there's nothing we can do about it.

If you read the error message, it points you to an urllib3 issue that covers a number of potential solutions, including:

from cookiecutter-data-science.

BrunoArsioli avatar BrunoArsioli commented on June 16, 2024

Than you @pjbull for your msg and guidance!

The work around for me, was to create a new virtual environment (in the terminal):

python3 -m venv .venv

This command created a new virtual environment in my directory named .venv.

After creating the virtual environment, I activate it via:

source .venv/bin/activate

Once the virtual environment is activated, I see the (.venv) at the beginning of the terminal prompt.
(This indicates that the virtual environment is active, and any Python packages that I install from now on, will be installed in this environment, rather than being installed globally). (I am learning here)

Now, I installed the older version of urllib3 (in terminal):

pip install urllib3==1.26.7

Now, I was able to install cookiecutter in this isolated environment with the command:

pip install cookiecutter

And, finally, I was able to run:

cookiecutter https://github.com/drivendata/cookiecutter-data-science

without any issues.
Thank you for your msg. It helped me with the work around solution.

from cookiecutter-data-science.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.