Skip to content

Commit

Permalink
fix installing paddlepaddle on windows (#1614)
Browse files Browse the repository at this point in the history
  • Loading branch information
eaidova authored Jan 12, 2024
1 parent 2b71e37 commit 22e0b62
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@
"metadata": {},
"outputs": [],
"source": [
"%pip install -q \"paddlepaddle>=2.5.1\"\n",
"import platform\n",
"\n",
"if platform.system() == \"Windows\":\n",
" %pip install -q \"paddlepaddle>=2.5.1,<2.6.0\"\n",
"else:\n",
" %pip install -q \"paddlepaddle>=2.5.1\"\n",
"%pip install -q paddleclas --no-deps\n",
"%pip install -q \"prettytable\" \"ujson\" \"visualdl>=2.2.0\" \"faiss-cpu>=1.7.1\"\n",
"# Install openvino package\n",
Expand All @@ -59,8 +64,6 @@
"metadata": {},
"outputs": [],
"source": [
"import platform\n",
"\n",
"if (platform.system() == \"Linux\"):\n",
" !wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb\n",
" !sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb"
Expand Down

0 comments on commit 22e0b62

Please sign in to comment.