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

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.
17.1k 4 4 gold badges 41 41 silver badges 46 46 bronze badges
asked Apr 2, 2019 at 1:45
121 1 1 gold badge 1 1 silver badge 4 4 bronze badges
It 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.
Apr 2, 2019 at 1:56
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.
Apr 2, 2019 at 1:59
@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.
Apr 2, 2019 at 3:35
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.
Apr 2, 2019 at 4:29
@B.Anshuman — I simply complied with the warning. I still haven’t found a solid solution, but also haven’t revisited the issue since posting my question.
Nov 4, 2020 at 16:09
3 Answers 3
what i did is: Run the installer as administrator (Right-click on installer to select run as administrator).in order to get.
this form to install the program helped me
answered Aug 5, 2019 at 17:02
21 2 2 bronze badges
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.
Aug 6, 2019 at 5:40
Hi @onhamae you’re welcome and how good you could do it
Aug 9, 2019 at 17:31
This worked perfectly, indeed. Just to add: after choosing run as administrator, just leave «Install for: All users» selected. This solves the 1 space problem.
Oct 25, 2021 at 13:07
In case you are unsure: youtube.com/watch?v=uXrqJe9fB3Q
Oct 25, 2021 at 13:08
Check that there is no space in the naming of your destination folder. Check here: https://www.youtube.com/watch?v=ejKaXo2pqwQ
answered Feb 18, 2020 at 10:05
Abimbola Muritala Abimbola Muritala
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.
Feb 18, 2020 at 10:31
I think that occurred because if you see the location of your destination folder in the image you posted in your question, it has a space in the name of «Program Files». So maybe, if you were to use command prompt or shell and for example — change directory to «Program Files», it may cause some issues in not identifying the exact directory you want it to.
And maybe, this is because it wants you to have the application stored in some directory which can be easily accessed using command prompt and which has no spaces in its name.
Actually, I was doing the same thing but in some folder named as «Setups and Applications». It created an error message saying that 2 spaces are not allowed, and so I have to do the installation in some other folder that had no space in its location. It worked fine when I selected a folder that had no space in its location.
не устанавливается anaconda
После запска установки на шаге выбора места размещения выпадает окно с текстом «Due to incompatibility with several Python libraries “Destination Folder” cannot contain non-ascii characters (special characters or diacritics) Please choose another location».
Подскажите, как быть ? Заранее благодарю !
student_lq-RSpq5
3 years ago
Весь путь не должен содержать русских букв. Попробуйте создать папку прям на диске:
student_tA-ei2kR
1 year ago
Воспользоваться Гугл-переводчиком https://translate.google.ru/ — перевести сообщение, которое выдается — пишет, что «недопустимые символы в каталоге Установки» — задайте при установке Каталог пройтой только з английких букв и цифр (попробуйте разные символы не использовать пока не прокатит)
Pavel Hramov
3 years ago
Сергей Пронев
3 years ago
В моем случае уже раз 100 выбирала разные файлы, переиминовывала. но результат тот же. есть еще советы?
2 years ago
Перевести то проблем не было.. просто было не понятно ЧТО конкретно ребовалось. после Вашего совета разобрадся и все настроил — большое спасибо !
Due to incompatibility with several Anaconda
При установке программы Anaconda возникает следующее предупреждение:

Warning: ‘Destination Folder’ contains 1 space. This can cause problems with several Conda packages. Please consider removing the space.
Жмем Ок и вылетает ошибка

Error: Due to incompatibility with several Python libraries, I Destination Folder’ cannot contain non-ascii characters (special characters or diacritics). Please choose another location.
Жмем опять Ок и остаемся в том же окне.
Для устранения ошибки следует поменять путь.
Создать на диске C папку с именем программы и указать путь в окне Choose Install Location к данной папке. Ошибка должна исчезнуть.



6679
How To Fix Anaconda Destination Folder Contains 1 Space Error — This Cause Several Conda Packages
![]()
In This Video We Will See How To Fix Anaconda Destination Folder Contains 1 Space Error or This Can Cause Problems With Several Conda Packages Here Are The Steps To Fix Anaconda Destination Folder Contains 1 Space Error or This Can Cause Problems With Several Conda Packages Method 1 1. Click OK Button 2. Click Cancel Button 3. Click Yes Button 4. Right-Click On Anaconda Setup File 5. Click Run As Administrator 6. Make Sure Here All Users is Ticked 7. Click Next 8. Done! Method 2 1. Click OK Button 2. Click File Explorer 3. Click This PC or My Computer 4. Open C Drive 5. Create New Folder Without Any Space in Between Name 6. Close File Explorer 7. Click Browse 8. Open This PC or My Computer 9. Open C Drive 10. Select The Folder You Have Created 11. Click OK Button 12. Click Next Button 13. Done! Contact Us Facebook: https://www.facebook.com/GameTrick1/ Twitter: https://twitter.com/GameTrick4 Wikipedia: https://en.wikipedia.org/wiki/User:GameTrick YouTube: https://youtu.be/V-6AxVwJZbs Don’t Forget To Like Share And Subscribe
Показать больше
Войдите , чтобы оставлять комментарии