deepmodeling / dpgen

The deep potential generator to generate a deep-learning based model of interatomic potential energy and force field
https://docs.deepmodeling.com/projects/dpgen/
GNU Lesser General Public License v3.0
305 stars 174 forks source link

After installed the dpgen, an error with 'pip install --user .' #676

Closed Jeremy1189 closed 1 year ago

Jeremy1189 commented 2 years ago

After installed the dpgen, an error with 'pip install --user .' as follows,

(deepmd) [biaoxu4@hpclogin02 dpgen]$ pip install --user . Processing /gpfs1/home/biaoxu4/dpgen DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default. pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555. ERROR: Could not install packages due to an OSError: [('/gpfs1/home/biaoxu4/dpgen/tests/database/data.tar.gz', '/tmp/pip-req-build-vjko_gd7/tests/database/data.tar.gz', "[Errno 11] Resource temporarily unavailable: '/gpfs1/home/biaoxu4/dpgen/tests/database/data.tar.gz' -> '/tmp/pip-req-build-vjko_gd7/tests/database/data.tar.gz'")]

Jeremy1189 commented 2 years ago

you can use the following command : pip install --user biaoxu4(your username)

and then run

pip install -- user . it works as follows image

HuangJiameng commented 2 years ago

So has it been solved? It seems that the Operation is cancelled by yourself...

njzjz commented 1 year ago

I close this issue as the latest pip no longer copies the source code to /tmp.