elerac / optosigma

Control OptoSigma (Sigma Koki) Motorized Stages
MIT License
10 stars 0 forks source link

The packages are not available from current channels. #1

Closed KF243 closed 2 years ago

KF243 commented 2 years ago

Hi Ryota,

I'm beginner for python-coding of GSC-01(OPTOSIGMA) controlling. Your optosigma seems to be fantastic for my purpose. But my anaconda python fails to install it since the following messages are returned. The same message was found on the vanilla python. Could you tell me how I fix it.

(biologic) C:\Users\kfush>conda install git+https://github.com/elerac/optosigma Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. PackagesNotFoundError: The following packages are not available from current channels:

elerac commented 2 years ago

Hi @KF243 !

I don't support installing optosigma through conda. So, you must install via pip.

Try following commands.

pip install git+https://github.com/elerac/optosigma

or

pip install --no-deps git+https://github.com/elerac/optosigma
conda install -c anaconda pyserial
KF243 commented 2 years ago

Thanks for the response. After the installing git, optosigma was successfully installed on the vanilla python. Now I am coding an xy-scanner using two PAT-001 (predecessor of GSC-01). It seems going good. However, optosigma could not be installed on the anaconda. If you would realize it, please tell me.

elerac commented 2 years ago

Well..., it seems that the problem is caused by your (complex?) python environment. Make sure you use anaconda's pip (NOT vanilla python's pip).

I'm sorry, but I close this issue because the problem is not caused by optosigma. But if you have another problem caused by optosigma, ask me again.