ApexRMS / omniscape

The omniscape SyncroSim package
https://apexrms.github.io/omniscape
MIT License
0 stars 1 forks source link

Issue with python configuration? #6

Open ClaudeSamsonPCA opened 1 week ago

ClaudeSamsonPCA commented 1 week ago

Bonjour, I'm trying to run the omniscape example provided with omniscape SyncroSim, and I received the following error. I'm wondering if it is an issue with the python configuration on my computer. Can you help me? Merci! Claude Samson

Operating System: Microsoft Windows NT 6.2.9200.0

SyncroSim Version: 2.5.13.0

Packages: core -> 2.5.13 omniscape -> 1.1.2 corestime -> 2.5.13 omniscapeImpact -> 1.0.2

Number of Jobs: 1

STARTING SIMULATION: 2024-06-20 : 3:15:18 PM Parent Scenario is: [1] Reference resistance Result scenario is: [10] Reference resistance ([1] @ 20-Jun-2024 3:15 PM)

CONFIGURING: 1 - Omniscape CONFIGURING: 2 - Categorize Connectivity Output

RUNNING: 1 - Omniscape

Conda installation: C:\Users\Claude Samson\SyncroSim\Conda Conda environment: C:\Users\Claude Samson\SyncroSim\Conda\envs\omniscape\omniscapeEnvironment

[Failure] The external program failed. Program name was: python Arguments were: "C:\Users\Claude Samson\SyncroSim\Packages\omniscape\omniscapeTransformer.py" Exit code was: 1 More information: The path to the julia executable may not contains spaces.

SIMULATION COMPLETE: 2024-06-20 : 3:15:34 PM Total simulation time: 00:00:16

Carina-Firkowski commented 1 week ago

Bonjour Claude,

The error you're getting says The path to the julia executable may not contains spaces. Based on your other paths, I'm assuming the path to the julia is executable is C:\Users\Claude Samson\AppData\Local\Programs\Julia-[version]\bin\julia.exe. To run, you can either re-install julia in another location or change Claude Samson to ClaudeSamson.

Let me know if this helps!

ClaudeSamsonPCA commented 1 week ago

Thank you for your quick reply.

I reinstalled julia in another folder, without space, and rerun the scenario. I still obtained the same error message, but another message was produced (see below).

Operating System: Microsoft Windows NT 6.2.9200.0

SyncroSim Version: 2.5.13.0

Packages: core -> 2.5.13 omniscape -> 1.1.2 corestime -> 2.5.13 omniscapeImpact -> 1.0.2

Number of Jobs: 1

STARTING SIMULATION: 2024-06-20 : 4:55:11 PM Parent Scenario is: [1] Reference resistance Result scenario is: [12] Reference resistance ([1] @ 20-Jun-2024 4:55 PM)

CONFIGURING: 1 - Omniscape CONFIGURING: 2 - Categorize Connectivity Output

RUNNING: 1 - Omniscape

Conda installation: C:\Users\Claude Samson\SyncroSim\Conda Conda environment: C:\Users\Claude Samson\SyncroSim\Conda\envs\omniscape\omniscapeEnvironment

[Failure] The external program failed. Program name was: python Arguments were: "C:\Users\Claude Samson\SyncroSim\Packages\omniscape\omniscapeTransformer.py" Exit code was: 1 More information: C:\Users\Claude Samson\SyncroSim\Packages\omniscape\omniscapeTransformer.py:219: FutureWarning: Setting an item of incompatible dtype is deprecated and will raise in a future error of pandas. Value 'missing' has dtype incompatible with int64, please explicitly cast to a compatible dtype first. reclassTable.loc[reclassTable["resistance_value"] == -9999, "resistance_value"] = "missing" Due to julia requirements, the path to the SyncroSim Library may not contain any spaces.

SIMULATION COMPLETE: 2024-06-20 : 4:55:27 PM Total simulation time: 00:00:15

Shilpa-Gopal commented 1 week ago

Bonjour,

The error message is a warning on pandas library, which might dependencies issue. However Paths with Spaces issue still persist. instead of C:\Users\Claude Samson\SyncroSim\Packages\omniscape\omniscapeTransformer.py use C:\Users\**ClaudeSamson**\SyncroSim\Packages\omniscape\omniscapeTransformer.py and rerun.

Carina-Firkowski commented 1 week ago

Hi Claude,

The new error says Due to julia requirements, the path to the SyncroSim Library may not contain any spaces. Therefore, the path to the SyncroSim Library can not have any spaces (i.e., Claude Samson). As Shilpa pointed out, you could modify your path to C:\Users\ClaudeSamson\SyncroSim\Packages\omniscape\omniscapeTransformer.py.

ClaudeSamsonPCA commented 6 days ago

Thank you Carina and Shilpa for your help. Unfortunately, I can't change the user name since it is a shared remote computer. The next solution is to uninstall SyncroSim and reinstall it in another folder on the main drive. I'll keep you informed of the results!

ClaudeSamsonPCA commented 5 days ago

I've reinstalled the SyncroSim, and tried to run the example again. I obtained a new error message, can you help me?

Operating System: Microsoft Windows NT 6.2.9200.0

SyncroSim Version: 2.5.13.0

Packages: core -> 2.5.13 omniscape -> 1.1.2 corestime -> 2.5.13

Number of Jobs: 1

STARTING SIMULATION: 2024-06-26 : 11:16:29 AM Parent Scenario is: [5] Reference resistance - Copy Result scenario is: [6] Reference resistance - Copy ([5] @ 26-Jun-2024 11:16 AM)

CONFIGURING: 1 - Omniscape CONFIGURING: 2 - Categorize Connectivity Output

RUNNING: 1 - Omniscape

Conda installation: C:\Omniscape\Conda Conda environment: C:\Omniscape\Conda\envs\omniscape\omniscapeEnvironment

[Failure] The import file was not found: C:\Omniscape\omniscapeExample.ssim.output\Scenario-6\omniscape_outputSpatial\cum_currmap.tif

SIMULATION COMPLETE: 2024-06-26 : 11:17:06 AM Total simulation time: 00:00:37

Carina-Firkowski commented 3 days ago

Hi Claude, Glad to hear reinstalling SyncroSim in a different location helped. I see you're using SyncroSim v2.5.13. Could you please update to the latest stable release (v2.5.14, available from syncrosim.com/desktop) and try again? Thanks, Carina