File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -393,6 +393,16 @@ Packing environment at '/home/iman/miniconda3/envs/python-3-6' to 'python-3-6.ta
393
393
[########################################] | 100% Completed | 4.5s
394
394
```
395
395
396
+ ** Important Note:** Before installing the packages in your conda environment, make sure that you
397
+ have exported [ ` PYTHONNOUSERSITE ` ] ( https://docs.python.org/3/using/cmdline.html#envvar-PYTHONNOUSERSITE ) environment variable:
398
+
399
+ ```
400
+ export PYTHONNOUSERSITE=True
401
+ ```
402
+
403
+ If this variable is not exported and similar packages are installed outside your conda environment,
404
+ your tar file may not contain all the dependencies required for an isolated Python environment.
405
+
396
406
After creating the tar file from the conda environment, you need to tell Python
397
407
backend to use that environment for your model. You can do this by adding the
398
408
lines below to the ` config.pbtxt ` file:
You can’t perform that action at this time.
0 commit comments