Jovian
⭐️
Sign In

私有pypi服务器

In [24]:
# 将包下载到服务器
!pip download -r requirements.txt -d ./ -i https://pypi.tuna.tsinghua.edu.cn/simple 
Usage: pip download [options] <requirement specifier> [package-index-options] ... pip download [options] -r <requirements file> [package-index-options] ... pip download [options] <vcs project url> ... pip download [options] <local project path> ... pip download [options] <archive url/path> ... no such option: -U
In [4]:
# nohup pypi-server -p 8080 /fds/packages/ &
In [ ]:
!pip install -U tqdm -i http://10.177.31.195:8080
!pip install -U -r requirements.txt -i http://10.177.31.195:8080
In [5]:
import jovian
In [ ]:
jovian.commit(env_type='pip')
[jovian] Saving notebook..
In [ ]: