当前位置:网站首页>Google collab trample pit
Google collab trample pit
2022-07-04 22:51:00 【Jay_ Mapp】
1. In use , First transfer data into Google Drive in , And then in Colab Middle link Google Colab
from google.colab import drive
drive.mount('/content/drive')2. Go to your own folder :
stay colab in , Just do this directly
cd The name of the folder you want to enter /
3. install Anaconda To configure the required installation package :
!wget -c https://repo.continuum.io/archive/Anaconda3-5.1.0-Linux-x86_64.sh
!chmod +x Anaconda3-5.1.0-Linux-x86_64.sh
!bash ./Anaconda3-5.1.0-Linux-x86_64.sh -b -f -p /usr/local
import sys
sys.path.append('/usr/local/lib/python3.6/site-packages/')4.Linux Next Anaconda Virtual environment creation 、 Activate
Virtual environment creation :
!conda create -n Virtual environment name python=3.7Activate the virtual environment :
!source cnonda activate A virtual environment After the virtual environment is activated , There is no need to carry out other operations , After activating the virtual environment , Want to run python The file will run in this virtual environment
There are three common errors in installing various dependent libraries :
(1)Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-nr4ydx_8/opencv-python/
!pip install --upgrade setuptools(2)Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ud_idlo6/opencv-python/
!python -m pip install --upgrade pip(3)ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
pip install PyYAML --ignore-installed边栏推荐
- 攻防世界 misc 进阶区 2017_Dating_in_Singapore
- 页面关闭前,如何发送一个可靠请求
- Attack and defense world misc advanced grace-50
- Is Huatai Securities a nationally recognized securities firm? Is it safe to open an account?
- More than 30 institutions jointly launched the digital collection industry initiative. How will it move forward in the future?
- Postgresqlql advanced skills pivot table
- 企业如何跨越数字化鸿沟?尽在云原生2.0
- leetcode 72. Edit distance edit distance (medium)
- Attack and defense world misc advanced zone 2017_ Dating_ in_ Singapore
- 攻防世界 MISC 进阶区 Erik-Baleog-and-Olaf
猜你喜欢

Detailed explanation of heap sort code

Tla+ introductory tutorial (1): introduction to formal methods

攻防世界 misc 高手进阶区 a_good_idea

Google Earth engine (GEE) - tasks upgrade enables run all to download all images in task types with one click

业务太忙,真的是没时间搞自动化理由吗?

质量体系建设之路的分分合合

Duplicate ADMAS part name

MYSQL架构——逻辑架构

Serial port data frame

LOGO特訓營 第三節 首字母創意手法
随机推荐
Attack and Defense World MISC Advanced Area Erik baleog and Olaf
Persistence mechanism of redis
Attack and defense world misc advanced area can_ has_ stdio?
页面关闭前,如何发送一个可靠请求
Interview essential leetcode linked list algorithm question summary, whole process dry goods!
企业如何跨越数字化鸿沟?尽在云原生2.0
Attack and defense world misc advanced area Hong
Advanced area a of attack and defense world misc Masters_ good_ idea
SPSS installation and activation tutorial (including network disk link)
LOGO特訓營 第一節 鑒別Logo與Logo設計思路
攻防世界 MISC 进阶区 hong
Microservices -- Opening
攻防世界 MISC 高手进阶区 001 normal_png
9 - 类
POM in idea XML dependency cannot be imported
Three stage operations in the attack and defense drill of the blue team
堆排序代码详解
Detailed explanation of heap sort code
MD5 tool class
Common methods in string class