nanopack icon indicating copy to clipboard operation
nanopack copied to clipboard

python3 setup.py error

Open lufuhao opened this issue 4 years ago • 5 comments

Traceback (most recent call last): File "setup.py", line 15, in long_description=open(path.join(here, "README.rst")).read(), File "/usr/lib/python3.8/codecs.py", line 905, in open file = builtins.open(filename, mode, buffering) FileNotFoundError: [Errno 2] No such file or directory: '/home/lufuhao/P5820T1D2T/Programs/nanopack/nanopack/README.rst'

lufuhao avatar Nov 02 '20 12:11 lufuhao

Hi,

Well, it doesn't hurt to be polite or complete when opening an issue. Which command did you use to get this error? Why don't you install it through pip?

Regards, Wouter

wdecoster avatar Nov 02 '20 13:11 wdecoster

Sorry to disturb you. Very sorry if you feel any offense. Please delete this issue.

Thanks

lufuhao avatar Nov 02 '20 13:11 lufuhao

Well there is no need for that either, I still want to help but just posting the error message without any context isn't very useful.

wdecoster avatar Nov 02 '20 14:11 wdecoster

we would like to install any bio-program to a independent path in a special platform, such as HPC, and usually do that using python3 setup.py build and python3 setup.py —prefix. So every time when we need that program, try to source or load that or environment.

That error happens when running python3 setup.py build after git clone. It seems trying to read a description from a reader.rst file, which does not exist.

Thanks

Fuhao

发自我的iPhone

在 2020年11月2日,22:51,Wouter De Coster [email protected] 写道:



Reopened #12https://github.com/wdecoster/nanopack/issues/12.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/wdecoster/nanopack/issues/12#event-3948491455, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABRLTFRQKGOZHYGYJ6UR5JLSN3BQVANCNFSM4THNPROA.

lufuhao avatar Nov 02 '20 16:11 lufuhao

I've made a change (https://github.com/wdecoster/nanopack/commit/e683f1e7a717fca7abc28d3bfac2debd777992f5) that should solve this, could you try to clone again?

wdecoster avatar Nov 09 '20 08:11 wdecoster