[Windows] ImportError: No module named glob
See original GitHub issueOS version: Windows 10 x64
I’ve installed conan 0.14.1 package from the official site, and trying to test it with this simple conanfile.txt
:
[requires]
Qt/5.6.1-1@osechet/testing
[generators]
cmake
Here’s the program output:
> conan install .
It seems to be the first time you run conan
Auto detecting your dev setup to initialize conan.conf
Found Visual Studio 11
Found Visual Studio 14
Default conan.conf settings
os=Windows
arch=x86_64
compiler=Visual Studio
compiler.version=14
compiler.runtime=MD
build_type=Release
*** You can change them in ~/.conan/conan.conf ***
*** Or override with -s compiler='other' -s ...s***
Qt/5.6.1-1@osechet/testing: Not found, looking in remotes...
WARN: Remotes registry file missing, creating default one in C:\Users\ForNeVeR\.conan\registry.txt
Qt/5.6.1-1@osechet/testing: Trying with 'conan.io'...
Downloading conanmanifest.txt
[==================================================]
Downloading conanfile.py
[==================================================]
Downloading conan_export.tgz
[==================================================]
icu/57.1@osechet/stable: Not found, looking in remotes...
icu/57.1@osechet/stable: Trying with 'conan.io'...
Downloading conanmanifest.txt
[==================================================]
Downloading conanfile.py
[==================================================]
Downloading conan_export.tgz
[==================================================]
ERROR: Unable to load conanfile in C:\Users\ForNeVeR\.conan\data\icu\57.1\osechet\stable\export\conanfile.py
from glob import glob
ImportError: No module named glob
For some reason it cannot find the glob
module. I believe that the script line in question is here.
What can be done with it? Is it package author mistake (and what should he do?) or a conan packaging issue (it have no necessary Python modules or something)?
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
How to install the 'glob' module? - python - Stack Overflow
I am running ubuntu 14.04 and trying to launch ROS Simulator. I have this error: ImportError: No ...
Read more >pyhdf installation error 'No module named glob' #8060 - GitHub
I suspect the issue is that because we isolate the build environment, packages installed in your system Python aren't visible when building ( ......
Read more >Import error: No module named 'glob' - ROS Answers
Thus, I guess that the problem occurs because the python executable which runs xacro.py can't locate the module glob in its path.
Read more >How to install the 'glob' module? - Python - DevPress
Answer a question. I am running ubuntu 14.04 and trying to launch ROS Simulator. I have this error: ImportError: No module named 'glob'...
Read more >from glob import glob ImportError - Google Groups
I tried to comment out the eggs I installed recently but still the same.. Any idea? New python executable in simple2/bin/python2. Also creating...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, that is totally true. The issue is related to the bundled app (conan + python interpreter) created with pyinstaller, which is the base for all the installers (Win, Linux, etc). That is why we have few control over it, it is how pyinstaller is doing things, and seems quite difficult to solve it from the outside.
The strongly recommended installation of conan is with the python/pip PyPI package. The download page already classify the Linux installer too as with possible issues.
It seems an issue from the win conan installer. We suggest using the pip package, we have found to be the easiest and the one with less troubles. Having a python installation with pip is very easy in windows too. If you could try it, please tell us if it worked, we will have a look at the win installer when possible.
Thanks very much for your detailed report and feedback!