I'm getting an error indicating that the file path has a space in the name when installing Anaconda on Windows 10

1

When installing Anaconda3 2018.12 (64-bit) on Windows 10, I'm getting an error indicating that the file path has a space in the name ('Program Files' directory on my C:\ drive), and that some Conda packages may have problems with this if I continue.

Does anyone know specifically which packages may have a problem? I'm using Python primarily for data science (SciPy/NumPy, Pandas, etc.).

See link for a screenshot of the warning.

Anaconda Installation Warning

alofgran

Posted 2019-04-02T01:45:11.000

Reputation: 11

2It is strange this is the case because if you were to install Anaconda using the Visual Studio installer it installs just fine. I realized after I submitted this comment that the Visual Studio might be putting Anaconda in a directory without space. – Ramhound – 2019-04-02T01:56:29.470

Anyways....Anaconda developers are not even clear on the reasons. here and here. They say it will work but "other supported stuff that Anaconda supports" might have problems.

– Ramhound – 2019-04-02T01:59:27.573

@onhamae Just my two cents but I would take the hint. Not with Anaconda particularly (so I couldn't say which packages for that environment exhibit the issue) but I have certainly encountered "cross-platform" Python packages that throw unresolvable errors over "spaces". Even "vanilla" Python installs itself outside "Program Files" by default on Windows, in a directory without spaces. – Anaksunaman – 2019-04-02T03:35:00.680

Thank you both. I did take the advice of the warning (against my desire to maintain organization on my hard drive), but was simply curious if anyone had specifics on the reason. I can't afford the potential problem at the moment. – alofgran – 2019-04-02T04:29:00.453

Answers

0

what i did is: Run the installer as administrator (Right-click on installer to select run as administrator).in order to get...

C:\ProgramData\Anaconda3

this form to install the program helped me

Ray

Posted 2019-04-02T01:45:11.000

Reputation: 1

Hi @Ray. Thanks for the contribution, but I was looking to find out if anyone knew the specific Conda packages to which the error above was referring. I was, fortunately, able to finish the installation though. – alofgran – 2019-08-06T05:40:15.273

Hi @onhamae you're welcome and how good you could do it – Ray – 2019-08-09T17:31:15.807

0

Check that there is no space in the naming of your destination folder. Check here: https://www.youtube.com/watch?v=ejKaXo2pqwQ

Abimbola Muritala

Posted 2019-04-02T01:45:11.000

Reputation: 1

Welcome to Super User! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.

– MMM – 2020-02-18T10:31:52.400