Future-Power-Networks / MAPDN

This repository is for an open-source environment for multi-agent active voltage control on power distribution networks (MAPDN).
MIT License
203 stars 55 forks source link

After I run the conda env create -f environment.yml in pycharm, I meet some problems: #1

Closed Shenjwei closed 3 years ago

Shenjwei commented 3 years ago

First,i receive a warning. Warning : you have pip-installed dependencies in your environment file, but you do not list pip itself as one of your conda dependencies... it prints indefinitely without another action.

Then i add pip under the dependencies, like following:

dependencies:

I try again then I received: Solving environment: failed ResolvePackageNotFound:

what should I be doing instead

hsvgbkhgbv commented 3 years ago

Hi Shenjwei,

I have tried again in my local and everything works well.

My local system setup is

Could you tell me what your local system setup is?

Shenjwei commented 3 years ago

I have tried again in my local and everything works well.

win10 conda 4.10.1 Thank you.I found my problem. so to create this environment,what i should do?

hsvgbkhgbv commented 3 years ago

Hi Shenjwei,

I have posted a new environment_win.yml. Could you pull the latest code and try the following command?

conda env create -f environment_win.yml

Let me know whether it works.

Shenjwei commented 3 years ago

Hi Shenjwei,

I have posted a new environment_win.yml. Could you pull the latest code and try the following command?

conda env create -f environment_win.yml

Let me know whether it works. First,i receive a warning again. then i add pip under dependencies: but it still does not work Collecting package metadata (repodata.json): done Solving environment: failed

ResolvePackageNotFound:

hsvgbkhgbv commented 3 years ago

Don't care about the warning. The system would install pip by itself.

Try the latest environment_win.yml I just pushed. Please let me know whether it works.

Shenjwei commented 3 years ago

Don't care about the warning. The system would install pip by itself.

Try the latest environment_win.yml I just pushed. Please let me know whether it works.

it works well.Thank you very much.