Giter VIP home page Giter VIP logo

Comments (3)

fxbabin avatar fxbabin commented on June 9, 2024

@Medno i tried to modify the script to make an install in a directory with spaces but the installation just won't happen (the miniconda script refuse installation with spaces). I tried to previously export a directory with spaces but no bug appeared. I just can't reproduce the bug. Adding a \ is not a problem but i want to ensure there is a bug in the first place.

Can you precise the steps needed to reproduce the bug ?

from bootcamp_python.

Medno avatar Medno commented on June 9, 2024

For example, my PATH is composed by:

.../sbin:/Applications/VMware Fusion.app/Contents/Public/:...

When I launch the automated script as it is, I get this message:

~/.zshrc:export:110: not valid in this context: Fusion.app/Contents/Public/:...

So conda will be on the PATH and we have python with the correct version. But the PATH exported is broken.
This comes from the fact that the double quotes in the script expands the PATH variable in the zshrc during the echo "export PATH=$MINICONDA_PATH..." line in set_conda function.

Then in the zshrc we got something like:

export PATH=/path:/folder/with space/foo:bar

And the environment's PATH is splitted because of this space.

from bootcamp_python.

fxbabin avatar fxbabin commented on June 9, 2024

ok, the bug will be fixed when the next merge with master occurs

from bootcamp_python.

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.