Installation error #995
Replies: 3 comments 2 replies
-
Not totally sure what is causing your problem, but seems like you have too many packages in your environment and they are starting to conflict with each other. I suggest you make a new fresh env and install python. HOWEVER, be sure to use python <3.13 since |
Beta Was this translation helpful? Give feedback.
-
You need to open Spyder or VSCode, or perhaps use JupyterLab. Then you can write a file like: import porespy as ps
import matplotlib.pyplot as plt
im = ps.generators.blobs(shape=[500, 500], porosity=0.6, blobiness=2)
plt.imshow(im) |
Beta Was this translation helpful? Give feedback.
-
Basically, the 'conda' prompt is for installing things, while the IDE (Spyder, Jupyter, etc) is where you run the code. |
Beta Was this translation helpful? Give feedback.
-
I followed the installation guide by typing the following at the conda prompt: (conda install -c conda-forge porespy)
https://porespy.org/installation.html
After typing the script, the following error happened. The screenshot is attached.
--
Solving environment: \ warning libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
failed
LibMambaUnsatisfiableError: Encountered problems while solving:
Could not solve for environment specs
The following packages are incompatible
├─ pin-1 is installable and it requires
│ └─ python 3.12.* , which can be installed;
└─ porespy is not installable because there are no viable options
├─ porespy [1.2.0|1.3.0|1.3.1] would require
│ └─ python >=3.6,<3.7.0a0 , which conflicts with any installable versions previously reported;
├─ porespy [1.2.0|1.3.0|1.3.1|2.0.1|2.0.2] would require
│ └─ python >=3.7,<3.8.0a0 , which conflicts with any installable versions previously reported;
├─ porespy [1.2.0|1.3.0|...|2.4.1] would require
│ └─ python >=3.8,<3.9.0a0 , which conflicts with any installable versions previously reported;
├─ porespy [2.0.1|2.0.2|...|2.4.1] would require
│ └─ python >=3.9,<3.10.0a0 , which conflicts with any installable versions previously reported;
├─ porespy [2.0.2|2.1|...|2.4.1] would require
│ └─ python >=3.10,<3.11.0a0 , which conflicts with any installable versions previously reported;
└─ porespy [2.3.0|2.4.1] would require
└─ python >=3.11,<3.12.0a0 , which conflicts with any installable versions previously reported.
How can I solne the problem?
Masa
Beta Was this translation helpful? Give feedback.
All reactions