We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c54bdc commit 46c28c0Copy full SHA for 46c28c0
pkgs/sage-conf_conda/setup.py
@@ -24,6 +24,10 @@ def run(self):
24
else:
25
SAGE_ROOT = self._create_writable_sage_root()
26
27
+ if not os.environ.get('CONDA_PREFIX', ''):
28
+ raise SetupError('No conda environment is active. '
29
+ 'See https://doc.sagemath.org/html/en/installation/conda.html on how to get started.')
30
+
31
if os.path.exists(os.path.join(SAGE_ROOT, 'config.status')):
32
print(f'Reusing configured SAGE_ROOT={SAGE_ROOT}')
33
0 commit comments