Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documenting the context of the tutorial procedure #611

Closed
PierreG-activeviam opened this issue Jun 15, 2022 · 4 comments
Closed

Documenting the context of the tutorial procedure #611

PierreG-activeviam opened this issue Jun 15, 2022 · 4 comments
Milestone

Comments

@PierreG-activeviam
Copy link

Description

In the atoti tutorial page, when executing the instruction "python -m atoti.copy_tutorial tutorial"
from the Anaconda Powershell Prompt, the Anaconda environment gets corrupted
The following error message is displayed on the Anaconda Prompt
RuntimeWarning: 'atoti.copy_tutorial' found in sys.modules after import of package 'atoti', but prior to execution of 'atoti.copy_tutorial'; this may result in unpredictable behaviour
And a prompt isn't then made available.

On the tutorial page https://docs.atoti.io/latest/getting_started/tutorial/tutorial.html
We should explicitly specify from which user interface, which path, and which environment the instructions are to be executed. Especially, it should be highlighted to run it from the Anaconda Prompt, and NOT the Anaconda Powershell Prompt

@CamilleBlanco
Copy link

Hi Pierre,

Could you please let us know which python and atoti versions you are using ? Is it the complete error message ?

@PierreG-activeviam
Copy link
Author

Hi Camille,

I use the latest miniconda : Conda 4.12.0 Python 3.9.7 released February 15, 2022
and the latest atoti : atoti 0.6.6

I installed Miniconda for all users on my machine, as an administrator. Maybe it was expected to install is just for one user and in this case the powershell prompt isn't made available ?

Hope this helps
Pierre

@PierreG-activeviam
Copy link
Author

PS: yes, that's the complete error message
RuntimeWarning: 'atoti.copy_tutorial' found in sys.modules after import of package 'atoti', but prior to execution of 'atoti.copy_tutorial'; this may result in unpredictable behaviour

Also note, (I doubt this would trigger such problems but for the record...) this was my second installation of the tutorial, ie overwriting a priorly installed tutorial.

@rcolle
Copy link
Member

rcolle commented Jun 17, 2022

FYI I had the exact same issue when running on @Skyscimitar's cluster:
image

@tibdex tibdex added this to the Next release milestone Feb 16, 2023
@patachoux patachoux bot closed this as completed Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants