当前位置:网站首页>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.7
Activate 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 高手进阶区 a_good_idea
- 攻防世界 misc 进阶区 2017_Dating_in_Singapore
- Lost in the lock world of MySQL
- Logo special training camp section III initial creative techniques
- In Linux, I call odspcmd to query the database information. How to output silently is to only output values. Don't do this
- Common methods in string class
- sobel过滤器
- POM in idea XML dependency cannot be imported
- The difference between Max and greatest in SQL
- Attack and defense world misc advanced zone 2017_ Dating_ in_ Singapore
猜你喜欢
LOGO特训营 第三节 首字母创意手法
集群的概述与定义,一看就会
Logo Camp d'entraînement section 3 techniques créatives initiales
串口数据帧
Naacl-22 | introduce the setting of migration learning on the prompt based text generation task
Redis入门完整教程:事务与Lua
Google Earth Engine(GEE)——Tasks升级,实现RUN ALL可以一键下载任务类型中的所有影像
Mongodb aggregation operation summary
LOGO special training camp section I identification logo and Logo Design Ideas
NFT insider 64: e-commerce giant eBay submitted an NFT related trademark application, and KPMG will invest $30million in Web3 and metauniverse
随机推荐
攻防世界 MISC 进阶区 hong
醒悟的日子,我是怎么一步一步走向软件测试的道路
Redis入门完整教程:事务与Lua
Postgresqlql advanced skills pivot table
Common methods in string class
Li Kou 98: verify binary search tree
质量体系建设之路的分分合合
Advanced area a of attack and defense world misc Masters_ good_ idea
La prospérité est épuisée, les choses sont bonnes et mauvaises: Où puis - je aller pour un chef de station personnel?
集群的概述与定义,一看就会
Detailed explanation of heap sort code
9 - class
PostgreSQL server programming aggregation and grouping
LOGO特训营 第二节 文字与图形的搭配关系
Redis入门完整教程:GEO
Practice and principle of PostgreSQL join
Prosperity is exhausted, things are right and people are wrong: where should personal webmasters go
On-off and on-off of quality system construction
High school physics: linear motion
Now MySQL cdc2.1 is parsing the datetime class with a value of 0000-00-00 00:00:00