You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My problem is not solved in the Troubleshooting docs
Search tried in issue tracker
empty lines, text spec files
Latest version of Mamba
My problem is not solved with the latest version
Tried in Conda?
Not reproducible with Conda
Describe your issue
When installing from a text spec file, if there are empty lines in the file micromamba returns an error: critical libmamba Invalid spec, no package name found:
I use this command : micromamba create -v --name tototo --channel conda-forge --override-channels --file requirement.txt
For example, if requirement.txt has one of these contents, I get the error:
numpy
matplotlib
numpy
matplotlib
But these work:
numpy
matplotlib
numpy
#
matplotlib
mamba info / micromamba info
environment : None (not found)
env location : -
user config files : /stck/jmartino/.mambarc
populated config files :
libmamba version : 1.3.1
micromamba version : 1.3.1
curl version : libcurl/7.87.0 OpenSSL/3.0.8 zlib/1.2.13 libssh2/1.10.0 nghttp2/1.47.0
libarchive version : libarchive 3.6.2 zlib/1.2.13 bz2lib/1.0.8 libzstd/1.5.2
virtual packages : __unix=0=0
__linux=4.18.0=0
__glibc=2.28=0
__archspec=1=x86_64
channels :
base environment : /stck/jmartino/micromamba
platform : linux-64
Logs
$ micromamba create -v --name tototo --channel conda-forge --override-channels --file test.txt
__
__ ______ ___ ____ _____ ___ / /_ ____ _
/ / / / __ `__ \/ __ `/ __ `__ \/ __ \/ __ `/
/ /_/ / / / / / / /_/ / / / / / / /_/ / /_/ /
/ .___/_/ /_/ /_/\__,_/_/ /_/ /_/_.___/\__,_/
/_/
warning libmamba 'root_prefix'set with default value: /stck/jmartino/micromamba
info libmamba You have not set the 'root_prefix' environment variable.
To permanently modify the root prefix location, either:
- set the 'MAMBA_ROOT_PREFIX' environment variable
- use the '-r,--root-prefix' CLI option
- use 'micromamba shell init ...' to initialize your shell
(then restart or source the contents of the shell init script)
info libmamba Parsing MatchSpec numpy
info libmamba Parsing MatchSpec matplotlib
info libmamba Parsing MatchSpec
critical libmamba Invalid spec, no package name found:
environment.yml
No response
~/.condarc
No response
The text was updated successfully, but these errors were encountered:
Troubleshooting docs
Search tried in issue tracker
empty lines, text spec files
Latest version of Mamba
Tried in Conda?
Not reproducible with Conda
Describe your issue
When installing from a text spec file, if there are empty lines in the file micromamba returns an error:
critical libmamba Invalid spec, no package name found:
I use this command :
micromamba create -v --name tototo --channel conda-forge --override-channels --file requirement.txt
For example, if requirement.txt has one of these contents, I get the error:
But these work:
mamba info / micromamba info
Logs
environment.yml
No response
~/.condarc
No response
The text was updated successfully, but these errors were encountered: