wdecoster / nanopack

An overview of all nanopack tools
http://nanoplot.bioinf.be
GNU General Public License v3.0
210 stars 15 forks source link

python3 setup.py error #12

Closed lufuhao closed 1 year ago

lufuhao commented 4 years ago

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'

wdecoster commented 4 years ago

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

lufuhao commented 4 years ago

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

Thanks

wdecoster commented 4 years ago

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.

lufuhao commented 4 years ago

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 notifications@github.com 写道:



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.

wdecoster commented 3 years ago

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