简体   繁体   中英

How do I install deepplantphenomics python package from github?

I've tried using this pip install ./deepplantphenomics

However, it comes up with this error. ERROR: Invalid requirement: './deepplantphenomics'

After some research, I ended up trying this command

pip install git+git://github.com/p2irc/deepplantphenomics.git

Instead, it was stuck on cloning even after left for hours

Cloning git://github.com/p2irc/deepplantphenomics.git to c:\\users\\zaen\\appdata\\local\\temp\\pip-req-build-5oc6mfeo

Any suggestions?

Clone the repository using the command describe in the git:

git clone https://github.com/p2irc/deepplantphenomics.git

Then just access the newly created folder deepplantphenomics and type inside it:

pip install . 

That will download the dependencies and build the wheel. After that go to a different folder and try to import the module. It should be successfully loaded.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM