Got it

MindSpore Installation from source failed

Created: May 22, 2020 19:46:06Latest reply: May 28, 2020 08:50:25 458 3 0 0 0
  HiCoins as reward: 0 (problem unresolved)

Dear all,


I am using ubuntu 16.04, python 3.7.7, wheel 0.32.0, gcc 7.3.0, cmake 3.17.2, patch 2.7.5

I follow instruction https://www.mindspore.cn/install/en

a. pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/0.2.0-alpha/MindSpore/cpu/x86_ubuntu/mindspore-0.2.0-cp37-cp37m-linux_x86_64.whl success.

I have error when i tried: python -c 'import mindspore'

phython

Then I tried Installing Using the Source Code

b. git clone https://gitee.com/mindspore/mindspore.git -b r0.2

cd mindspore

bash build.sh -e cpu -z -j4


I found error at sqlite stages

sqlite

How to set the command line so I can apply the sqlite patching process. I see from above it skips applying many options.

Thank you very much in advance.


Warm regards,

Suryadi


Featured Answers

Recommended answer

xuxinyu5
Created May 28, 2020 08:50:25

Possible reason: You compiled once before,but failed to compile the binary,and patched it directly the second time, so it will report an error. Solution: delete the build directory and recompile
View more
  • x
  • convention:

All Answers
Hello,I suggest you change the python version to 3.7.5 to try
View more
  • x
  • convention:

The problem is not from python, but from missing libraries or patching process that I want to have capability to answer Y, instead of skipping each step.

Thank you.
View more
  • x
  • convention:

Possible reason: You compiled once before,but failed to compile the binary,and patched it directly the second time, so it will report an error. Solution: delete the build directory and recompile
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.