Русские Блоги
Pycharm показывает, что каталог местоположения среды не пуст
Pycharm показывает, что каталог местоположения среды не пуст
Я столкнулся с странной вещью, когда использовал Pycharm для создания проекта сегодня. При создании клиента по имени проекта сервер всегда отображаетсяenvironment location directory is not empty,Я не мог щелкнуть «Создать», чтобы создать проект, а затем я попробовал путь изменения папки и попытался изменить имя файла. Пока имя проекта называлось клиентом, сервер был бесполезен.
Как ни странно, я вышел в интернет, чтобы искать, все из которых вручную удалили файл Венва с кучей копирования и вставленных. Сущность
Решение: откройте эту стрелку влево, а затем проверьте существующий интерпретатор, чтобы создать проект.
Причина этого: я нажимаю на местоположение, чтобы ввести следующий рисунок в проект Python, называемый клиентом под папкой системы. Может быть, предположить, что это может быть проект, который мог записать это имя ранее, зарегистрированное под Windows, а затем вы не можете Определите новый новый. Проект. Не было обнаружено, что никакие новые проекты не оказывают никакого влияния на оригинальный проект на данный момент.

Интеллектуальная рекомендация
Реализация JavaScript Hashtable
причина Недавно я смотрю на «Структуру данных и алгоритм — JavaScript», затем перейдите в NPMJS.ORG для поиска, я хочу найти подходящую ссылку на библиотеку и записывать его, я могу исполь.
MySQL общие операции
jdbc Транзакция: транзакция, truncate SQL заявление Transaction 100 000 хранимая процедура mysql msyql> -определить новый терминатор,Пробелов нет mysql>delimiter // mysql> -создание хранимой .
Используйте Ansible для установки и развертывания TiDB
жизненный опыт TiDB — это распределенная база данных. Настраивать и устанавливать службы на нескольких узлах по отдельности довольно сложно. Чтобы упростить работу и облегчить управление, рекомендуетс.
Последняя версия в 2019 году: использование nvm под Windows для переключения между несколькими версиями Node.js.
С использованием различных интерфейсных сред вы можете переключаться между разными версиями в любое время для разработки. Например, развитие 2018 года основано наNode.js 7x версия разработана. Тебе эт.
![]()
Шаблон проектирования — Создать тип — Заводской шаблон
Заводская модель фабрикиPattern Решать проблему: Решен вопрос, какой интерфейс использовать принципСоздайте интерфейс объекта, класс фабрики которого реализуется его подклассом, чтобы процесс создания.
Environment location directory is not empty pycharm что это
I have just installed Anaconda 3.6 and PyCharm. I am trying to set up the interpreter, however if I navigate to the interpreter window I can see the error message saying «Conda executable not found» as well as «Environment location directory is not empty».
Please see the screenshot below. Do you have any suggestion what I could do? I deleted Anaconda and Pycharm already and re-installed them again without success. I must also say that my untitled folder under Location is already empty.
How to add Python Interpreter to PyCharm?
I followed a lot suggestions to add the interpreter to PyCharm, but they’re simply not working. I want to figure out what the exact problem is here.
First, it said no interpreter is found, so I tried using Python 3.10 in Anaconda. But it seems "pip install packages" don’t get used for Anaconda’s Python. So, I used Terminal to get a different Python PATH: open -e .bash_profile and to see which python versions I have using python -v , python3 -v , which python , which python3 . So, I wanted to input /usr/local/bin/python3 or /usr/bin/python for the interpreter path.
The problem is that I can’t add them at all. "Add Python Interpreter" doesn’t let me click ‘ok’.
I watched lots of YouTube tutorials and went through relevant websites for suggestions, but nothing works. I even got rid of Python from all the folders manually (except the ones that didn’t allow me to trash) and using Terminal as instructed (How to uninstall Python 2.7 on a Mac OS X 10.6.4?): sudo rm -rf Python , sudo rm -rf "/Applications/Python 2.7" ,
Then, I tried reinstalling them using pip install python3. It says Python 3.9 already exists in some Frameworks location, and I am unsure where to go about from now since nothing seems to be working.
Any suggestions would be great. Thank you.
I’m new to programming and Stack Overflow (came here a couple of times for solutions but only recently signed up and posted), so if my questions should be posed another way, please let me know.
Pycharm settings error "Environment location directory is not empty"
I am trying to import arcpy into a script in PyCharm 2021.1. I do not have access to ArcGIS Pro, so I used the advice on this page to clone python 3.7 in Anaconda. I am trying to change the PyCharm python location setting to this clone, but getting this error message in the Virtual Environment setting, ""Environment location directory is not empty."
I switched to Conda Environment and it allowed the location, and I hit OK to apply it, but then got this error message, ". can’t create; no such file or directory." 
How can I get PyCharm to work with ArcPy without ArcGIS Pro?
1 Answer 1
arcpy requires ArcGIS Pro and cannot be used without a full ArcGIS Pro install.
However, you can install and use the the ArcGIS API for Python as per the documentation you linked to, but note that this is not arcpy . The API will have some additional functionality if arcpy is installed, but it is not required.
You’re trying to create a virtualenv, but you have already created (by cloning) a conda env. A virtualenv is very different to a conda env. So:
- select the "Conda Environment", not the "Virtualenv Environment" radio button and
- Once you’ve selected "Conda Environment", select "Existing environment" not "New environment" as you’ve already created the environment outside of PyCharm.
- Finally, you can install the ArcGIS API for Python.
![]()
-
The Overflow Blog
Linked
Related
Hot Network Questions
Subscribe to RSS
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.
Site design / logo © 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2023.3.11.43304
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.