当前位置:网站首页>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边栏推荐
- Prosperity is exhausted, things are right and people are wrong: where should personal webmasters go
- Attack and defense world misc advanced area Hong
- About stack area, heap area, global area, text constant area and program code area
- 集群的概述与定义,一看就会
- Advanced area a of attack and defense world misc Masters_ good_ idea
- Shell script implements application service log warehousing MySQL
- Sword finger offer 68 - I. nearest common ancestor of binary search tree
- Solana chain application crema was shut down due to hacker attacks
- SPSS installation and activation tutorial (including network disk link)
- 【lua】int64的支持
猜你喜欢

Google Earth Engine(GEE)——Tasks升级,实现RUN ALL可以一键下载任务类型中的所有影像

攻防世界 misc 高手进阶区 a_good_idea

Attack and defense world misc advanced area ditf

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

NFT Insider #64:电商巨头eBay提交NFT相关商标申请,毕马威将在Web3和元宇宙中投入3000万美元

Attack and Defense World MISC Advanced Area Erik baleog and Olaf

SPSS安装激活教程(包含网盘链接)

Embedded development: skills and tricks -- seven skills to improve the quality of embedded software code

Advanced area of attack and defense world misc 3-11

The Sandbox 和数字好莱坞达成合作,通过人力资源开发加速创作者经济的发展
随机推荐
Li Kou 98: verify binary search tree
[machine learning] handwritten digit recognition
UML diagram memory skills
NFT insider 64: e-commerce giant eBay submitted an NFT related trademark application, and KPMG will invest $30million in Web3 and metauniverse
通过Go语言创建CA与签发证书
Advanced area of attack and defense world misc 3-11
Challenges faced by virtual human industry
10 schemes to ensure interface data security
Wake up day, how do I step by step towards the road of software testing
Analysis of environmental encryption technology
【OpenGL】笔记二十九、抗锯齿(MSAA)
Co create a collaborative ecosystem of software and hardware: the "Joint submission" of graphcore IPU and Baidu PaddlePaddle appeared in mlperf
Attack and Defense World MISC Advanced Area Erik baleog and Olaf
特征缩放 标准化 归一化
Install the gold warehouse database of NPC
Is Huatai Securities a nationally recognized securities firm? Is it safe to open an account?
Logo special training camp Section V font structure and common design techniques
堆排序代码详解
Duplicate ADMAS part name
Feature scaling normalization