fumiomatsuda / mfapy

A python toolbox for 13C metabolic flux analysis
MIT License
17 stars 9 forks source link

When I use this example_1_toymodel.py. I get error like this. #2

Open nyj123 opened 2 years ago

nyj123 commented 2 years ago

image And I want to ask how i can enter the mfa virtual environment (I have create mfa environment according to your protocol). Thanks a lot sincerely.

azournas commented 2 years ago

Hello! If I see correctly, you are using pycharm. If that's the case, you need to follow the instructions outlined here:

https://intellij-support.jetbrains.com/hc/en-us/community/posts/360006880560-How-add-an-already-existed-conda-environment-to-pycharm-as-an-interpreter-

I am also copying them in this post:

"Hi, you can add the existing conda environment by creating a new interpreter in PyCharm > selecting Conda environment > Existing environment > specify the path to python.exe inside your created environment."

fumiomatsuda commented 2 years ago

Sorry for my very slow response. As commented by #azournas, you have to choose the "mfapy" environment from PyScripter. Please check "Run"=>"Python versions"=>Setup Python versions. For my case (Windows10 + Anaconda3), the "mfapy" folder in your anaconda3 folder was selected. C:\Users\YOURNAME\anaconda3\envs\mfapy