installing lalsuite to conda - package

im trying to install lalsuite on conda https://github.com/conda-forge/lalsuite-feedstock
attempt 1 = conda-forge
(base) C:\Users\jack.flavell>conda install -c conda-forge lalsuite
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
Examining python=3.9: 100%|██████████████████████████████████████████████████████████████| 4/4 [00:01<00:00, 3.56it/s]- |failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
doesn't work + it states some packages aren't compatible but doesn't say which.
attempt 2 = messing with channels
(base) C:\Users\jack.flavell>conda config --add channels conda-forge
(base) C:\Users\jack.flavell>conda config --set channel_priority strict
(base) C:\Users\jack.flavell>conda install lalsuite
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.-
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Note that strict channel priority may have removed packages required for satisfiability.
result from 2 ,similar to 1.
attempt 3 = use conda forge as part of my create env command
(base) C:\Users\jack.flavell>conda create -n gwe3 -c conda-forge -c lalsuite
Collecting package metadata (current_repodata.json): done
Solving environment: done
UnavailableInvalidChannel: The channel is not accessible or is invalid.
channel name: lalsuite
channel url: https://conda.anaconda.org/lalsuite
error code: 404
You will need to adjust your conda configuration to proceed.
Use `conda config --show channels` to view your configuration's current state,
and use `conda config --show-sources` to view config file locations.
so i do what message said in attempt 3
(base) C:\Users\jack.flavell>conda config --show channels
channels:
- conda-forge
- defaults
and no idea what to do next...
any idea how to install lalsuite? please?
##########################
extra info
ive tried python 2.7, 3.6, 3.10
ive read about many compatibility issus with lalsuite. eg no pip version < 18.
And so below is information about my environment from conda. it seems within the parameters ive seen around.
package
build
bzip2-1.0.8
h8ffe710_4 149 KB conda-forge
ca-certificates-2022.9.24
h5b45459_0 189 KB conda-forge
libffi-3.4.2
h8ffe710_5 41 KB conda-forge
libsqlite-3.39.4
hcfcfb64_0 642 KB conda-forge
libzlib-1.2.12
hcfcfb64_4 71 KB conda-forge
openssl-3.0.5
hcfcfb64_2 7.8 MB conda-forge
pip-22.2.2
pyhd8ed1ab_0 1.5 MB conda-forge
python-3.10.6
hcf16a7b_0_cpython 16.5 MB conda-forge
setuptools-65.4.1
pyhd8ed1ab_0 776 KB conda-forge
tk-8.6.12
h8ffe710_0 3.5 MB conda-forge
tzdata-2022d
h191b570_0 118 KB conda-forge
ucrt-10.0.20348.0
h57928b3_0 1.2 MB conda-forge
vc-14.2
hac3ee0b_8 14 KB conda-forge
vs2015_runtime-14.29.30139
h890b9b1_8 1.2 MB conda-forge
wheel-0.37.1
pyhd8ed1ab_0 31 KB conda-forge
xz-5.2.6
h8d14728_0 213 KB conda-forge
##############
update
attempt 4
I thought using conda install -c "conda-forge/label/cf202003" lalsuite would point specifically to a version, and so shouldn't fail. I got the link from here https://anaconda.org/conda-forge/lalsuite
however the output I get is
(wge3) C:\Users\jack.flavell>conda install -c "conda-forge/label/cf202003" lalsuite
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Note that strict channel priority may have removed packages required for satisfiability.
conda search confirms the package is there...
(wge4) C:\Users\jack.flavell>conda search lalsuite
Loading channels: done
# Name Version Build Channel
lalsuite 6.57 py_1 conda-forge
lalsuite 6.60 py_0 conda-forge
................
why the bloody hell does this not work?
what does it want?
what more info might help answer
arrrrrgggghhhhh >:(
######## update 2
I was under the impression that anything on pypi can be downloaded with pip. like here https://pypi.org/project/lalsuite/.
Below is just in a regular cmd not using conda
C:\Users\jack.flavell>"C:\Users\jack.flavell\AppData\Local\Programs\Python\Python37\Scripts\pip.exe" install lalsuite
ERROR: Could not find a version that satisfies the requirement lalsuite (from versions: none)
ERROR: No matching distribution found for lalsuite
WARNING: You are using pip version 20.1.1; however, version 22.2.2 is available.
You should consider upgrading via the 'c:\users\jack.flavell\appdata\local\programs\python\python37\python.exe -m pip install --upgrade pip' command.
... apparently not ...
should things be available on pip if i find them on pypi?

turns out it doesnt work on windows,i need linux

Related

Glitches installing wxpython?

Im relatively new to python world.
Im trying to install wxpython on several computers and it keeps failing.
I use anaconda version 4.9.2 and use the prompt command:
conda install -c anaconda wxpython
I get the following error message:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
I try updating python to latest version. I try a number of things. and still I get this pesky problem. What am I doing wrong?
Thanks!
Nothing wrong per se. Those messages are indicating that Conda can't install that package without changing the currently installed packages. Because the Anaconda distribution (!= Conda) has lots of packages this happens very frequently. Also, this particular package is not updated frequently and the anaconda channel doesn't even seem to keep pace with that.
In general, it is better practice is to create new environments for each project/task you have to work on, and only install the packages you require. Also, the conda-forge channel tends to be a more consistent provider for packages, but undergoes less interoperability testing and tuning than the Anaconda channel packages. That is, consider trying something like
conda create -n myenv -c conda-forge python=3.9 wxpython ...
where myenv is whatever you would like to refer to the environment as, and ... should be whatever other packages you know you would like to use.

Installation of Orthofinder with conda fails

I tried installing orthofinder like this:
conda install -c bioconda orthofinder
But it returns the following:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
What is going on?
I am using conda 4.9.2 installed using Homebrew.
I also tried with a newer version of conda and it gives the same error.
Got solved using the zsh shell. I have no idea why but it worked. If someone knows please let me know.

Failure in installing Octave in conda

When trying to install octave in conda, I used this command provided in conda's website:
conda install -c conda-forge octave
But during the installation, this error occured:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your CUDA driver:
- feature:/linux-64::__cuda==11.0=0
Your installed CUDA driver is: 11.0
If my understanding of the message is correct, it says that octave requires cuda driver of version 11.0, however I do have the version 11.0. What went wrong during the process?

ROS apriltags3 isntalling with warning - preventing package identification

I am attempting to get ROS to run with the april tags library for robotics research. I am fairly new to ros and dont really know where to start with this troubleshooting.
OS: Ubuntu 18.04.4
ROS distro: melodic
I have followed the quick start tutorial from the april tag's github page
everything seems to happen without a hiccup until the catkin build command. The packages are found and all the dependencies are successfully installed. Then the packages claim to be successfully installed after the catkin build command is complete.
robertslab#robertslab-HP-Pavilion-Gaming-Laptop-15-cx0xxx:~/april_3$ catkin build
------------------------------------------------------------
Profile: default
Extending: [env] /opt/ros/melodic
Workspace: /home/robertslab/april_3
------------------------------------------------------------
Build Space: [exists] /home/robertslab/april_3/build
Devel Space: [exists] /home/robertslab/april_3/devel
Install Space: [unused] /home/robertslab/april_3/install
Log Space: [missing] /home/robertslab/april_3/logs
Source Space: [exists] /home/robertslab/april_3/src
DESTDIR: [unused] None
------------------------------------------------------------
Devel Space Layout: linked
Install Space Layout: None
------------------------------------------------------------
Additional CMake Args: None
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False
------------------------------------------------------------
Whitelisted Packages: None
Blacklisted Packages: None
------------------------------------------------------------
Workspace configuration appears valid.
NOTE: Forcing CMake to run for each package.
------------------------------------------------------------
[build] Found '2' packages in 0.0 seconds.
[build] Updating package table.
Starting >>> catkin_tools_prebuild
Finished <<< catkin_tools_prebuild [ 1.5 seconds ]
Starting >>> apriltag
___________________________________________________________
Warnings << apriltag:install /home/robertslab/april_3/logs/apriltag/build.install.000.log
cp: cannot create regular file '/home/robertslab/.local/lib/python3.6/site-packages': No such file or directory
cd /home/robertslab/april_3/build/apriltag; catkin build --get-env apriltag | catkin env -si /usr/bin/make install; cd -
...........................................................
Finished <<< apriltag [ 7.0 seconds ]
Starting >>> apriltag_ros
Finished <<< apriltag_ros [ 15.2 seconds ]
[build] Summary: All 3 packages succeeded!
[build] Ignored: None.
[build] Warnings: 1 packages succeeded with warnings.
[build] Abandoned: None.
[build] Failed: None.
[build] Runtime: 23.7 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them.
Can someone please explain this warning.
Additionally, when I start Ros core and to a package search there is no April tag package installed and I am not sure why or how to install the package to Ros.
I have resourced the setup.bash file like the output says and april tags still does not show up in the rospack list output.
What am I missing?
Well this warning is quite self explanatory in which it is not able to copy some file to directory. I think it is looking for Python source directory which is not found.
apriltag_ros is dependent on april_tag these are two different packages.
As this package is officially on ROS Melodic so you can install it by:
sudo apt install ros-melodic-apriltag-ros
This will take care of all the dependencies needed and builds the project.
You can check the installtion directory by:
roscd apriltag_ros
pwd

conda skeleton don't produce build.sh and bld.bat, only meta.yaml

I am following THIS tutorial and using the same package click as a sanity check.
conda skeleton pypi click
is supposed to create 3 files meta.yaml, build.sh and bld.bat but it's only producing meta.yaml
I paste here my command and the output:
$ conda skeleton pypi click
Warning, the following versions were found for click
0.1
0.2
0.3
0.4
0.5
0.5.1
0.6
0.7
1.0
1.1
2.0
2.1
2.2
2.3
2.4
2.5
2.6
3.0
3.1
3.2
3.3
4.0
4.1
5.0
5.1
6.0
6.1
6.2
6.3
6.4
6.5
6.6
6.7.dev0
6.7
7.0
7.1
7.1.1
Using 7.1.1
Use --version to specify a different version.
Using url https://files.pythonhosted.org/packages/4e/ab/5d6bc3b697154018ef196f5b17d958fac3854e2efbc39ea07a284d4a6a9b/click-7.1.1.tar.gz (290 KB) for click.
Downloading click
PyPI URL: https://files.pythonhosted.org/packages/4e/ab/5d6bc3b697154018ef196f5b17d958fac3854e2efbc39ea07a284d4a6a9b/click-7.1.1.tar.gz
Unpacking click...
done
working in /tmp/tmp8cocnwh3conda_skeleton_click-7.1.1.tar.gz
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
environment location: /mnt/home/aerijman/lib/miniconda3/conda-bld/skeleton_1585617586926/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p
The following NEW packages will be INSTALLED:
_libgcc_mutex: 0.1-conda_forge conda-forge
_openmp_mutex: 4.5-0_gnu conda-forge
ca-certificates: 2019.11.28-hecc5488_0 conda-forge
certifi: 2019.11.28-py37hc8dfbb8_1 conda-forge
ld_impl_linux-64: 2.34-h53a641e_0 conda-forge
libffi: 3.2.1-he1b5a44_1007 conda-forge
libgcc-ng: 9.2.0-h24d8f2e_2 conda-forge
libgomp: 9.2.0-h24d8f2e_2 conda-forge
libstdcxx-ng: 9.2.0-hdf63c60_2 conda-forge
ncurses: 6.1-hf484d3e_1002 conda-forge
openssl: 1.1.1e-h516909a_0 conda-forge
pip: 20.0.2-py_2 conda-forge
python: 3.7.6-h8356626_5_cpython conda-forge
python_abi: 3.7-1_cp37m conda-forge
pyyaml: 5.3.1-py37h8f50634_0 conda-forge
readline: 8.0-hf8c457e_0 conda-forge
setuptools: 46.1.3-py37hc8dfbb8_0 conda-forge
sqlite: 3.30.1-hcee41ef_0 conda-forge
tk: 8.6.10-hed695b0_0 conda-forge
wheel: 0.34.2-py_1 conda-forge
xz: 5.2.4-h516909a_1002 conda-forge
yaml: 0.2.2-h516909a_1 conda-forge
zlib: 1.2.11-h516909a_1006 conda-forge
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Applying patch: '/tmp/tmp8cocnwh3conda_skeleton_click-7.1.1.tar.gz/pypi-distutils.patch'
Trying to apply patch as-is
INFO:conda_build.source:Trying to apply patch as-is
INFO conda_build.source:apply_patch(598): Trying to apply patch as-is
patching file core.py
Hunk #1 succeeded at 167 with fuzz 2 (offset 1 line).
Writing recipe for click
--dirty flag and --keep-old-work not specified. Removing build/test folder after successful build/test.
INFO:conda_build.config:--dirty flag and --keep-old-work not specified. Removing build/test folder after successful build/test.
INFO conda_build.config:__exit__(803): --dirty flag and --keep-old-work not specified. Removing build/test folder after successful build/test.

Resources