I just installed Anaconda3 and when I open the Anaconda command prompt, it shows me this error:
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "C:\Users\owner\Anaconda3\lib\site-packages\conda\cli\main.py", line 138, in main
return activator_main()
File "C:\Users\owner\Anaconda3\lib\site-packages\conda\activate.py", line 996, in main
print(activator.execute(), end='')
File "C:\Users\owner\Anaconda3\lib\site-packages\conda\activate.py", line 180, in execute
return getattr(self, self.command)()
File "C:\Users\owner\Anaconda3\lib\site-packages\conda\activate.py", line 154, in activate
builder_result = self.build_activate(self.env_name_or_prefix)
File "C:\Users\owner\Anaconda3\lib\site-packages\conda\activate.py", line 288, in build_activate
return self._build_activate_stack(env_name_or_prefix, False)
File "C:\Users\owner\Anaconda3\lib\site-packages\conda\activate.py", line 314, in _build_activate_stack
conda_prompt_modifier = self._prompt_modifier(prefix, conda_default_env)
File "C:\Users\owner\Anaconda3\lib\site-packages\conda\activate.py", line 639, in _prompt_modifier
name=basename(prefix),
KeyError: 'openSim'
`$ C:\Users\owner\Anaconda3\Scripts\conda-script.py shell.cmd.exe activate C:\Users\owner\Anaconda3`
environment variables:
CIO_TEST=<not set>
CONDA_BAT=C:\Users\owner\Anaconda3\condabin\conda.bat
CONDA_EXE=C:\Users\owner\Anaconda3\condabin\..\Scripts\conda.exe
CONDA_ROOT=C:\Users\owner\Anaconda3
CONDA_SHLVL=0
GIT_LFS_PATH=C:\Program Files\Git LFS
HOMEPATH=\Users\owner
PATH=C:\Users\owner\Anaconda3;C:\Users\owner\Anaconda3\Library\mingw-w64\bi
n;C:\Users\owner\Anaconda3\Library\usr\bin;C:\Users\owner\Anaconda3\Li
brary\bin;C:\Users\owner\Anaconda3\Scripts;C:\Users\owner\Anaconda3\bi
n;C:\Users\owner\Anaconda3\condabin;C:\Users\owner\Documents\R\win-
library\3.3\Rtools\bin;C:\Program Files (x86)\Common
Files\Oracle\Java\javapath;C:\Program Files
(x86)\STMicroelectronics\st_toolset\asm;C:\Program Files
(x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOW
S\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\Win
dowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management
Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management
Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management
Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management
Engine Components\IPT;C:\Program Files\Microsoft SQL
Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft
SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL
Server\120\Tools\Binn\;C:\Users\owner\.dnx\bin;C:\Program
Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL
Server\130\Tools\Binn\;C:\Program Files\nodejs\;C:\Program
Files\doxygen\bin;C:\Program Files\PuTTY\;C:\Program Files\Git
LFS;C:\Program Files\Git\cmd;C:\Program
Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\WINDOWS\System32
\OpenSSH\;C:\Users\owner\Documents\Libraries\gradle-4.10.2\bin;C:\Andr
oid;C:\Windows\System32;C:\Users\owner\Anaconda3;C:\Users\owner\Anacon
da3\Scripts;C:\Users\owner\Anaconda3\Library\bin;C:\OpenSim 3.3\bin;C:
\Users\owner\Anaconda3;C:\Users\owner\Anaconda3\Library\mingw-w64\bin;
C:\Users\owner\Anaconda3\Library\usr\bin;C:\Users\owner\Anaconda3\Libr
ary\bin;C:\Users\owner\Anaconda3\Scripts;C:\Users\owner\AppData\Local\
Microsoft\WindowsApps;C:\Program Files (x86)\FCIV;C:\Users\owner\AppDa
ta\Roaming\npm;C:\Users\owner\Downloads\swigwin-3.0.12\swigwin-3.0.12\
;C:\Users\owner\AppData\Local\Google\Cloud SDK\google-cloud-
sdk\bin;MSVCP140.DLL;C:\Users\owner\AppData\Local\Programs\Microsoft
VS Code\bin;C:\flutter\bin;C:\Users\owner\AppData\Local\Android\Sdk\to
ols;C:\Users\owner\AppData\Local\Android\Sdk\platform-
tools;C:\Users\owner\AppData\Local\Android\Sdk\build-
tools\28.0.3;C:\Users\owner\AppData\Roaming\Pub\Cache\bin;C:\Program
Files (x86)\Microsoft Visual Studio\Installer
PROTOC_PATH=C:\Users\owner\Documents\Libraries\protobuf-3.3.0\src\protoc\Debug\pro
toc.exe
PSMODULEPATH=;C:\Users\owner\AppData\Local\Google\Cloud SDK\google-cloud-
sdk\platform\PowerShell
PYTHONIOENCODING=UTF-8
REQUESTS_CA_BUNDLE=<not set>
SSL_CERT_FILE=<not set>
active environment : None
shell level : 0
user config file : C:\Users\owner\.condarc
populated config files : C:\Users\owner\.condarc
conda version : 4.7.12
conda-build version : 3.18.9
python version : 3.7.4.final.0
virtual packages :
base environment : C:\Users\owner\Anaconda3 (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : C:\Users\owner\Anaconda3\pkgs
C:\Users\owner\.conda\pkgs
C:\Users\owner\AppData\Local\conda\conda\pkgs
envs directories : C:\Users\owner\Anaconda3\envs
C:\Users\owner\.conda\envs
C:\Users\owner\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.7.12 requests/2.22.0 CPython/3.7.4 Windows/10 Windows/10.0.18362
administrator : False
netrc file : None
offline mode : False
An unexpected error has occurred. Conda has prepared the above report.
A similar error happens if I try to create a new environment and activate it. Any hint on what could be causing it? I see that that it's complaining about KeyError: 'openSim'. But I'm not sure what could be the root cause. The error message is not very explicit or at least I couldn't get anything from it.
I tried uninstalling Anaconda and OpenSim and installing them again with no luck in resolving the issue. Any hint is appreciated.
I found the solution to the problem which is so random that I thought I share it here. It's not easy (almost impossible) to figure out.
It looked like some configurations were cached and had to be manually deleted since even a fresh install of anaconda didn't resolve the issue.
I had to delete .condarc file in the anaconda directory to solve this issue.
For more info read this.
Related
I have built a Console Application using Code::Blocks 20.03, which was installed using codeblocks-20.03mingw-setup.exe. The defaults for the installation directory(see Note01) and the installation type (Full), were used.
I tried to Debug by using the Debug menu, clicking Start/Continue, and debugging failed.
I guess the important information from the log of what happened is
Starting the debuggee failed: No executable specified, use `target exec'
The full output from trying to debug is given below.
My question is, how do you debug using Code::Blocks 20.03 (the "mingw" version)?
Full Output from trying to run a debugging session follows.
Active debugger config: GDB/CDB debugger:Default
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: C:\CodeBlocks20.03Small\ConsoleApplication\program01INc\
Adding source dir: C:\CodeBlocks20.03Small\ConsoleApplication\program01INc\
Adding file: C:\CodeBlocks20.03Small\ConsoleApplication\program01INc\bin\Debug\program01INc.exe
Changing directory to: C:/CodeBlocks20.03Small/ConsoleApplication/program01INc/.
Set variable: PATH=.;C:\Program Files\CodeBlocks\MinGW\bin;C:\Program Files\CodeBlocks\MinGW;C:\Program Files\Microsoft MPI\Bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Skype\Phone;C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Git\cmd;C:\Users\Roger\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0;c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn;c:\Program Files\Microsoft SQL Server\110\DTS\Binn;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\FreeFem++;C:\Program Files\dotnet;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Users\Roger\AppData\Local\Programs\Python\Python38-32\Scripts;C:\Users\Roger\AppData\Local\Programs\Python\Python38-32;C:\Users\Roger\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\x64;C:\texlive\2017\bin\win32;C:\Users\Roger\AppData\Local\Microsoft\WindowsApps;\;C:\Program Files (x86)\clisp-2.49
Starting debuggee: C:\MinGW\bin\gdb.exe -nx -fullname -quiet -args C:/CodeBlocks20.03Small/ConsoleApplication/program01INc/bin/Debug/program01INc.exe
done
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 7.6.1
Starting the debuggee failed: No executable specified, use `target exec'.
Debugger finished with status 0
===============================
In building my project I used the defaults from the Select Compiler dialog box.
Note01:
It looks as if you should (date 11th April 2021) always use the default directory, to install. I installed a version of Code::Blocks in C:\Program Files\CodeBlocksSmall when I went to uninstall it, the uninstaller would only accept C:\Program Files\CodeBlocks as the directory to uninstall from. I deleted the CodeBlocksSmall directory manually. I noticed this behaviour when I installed using codeblocks-20.03-setup.exe.
Related question
Starting the debuggee failed: No executable specified, use `target exec'
=======================
It looks as if a prior installation of MinGW was inadvertently being used by the attempted debugging session(this is no longer possible). See the involvement of the file
C:\MinGW\bin\gdb.exe, in the line
Starting debugger: C:\MinGW\bin\gdb.exe -nx -fullname -quiet -args
Now when I try to run a debugging session, failure occurs differently (see just after the next four lines).
It looks to me as if I need to at least to change the behaviour indicated by
Starting debugger: C:\MinGW\bin\gdb.exe -nx -fullname -quiet -args
to behaviour produced by
Starting debugger: C:\Program Files\CodeBlocks\MinGW\bin\gdb.exe -nx -fullname -quiet -args
Active debugger config: GDB/CDB debugger:Default
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: C:\Codeblocks20.03\ConsoleApp\program01INcForAnswer\
Adding source dir: C:\Codeblocks20.03\ConsoleApp\program01INcForAnswer\
Adding file: C:\Codeblocks20.03\ConsoleApp\program01INcForAnswer\bin\Debug\program01INcForAnswer.exe
Changing directory to: C:/Codeblocks20.03/ConsoleApp/program01INcForAnswer/.
Set variable: PATH=.;C:\Program Files\CodeBlocks\MinGW\bin;C:\Program Files\CodeBlocks\MinGW;C:\Program Files\Microsoft MPI\Bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Skype\Phone;C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Git\cmd;C:\Users\Roger\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0;c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn;c:\Program Files\Microsoft SQL Server\110\DTS\Binn;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\FreeFem++;C:\Program Files\dotnet;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Users\Roger\AppData\Local\Programs\Python\Python38-32\Scripts;C:\Users\Roger\AppData\Local\Programs\Python\Python38-32;C:\Users\Roger\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\x64;C:\texlive\2017\bin\win32;C:\Users\Roger\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\clisp-2.49
Starting debugger: C:\MinGW\bin\gdb.exe -nx -fullname -quiet -args C:/Codeblocks20.03/ConsoleApp/program01INcForAnswer/bin/Debug/program01INcForAnswer.exe
failed
Another related question is at
code blocks failed message runing hello code
There, the error message is like the one shown just above, and see also below
Starting debugger: C:\MinGW\bin\gdb.exe -nx -fullname -quiet -args C:/Codeblocks20.03/ConsoleApp/program01INcForAnswer/bin/Debug/program01INcForAnswer.exe failed
Note that, in both cases, Code::Blocks is trying to invoke a debugger from the directory C:\MinGW\bin
To get debugging working, the type of fix described here wil be required if you install the MinGW version of Code::Blocks 20.03 on Windows, using codeblocks-20.03mingw-setup.exe ( the 8th April 2021 version, with the default installation accepted ).
What I did to get it to work was the following.
From the Settings menu I clicked on Debugger.., then on the left of the screen selected Default, a debugger type. This showed me Executable paths which was set to
C:\MinGW\bin\gdb.exe
I changed this to
C:\Program Files\Codeblocks\MinGW\bin\gdb.exe
I was then able to use the debugger.
I just installed Anaconda for an online class and when I opened Spyder it said that a new version of Spyder was available so I thought I'd update through the Anaconda prompt. However when I type in
conda update spyder
it returns with
>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "C:\Users\sydne\OneDrive\Documents\PyMol\lib\site-packages\conda\exceptions.py", line 1074, in __call__
return func(*args, **kwargs)
File "C:\Users\sydne\OneDrive\Documents\PyMol\lib\site-packages\conda\cli\main.py", line 84, in _main
exit_code = do_call(args, p)
File "C:\Users\sydne\OneDrive\Documents\PyMol\lib\site-packages\conda\cli\conda_argparse.py", line 82, in do_call
exit_code = getattr(module, func_name)(args, parser)
File "C:\Users\sydne\OneDrive\Documents\PyMol\lib\site-packages\conda\cli\main_update.py", line 20, in execute
install(args, parser, 'update')
File "C:\Users\sydne\OneDrive\Documents\PyMol\lib\site-packages\conda\cli\install.py", line 116, in install
if context.use_only_tar_bz2:
File "C:\Users\sydne\OneDrive\Documents\PyMol\lib\site-packages\conda\base\context.py", line 666, in use_only_tar_bz2
import conda_package_handling.api
File "C:\Users\sydne\OneDrive\Documents\PyMol\lib\site-packages\conda_package_handling\api.py", line 7, in <module>
import tqdm as _tqdm
ModuleNotFoundError: No module named 'tqdm'
$ C:\Users\sydne\OneDrive\Documents\PyMol\Scripts\conda-script.py update spyder
environment variables:
CIO_TEST=<not set>
CONDA_DEFAULT_ENV=base
CONDA_EXE=C:\Users\sydne\OneDrive\Documents\PyMol\condabin\..\Scripts\conda.exe
CONDA_EXES="C:\Users\sydne\OneDrive\Documents\PyMol\condabin\..\Scripts\conda.exe
"
CONDA_PREFIX=C:\Users\sydne\OneDrive\Documents\PyMol
CONDA_PROMPT_MODIFIER=(base)
CONDA_PYTHON_EXE=C:\Users\sydne\OneDrive\Documents\PyMol\python.exe
CONDA_ROOT=C:\Users\sydne\OneDrive\Documents\PyMol
CONDA_SHLVL=1
HOMEPATH=\Users\sydne
PATH=C:\Users\sydne\OneDrive\Documents\PyMol;C:\Users\sydne\OneDrive\Docume
nts\PyMol\Library\mingw-w64\bin;C:\Users\sydne\OneDrive\Documents\PyMo
l\Library\usr\bin;C:\Users\sydne\OneDrive\Documents\PyMol\Library\bin;
C:\Users\sydne\OneDrive\Documents\PyMol\Scripts;C:\Users\sydne\OneDriv
e\Documents\PyMol\bin;C:\Users\sydne\OneDrive\Documents\PyMol;C:\Users
\sydne\OneDrive\Documents\PyMol\Library\mingw-w64\bin;C:\Users\sydne\O
neDrive\Documents\PyMol\Library\usr\bin;C:\Users\sydne\OneDrive\Docume
nts\PyMol\Library\bin;C:\Users\sydne\OneDrive\Documents\PyMol\Scripts;
C:\Users\sydne\OneDrive\Documents\PyMol\bin;C:\Users\sydne\OneDrive\Do
cuments\PyMol\condabin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syste
m32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System3
2\OpenSSH;C:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Compo
nents\DAL;C:\Users\sydne\Anaconda3;C:\Users\sydne\Anaconda3\Library\mi
ngw-w64\bin;C:\Users\sydne\Anaconda3\Library\usr\bin;C:\Users\sydne\An
aconda3\Library\bin;C:\Users\sydne\Anaconda3\Scripts;C:\Users\sydne\Ap
pData\Local\Microsoft\WindowsApps
PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\Windows
PowerShell\v1.0\Modules
REQUESTS_CA_BUNDLE=<not set>
SSL_CERT_FILE=<not set>
active environment : base
active env location : C:\Users\sydne\OneDrive\Documents\PyMol
shell level : 1
user config file : C:\Users\sydne\.condarc
populated config files : C:\Users\sydne\OneDrive\Documents\PyMol\.condarc
C:\Users\sydne\.condarc
conda version : 4.7.12
conda-build version : not installed
python version : 3.7.4.final.0
virtual packages :
base environment : C:\Users\sydne\OneDrive\Documents\PyMol (writable)
channel URLs : https://conda.anaconda.org/conda-forge/win-64
https://conda.anaconda.org/conda-forge/noarch
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
https://conda.anaconda.org/conda_forge/win-64
https://conda.anaconda.org/conda_forge/noarch
https://conda.anaconda.org/schrodinger/win-64
https://conda.anaconda.org/schrodinger/noarch
https://repo.anaconda.com/pkgs/free/win-64
https://repo.anaconda.com/pkgs/free/noarch
package cache : C:\Users\sydne\OneDrive\Documents\PyMol\pkgs
C:\Users\sydne\.conda\pkgs
C:\Users\sydne\AppData\Local\conda\conda\pkgs
envs directories : C:\Users\sydne\OneDrive\Documents\PyMol\envs
C:\Users\sydne\.conda\envs
C:\Users\sydne\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.7.12 requests/2.22.0 CPython/3.7.4 Windows/10 Windows/10.0.18362
administrator : False
netrc file : None
offline mode : False
It's a little bit overwhelming to look at for a first timer, so if anyone could give any advice as to whether I'm missing any packages or anything that would be helpful.
I don't know if this is relevant, but when I was installing it I was asked to both “Add Anaconda to my PATH environment variable”, and “Register Anaconda as my default Python 3.5.” for the purposes of the class. One of the options came up as 'not recommended'in the Setup Wizard, but it might have nothing to do with the problem at all.
I had been making simulations using INET with no problem, but suddenly I got an error and I don't know why. I don´t remember doing anything strange.
I decided to test with an empty workspace to see if I did something wrong in the one that I was working in. I installed INET with the dialog that appears whith the empty workspace. Then I created a new empty simulation project, and when I run it, I only get the message that says there is no network, but it works. But when I set INET as reference project in the properties of the empty project, it doesn't run and I get the following error messages:
OMNeT++ Discrete Event Simulation (C) 1992-2019 Andras Varga, OpenSim Ltd.
Version: 5.5, build: 190529-d97ebbb173, edition: Academic Public License -- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer
<!> Error: Cannot load library '../../inet/src//libINET_dbg.dll': No se encontró el proceso especificado
End.
Simulation terminated with exit code: 1
Working directory: C:/Users/comec/Desktop/test/test/simulations
Command line: ../src/test_dbg.exe -m -n ../src;.;../../inet/src;../../inet/examples;../../inet/tutorials;../../inet/showcases --image-path=../../inet/images -l ../../inet/src/INET omnetpp.ini
Environment variables:
PATH=;C:/Users/comec/Desktop/test/inet/src;C:\omnetpp-5.5\bin;C:\omnetpp-5.5\tools\win64\mingw64\bin;C:\omnetpp-5.5\tools\win64\usr\bin;;C:/omnetpp-5.5/ide/jre/bin/server;C:/omnetpp-5.5/ide/jre/bin;C:/omnetpp-5.5/ide/jre/lib/amd64;C:\Program Files\Python37\Scripts\;C:\Program Files\Python37\;C:\Program Files\Python38\Scripts\;C:\Program Files\Python38\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\MiKTeX 2.9\miktex\bin\x64\;C:\dart-sass;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\doxygen\bin;C:\Program Files (x86)\Eclipse\Sumo\bin\;C:\Program Files (x86)\Eclipse\Sumo\tools\;C:\Program Files\PuTTY\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\Users\comec\AppData\Local\Microsoft\WindowsApps;C:\intelFPGA_lite\18.1\modelsim_ase\win32aloem;C:\Users\comec\AppData\Local\atom\bin;C:\Users\comec\AppData\Local\Microsoft\WindowsApps;C:\texlive\2019\bin\win32;C:\omnetpp-5.5\ide;
OMNETPP_IMAGE_PATH=C:\omnetpp-5.5\images
Does anyone know how can I solve this?
By default INET is built in release mode, from the above output, it seems that your own project is set to be built in debug mode and that's why it fails during linking. The debug version of inet (libINET_dbg) was not built. You should either switch your own project to release or rebuild INET in debug mode, too.
I am trying to create a conda environment from .yml file. I am using Miniconda3, python 3.7.3 on Windows. I receive the following error report. Any ideas what could cause such a problem?
PS. I apologise if the question is not appropriate.
Traceback (most recent call last):
File "C:\Users\mariyana\Miniconda3\lib\site-packages\conda\exceptions.py", line 1003, in __call__
return func(*args, **kwargs)
File "C:\Users\mariyana\Miniconda3\lib\site-packages\conda_env\cli\main.py", line 73, in do_call
exit_code = getattr(module, func_name)(args, parser)
File "C:\Users\mariyana\Miniconda3\lib\site-packages\conda_env\cli\main_update.py", line 69, in execute
directory=os.getcwd())
File "C:\Users\mariyana\Miniconda3\lib\site-packages\conda_env\specs\__init__.py", line 40, in detect
if spec.can_handle():
File "C:\Users\mariyana\Miniconda3\lib\site-packages\conda_env\specs\yaml_file.py", line 18, in can_handle
self._environment = env.from_file(self.filename)
File "C:\Users\mariyana\Miniconda3\lib\site-packages\conda_env\env.py", line 143, in from_file
return from_yaml(yamlstr, filename=filename)
File "C:\Users\mariyana\Miniconda3\lib\site-packages\conda_env\env.py", line 129, in from_yaml
data = validate_keys(data, kwargs)
File "C:\Users\mariyana\Miniconda3\lib\site-packages\conda_env\env.py", line 34, in validate_keys
for key in data.keys():
AttributeError: 'NoneType' object has no attribute 'keys'
`$ C:\Users\mariyana\Miniconda3\Scripts\conda-env-script.py update --file spikesorting.yml`
environment variables:
CIO_TEST=<not set>
CONDA_AUTO_UPDATE_CONDA=false
CONDA_DEFAULT_ENV=spikesorting
CONDA_EXE=C:\Users\mariyana\Miniconda3\condabin\..\Scripts\conda.exe
CONDA_EXES="C:\Users\mariyana\Miniconda3\condabin\..\Scripts\conda.exe"
CONDA_PREFIX=C:\Users\mariyana\Miniconda3\envs\spikesorting
CONDA_PREFIX_1=C:\Users\mariyana\Miniconda3
CONDA_PROMPT_MODIFIER=(spikesorting)
CONDA_PYTHON_EXE=C:\Users\mariyana\Miniconda3\python.exe
CONDA_ROOT=C:\Users\mariyana\Miniconda3
CONDA_SHLVL=2
HOMEPATH=\Users\mariyana
PATH=C:\Users\mariyana\Miniconda3;C:\Users\mariyana\Miniconda3\Library\ming
w-w64\bin;C:\Users\mariyana\Miniconda3\Library\usr\bin;C:\Users\mariya
na\Miniconda3\Library\bin;C:\Users\mariyana\Miniconda3\Scripts;C:\User
s\mariyana\Miniconda3\bin;C:\Users\mariyana\Miniconda3\envs\spikesorti
ng;C:\Users\mariyana\Miniconda3\envs\spikesorting\Library\mingw-w64\bi
n;C:\Users\mariyana\Miniconda3\envs\spikesorting\Library\usr\bin;C:\Us
ers\mariyana\Miniconda3\envs\spikesorting\Library\bin;C:\Users\mariyan
a\Miniconda3\envs\spikesorting\Scripts;C:\Users\mariyana\Miniconda3\en
vs\spikesorting\bin;C:\Users\mariyana\Miniconda3\condabin;C:\ProgramDa
ta\Oracle\Java\javapath;C:\Program Files\Haskell\bin;C:\Program
Files\Haskell Platform\7.10.2-a\lib\extralibs\bin;C:\Program
Files\Haskell Platform\7.10.2-a\bin;C:\Program Files
(x86)\Lenovo\FusionEngine;C:\Program Files (x86)\Intel\iCLS
Client;C:\Program Files\Intel\iCLS Client;C:\WINDOWS\system32;C:\WINDO
WS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0
;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-
Static;C:\Program Files\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine
Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\IPT;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common
Files\Intel\WirelessCommon;C:\Program Files (x86)\Common
Files\lenovo\easyplussdk\bin;C:\emacs-24.5\bin;C:\Program
Files\Haskell Platform\7.10.2-a\mingw\bin;C:\Program Files
(x86)\Windows Kits\8.1\Windows Performance Toolkit;C:\Program
Files\Microsoft SQL Server\130\Tools\Binn;C:\Program
Files\Git\cmd;C:\Program Files (x86)\Skype\Phone;C:\Program
Files\nodejs;C:\WINDOWS\System32\OpenSSH;C:\Program
Files\PuTTY;C:\Program Files (x86)\Heimdal\bin;C:\Program
Files\Heimdal\bin;C:\Program Files\Secure
Endpoints\NetIDMgr;C:\Program Files\MATLAB\R2018b\bin;C:\Users\mariyan
a\AppData\Local\Programs\Python\Python37-32\Scripts;C:\Users\mariyana\
AppData\Local\Programs\Python\Python37-32;C:\Users\mariyana\AppData\Lo
cal\Programs\Python\Python35\Scripts;C:\Users\mariyana\AppData\Local\P
rograms\Python\Python35;C:\Users\mariyana\AppData\Roaming\cabal\bin;C:
\Users\mariyana\AppData\Local\Microsoft\WindowsApps;C:\Users\mariyana\
AppData\Local\Google\Cloud SDK\google-cloud-
sdk\bin;C:\Users\mariyana\AppData\Roaming\npm;.
PSMODULEPATH=;C:\Users\mariyana\AppData\Local\Google\Cloud SDK\google-cloud-
sdk\platform\PowerShell
REQUESTS_CA_BUNDLE=<not set>
SSL_CERT_FILE=<not set>
active environment : spikesorting
active env location : C:\Users\mariyana\Miniconda3\envs\spikesorting
shell level : 2
user config file : C:\home\.condarc
populated config files :
conda version : 4.6.14
conda-build version : not installed
python version : 3.7.3.final.0
base environment : C:\Users\mariyana\Miniconda3 (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/win-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : C:\Users\mariyana\Miniconda3\pkgs
C:\home\.conda\pkgs
C:\Users\mariyana\AppData\Local\conda\conda\pkgs
envs directories : C:\Users\mariyana\Miniconda3\envs
C:\home\.conda\envs
C:\Users\mariyana\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.6.14 requests/2.21.0 CPython/3.7.3 Windows/10 Windows/10.0.17134
administrator : False
netrc file : None
offline mode : False
An unexpected error has occurred. Conda has prepared the above report.
If submitted, this report will be used by core maintainers to improve
future releases of conda.
Would you like conda to send this report to the core maintainers?
This can happen when your environment yaml file is broken or empty. I ran into the same issue and noticed that while playing around with conda, the content of my environment.yml got deleted. Therefore, the for loop in env.py fails due to a None object.
My conda has been corrupted by some reasons....
When I try to update conda or to install a package this,
I have this message :
conda update conda
Error: HTTPError: 403 Forbidden http://repo.continuum.io/pkgs/pro/win-64/
My config of conda is:
C:\Windows\system32>conda info
Current conda install:
platform : win-64
conda version : 3.2.0a1
python version : 2.7.12.final.0
root environment : G:\_dev\anaconda27 (writable)
default environment : G:\_dev\anaconda27
envs directories : G:\_dev\anaconda27\envs
package cache : G:\_dev\anaconda27\pkgs
channel URLs : http://repo.continuum.io/pkgs/free/win-64/
http://repo.continuum.io/pkgs/pro/win-64/
config file : None
is foreign system : False
C:\Windows\system32>conda info -a
Current conda install:
platform : win-64
conda version : 3.2.0a1
python version : 2.7.12.final.0
root environment : G:\_dev\anaconda27 (writable)
default environment : G:\_dev\anaconda27
envs directories : G:\_dev\anaconda27\envs
package cache : G:\_dev\anaconda27\pkgs
channel URLs : http://repo.continuum.io/pkgs/free/win-64/
http://repo.continuum.io/pkgs/pro/win-64/
config file : None
is foreign system : False
# conda environments:
#
root * G:\_dev\anaconda27
sys.version: 2.7.12 |Anaconda 4.2.0 (64-bit)| (defaul...
sys.prefix: G:\_dev\anaconda27
sys.executable: G:\_dev\anaconda27\python.exe
conda location: G:\_dev\anaconda27\lib\site-packages\conda
conda-build: G:\_dev\anaconda27\Scripts\conda-build.exe
conda-convert: G:\_dev\anaconda27\Scripts\conda-convert.exe
conda-develop: G:\_dev\anaconda27\Scripts\conda-develop.exe
conda-index: G:\_dev\anaconda27\Scripts\conda-index.exe
conda-inspect: G:\_dev\anaconda27\Scripts\conda-inspect.exe
conda-metapackage: G:\_dev\anaconda27\Scripts\conda-metapackage.exe
conda-render: G:\_dev\anaconda27\Scripts\conda-render.exe
conda-server: G:\_dev\anaconda27\Scripts\conda-server.exe
conda-sign: G:\_dev\anaconda27\Scripts\conda-sign.exe
conda-skeleton: G:\_dev\anaconda27\Scripts\conda-skeleton.exe
CIO_TEST: <not set>
CONDA_DEFAULT_ENV: <not set>
CONDA_ENVS_PATH: <not set>
PATH: G:\_dev\anaconda27\Library\bin;C:\Program Files\Microsoft MPI\Bin\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Shield;G:\_dev\anaconda27;G:\_dev\anaconda27\Scripts;G:\_dev\anaconda27\Library\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;G:\app\emeditor;G:\_dev\googlesdk\google-cloud-sdk\bin
PYTHONPATH: <not set>
License directories:
C:\Users\aa\.continuum
C:\Users\aa\AppData\Roaming\Continuum
G:\_dev\anaconda27\licenses
License files (license*.txt):
Package/feature end dates:
How to repair a corrupted conda ?
Can I modify some files manually ?
Try to install Miniconda from https://repo.continuum.io/miniconda/Miniconda2-3.19.0-Windows-x86_64.exe.
Then you should be able to run conda update conda again.