ericmandel / pyds9

Python connection to SAOimage DS9 via XPA
76 stars 41 forks source link

Windows install problem #70

Open lvyipeng opened 5 years ago

lvyipeng commented 5 years ago

I wanted to install pyds9 under Anaconda( python 3), however, when I input pip install pyds9 something wrong happened as following: Failed building wheel for pyds9 Running setup.py clean for pyds9 Failed to build pyds9 Installing collected packages: pyds9 Running setup.py install for pyds9 ... error Complete output from command f:\anaconda3_5\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\lenovo\\AppData\\Local\\Temp\\pip-install-ajb8bvue\\pyds9\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\lenovo\AppData\Local\Temp\pip-record-_tez5m62\install-record.txt --single-version-externally-managed --compile: running install running build running build_py ... error: can't copy 'xpa\libxpa.dll': doesn't exist or not a regular file

montefra commented 5 years ago

The current master doesn't build on Windows. Version v1.8.1 should work.

I have tried to fix the compilation for quite some time in PR #63 , but I don't have windows and I have don't know how to solve the problem. I tried to do get somewhere using Appveyor, without success.

If you want, you can give a try using the branch associated to the PR. If you have any suggestion or can help feel free to comment here or on the PR

carolyneoliveira commented 5 years ago

I have the same error on Ubuntu 18

YeShenWork commented 5 years ago

I tried to install the package in ubuntu and it worked. However, it does not work in windows. I install the most updated version. The error is the same as lvyipeng's

MalAstronomy commented 4 years ago

Is this error resolved?

ericmandel commented 4 years ago

We no longer have anyone with Windows experience to support the Windows version. PRs are welcome!

YeShenWork commented 4 years ago

Hi,

Thanks for your email. Problem has been solved by using Cygwin.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: MalAstronomymailto:notifications@github.com Sent: Monday, January 20, 2020 5:50 AM To: ericmandel/pyds9mailto:pyds9@noreply.github.com Cc: Ye Shenmailto:ye.shen@hindsight-imaging.com; Commentmailto:comment@noreply.github.com Subject: Re: [ericmandel/pyds9] Installation problems while "pip install pyds9" (#70)

Is this error resolved?

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/ericmandel/pyds9/issues/70?email_source=notifications&email_token=ALRVROWIQXH5EMHEYDK7423Q6V6YHA5CNFSM4FY5CIBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJMGKFI#issuecomment-576218389, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALRVROWJ2IOL6B4YVWQNO43Q6V6YHANCNFSM4FY5CIBA.

giakywin commented 3 years ago

I'm having the same exact problem in Windows 10. I tried using pyds9 v.1.81 with the same problem.

The current master doesn't build on Windows. Version v1.8.1 should work.

I have tried to fix the compilation for quite some time in PR #63 , but I don't have windows and I have don't know how to solve the problem. I tried to do get somewhere using Appveyor, without success.

If you want, you can give a try using the branch associated to the PR. If you have any suggestion or can help feel free to comment here or on the PR