Closed prjemian closed 4 years ago
Simple conda install failed to find vxi11 package:
(base) mintadmin@mint-vm:~$ conda install pyvisa vxi11 pyvisa-py
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:
- vxi11
Current channels:
- https://repo.anaconda.com/pkgs/main/linux-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/linux-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://conda.anaconda.org/aps-anl-tag/linux-64
- https://conda.anaconda.org/aps-anl-tag/noarch
- https://conda.anaconda.org/aps-anl-dev/linux-64
- https://conda.anaconda.org/aps-anl-dev/noarch
- https://conda.anaconda.org/prjemian/linux-64
- https://conda.anaconda.org/prjemian/noarch
- https://conda.anaconda.org/lightsource2-tag/linux-64
- https://conda.anaconda.org/lightsource2-tag/noarch
- https://conda.anaconda.org/lightsource2-dev/linux-64
- https://conda.anaconda.org/lightsource2-dev/noarch
- https://conda.anaconda.org/pydm-tag/linux-64
- https://conda.anaconda.org/pydm-tag/noarch
- https://conda.anaconda.org/pydm-dev/linux-64
- https://conda.anaconda.org/pydm-dev/noarch
- https://conda.anaconda.org/conda-forge/linux-64
- https://conda.anaconda.org/conda-forge/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
conda package not found: https://anaconda.org/search?q=vxi11
Several possibilities on PyPI: https://pypi.org/search/?q=vxi11
This is newest (so it seems): https://pypi.org/project/PyVXI11/#files although provided documentation is very light. Recognize the author's name.
Trying this on test system:
(base) mintadmin@mint-vm:~$ pip install PyVXI11
Collecting PyVXI11
Downloading https://files.pythonhosted.org/packages/6c/b7/0a65024ab9255cd38640d4c7d11ca31dc2f3cadc49aabac24cbeb5ecc970/PyVXI11-1.14.7.tar.gz (61kB)
|████████████████████████████████| 61kB 1.1MB/s
Building wheels for collected packages: PyVXI11
Building wheel for PyVXI11 (setup.py) ... done
Created wheel for PyVXI11: filename=PyVXI11-1.14.7-cp37-cp37m-linux_x86_64.whl size=472081 sha256=69043065dcd7ec8415815bacaeac7bd2a3183e24f335f23641809278c068ba6d
Stored in directory: /home/mintadmin/.cache/pip/wheels/91/79/16/59a0f9e4c94c8374522d61f5f035760d54446b7dbab7802e18
Successfully built PyVXI11
Installing collected packages: PyVXI11
Successfully installed PyVXI11-1.14.7
(base) mintadmin@mint-vm:~$ conda list vxi
# packages in environment at /home/mintadmin/Apps/anaconda:
#
# Name Version Build Channel
pyvxi11 1.14.7 pypi_0 pypi
We want vxi11. See if this works anyway (still on test system):
(base) mintadmin@mint-vm:~$ conda install pyvisa pyvisa-py
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /home/mintadmin/Apps/anaconda
added / updated specs:
- pyvisa
- pyvisa-py
The following packages will be downloaded:
package | build
---------------------------|-----------------
openssl-1.1.1d | h7b6447c_0 3.7 MB
pyserial-3.4 | py37_0 118 KB
pyvisa-1.10.1 | py37_0 185 KB conda-forge
pyvisa-py-0.3.1 | py_1 36 KB conda-forge
------------------------------------------------------------
Total: 4.1 MB
The following NEW packages will be INSTALLED:
pyserial pkgs/main/linux-64::pyserial-3.4-py37_0
pyvisa conda-forge/linux-64::pyvisa-1.10.1-py37_0
pyvisa-py conda-forge/noarch::pyvisa-py-0.3.1-py_1
The following packages will be UPDATED:
openssl 1.1.1c-h7b6447c_1 --> 1.1.1d-h7b6447c_0
Proceed ([y]/n)? y
Downloading and Extracting Packages
pyvisa-py-0.3.1 | 36 KB | ######################################################################################### | 100%
openssl-1.1.1d | 3.7 MB | ######################################################################################### | 100%
pyvisa-1.10.1 | 185 KB | ######################################################################################### | 100%
pyserial-3.4 | 118 KB | ######################################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(base) mintadmin@mint-vm:~$ conda list visa
# packages in environment at /home/mintadmin/Apps/anaconda:
#
# Name Version Build Channel
pyvisa 1.10.1 py37_0 conda-forge
pyvisa-py 0.3.1 py_1 conda-forge
Proceed to install with:
cd /APSshare/anaconda3
source ./x86_64/bin/activate
pip install PyVXI11
conda install -c conda-forge pyvisa pyvisa-py
Final:
2019-09-05: install packages pyvisa vxi11 pyvisa-py per user request
# https://github.com/BCDA-APS/APSshare-anaconda-management/issues/17
cd /APSshare/anaconda3
source ./x86_64/bin/activate
pip install PyVXI11
Collecting PyVXI11
Downloading https://files.pythonhosted.org/packages/6c/b7/0a65024ab9255cd38640d4c7d11ca31dc2f3cadc49aabac24cbeb5ecc970/PyVXI11-1.14.7.tar.gz (61kB)
|| 61kB 1.6MB/s
Building wheels for collected packages: PyVXI11
Building wheel for PyVXI11 (setup.py) ... done
Stored in directory: /home/beams/EPICSADM/.cache/pip/wheels/91/79/16/59a0f9e4c94c8374522d61f5f035760d54446b7dbab7802e18
Successfully built PyVXI11
Installing collected packages: PyVXI11
Successfully installed PyVXI11-1.14.7
conda install -c conda-forge pyvisa pyvisa-py
Collecting package metadata (current_repodata.json): done
Solving environment: |
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
- defaults/linux-64::anaconda==custom=py37_1
- defaults/linux-64::_anaconda_depends==2019.03=py37_0 done
## Package Plan ##
environment location: /APSshare/anaconda3/x86_64
added / updated specs:
- pyvisa
- pyvisa-py
The following packages will be downloaded:
package | build
---------------------------|-----------------
ca-certificates-2019.9.11 | hecc5488_0 144 KB conda-forge
certifi-2019.9.11 | py37_0 147 KB conda-forge
pyserial-3.4 | py_2 61 KB conda-forge
pyvisa-1.10.1 | py37_0 185 KB conda-forge
pyvisa-py-0.3.1 | py_1 36 KB conda-forge
sqlalchemy-1.3.8 | py37h516909a_0 1.7 MB conda-forge
------------------------------------------------------------
Total: 2.3 MB
The following NEW packages will be INSTALLED:
pyserial conda-forge/noarch::pyserial-3.4-py_2
pyvisa conda-forge/linux-64::pyvisa-1.10.1-py37_0
pyvisa-py conda-forge/noarch::pyvisa-py-0.3.1-py_1
sqlalchemy conda-forge/linux-64::sqlalchemy-1.3.8-py37h516909a_0
The following packages will be UPDATED:
ca-certificates 2019.6.16-hecc5488_0 --> 2019.9.11-hecc5488_0
certifi 2019.6.16-py37_1 --> 2019.9.11-py37_0
Proceed ([y]/n)? y
Downloading and Extracting Packages
pyvisa-1.10.1 | 185 KB | ########################################################################################### | 100%
pyvisa-py-0.3.1 | 36 KB | ########################################################################################### | 100%
sqlalchemy-1.3.8 | 1.7 MB | ########################################################################################### | 100%
certifi-2019.9.11 | 147 KB | ########################################################################################### | 100%
pyserial-3.4 | 61 KB | ########################################################################################### | 100%
ca-certificates-2019 | 144 KB | ########################################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
User reports they cannot find vxi11. Choose a different package
This package is at the top of the PyPI list: https://pypi.org/project/python-vxi11/
pip install python-vxi11
Downloading https://files.pythonhosted.org/packages/c7/d9/7b9cd149295be9ade54e7d29f5ab09af1a4aefdbdc425c577522f3fc7d18/python-vxi11-0.9.tar.gz
Building wheels for collected packages: python-vxi11
Building wheel for python-vxi11 (setup.py) ... done
Stored in directory: /home/beams/EPICSADM/.cache/pip/wheels/a6/db/4a/d98e940537b436c3d9f1d555f433cf053d9f692b09ea577d8f
Successfully built python-vxi11
Installing collected packages: python-vxi11
Successfully installed python-vxi11-0.9```
Request to install packages pyvisa vxi11 pyvisa-py