Effective-Python | 59个编写高质量Python代码的中文翻译版。
kandi X-RAY | Effective-Python Summary
kandi X-RAY | Effective-Python Summary
59个编写高质量Python代码的中文翻译版。
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Effective-Python
Effective-Python Key Features
Effective-Python Examples and Code Snippets
Community Discussions
Trending Discussions on Effective-Python
QUESTION
To speed up my cluster instantiation time, I've created a custom image with all the additional dependencies installed using miniconda3 available for dataproc image 1.5.34-debian10. (I followed the steps here: GCP Dataproc custom image Python environment to ensure I used the correct python environment).
However, when I start my cluster with --optional-components ANACONDA,JUPYTER my custom dependencies are removed and I'm left with a base installation of anaconda and jupyter. I assume the anaconda installation is overwriting my custom dependencies. Is there any way to ensure my dependencies aren't overwritten? If not, is it possible to install anaconda and jupyter as part of my custom dataproc image instead?
I've used the following command to create the custom image:
...ANSWER
Answered 2021-May-03 at 20:41The customize_conda.sh script is the recommended way of customizing Conda env for custom images.
If you need more than the script does, you can read the code and create your own script, but anyway you want to use the absolute path e.g., /opt/conda/anaconda/bin/conda
, /opt/conda/anaconda/bin/pip
, /opt/conda/miniconda3/bin/conda
, /opt/conda/miniconda3/bin/pip
to install/uninstall packages for the Anaconda/Miniconda env.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Effective-Python
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page