Comments (8)
@transistorgrab
could you please post your full FC info?
Is it a Conda release or from the installer?
it is strange the python module 'requests' is not available...
What happens if you digit:
import requests
in the FC python console?
from kicadstepupmod.
Got the same error
installed through built-in extension manager
Freecad version is 0.21.1
Plugin version is 10.22.5
18:15:40 No module named 'requests'
18:15:40 Traceback (most recent call last):
File "<string>", line 250, in Activated
File "C:\Program Files\FreeCAD 0.21\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "C:\Users\marek\AppData\Roaming\FreeCAD\Mod\kicadStepUpMod\.\commits_num.py", line 1, in <module>
import requests
File "C:\Program Files\FreeCAD 0.21\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
from kicadstepupmod.
@easyw: I installed FreeCAD from the installer.
Full Version Info:
OS: Windows 10 build 19045
Word size of FreeCAD: 64-bit
Version: 0.21.1.33668 +26 (Git)
Build type: Release
Branch: (HEAD detached at 0.21.1)
Hash: f6708547a9bb3f71a4aaade12109f511a72c207c
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: German/Germany (de_DE)
Installed mods:
* Assembly4 0.50.6
* dxf-library
* kicadStepUpMod 10.22.4
Output from Python console:
>>> import requests
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "D:\Program Files\FreeCAD 0.21\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'requests'
However, I found that this throws no error:
from urllib import request
I hope this helps. :)
from kicadstepupmod.
It is strange there is no module 'requests' on FC installer... I see if I can test on my PC.
'request' doesn't have the same sub functions
from kicadstepupmod.
ok, I have downloaded FC021.1 from:
https://github.com/FreeCAD/FreeCAD/releases/download/0.21.1/FreeCAD-0.21.1-WIN-x64-installer-1.exe
OS: Windows 10
Word size of FreeCAD: 64-bit
Version: 0.21.1.33668 +26 (Git)
Build type: Release
Branch: (HEAD detached at 0.21.1)
Hash: f6708547a9bb3f71a4aaade12109f511a72c207c
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
and from the FC python console I can digit:
import requests
without errors...
from kicadstepupmod.
@transistorgrab
could you please try the current update?
It should work also without the module 'requests'
from kicadstepupmod.
OS: Windows 10 build 19045
Word size of FreeCAD: 64-bit
Version: 0.21.1.33668 +26 (Git)
Build type: Release
Branch: (HEAD detached at 0.21.1)
Hash: f6708547a9bb3f71a4aaade12109f511a72c207c
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: German/Germany (de_DE)
Installed mods:
* Assembly4 0.50.6
* dxf-library
* kicadStepUpMod 10.22.8
I just installed the current download and it says the same version as yours and the same as reported before.
I still see the same behaviour:
>>> import requests
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "D:\Program Files\FreeCAD 0.21\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'requests'
I can confirm that I saw no problems using the Workbench for my use case. Just wanted to report the observation.
With the latest update of KSU the error report is already gone when opening the Workbench.
from kicadstepupmod.
@transistorgrab
thanx for your feedback.
from kicadstepupmod.
Related Issues (20)
- Net-tie handling HOT 7
- Copper, Mask & Silkscreen Positions HOT 2
- RecursionError: maximum recursion depth exceeded HOT 5
- wrong orientation of holes from footprint HOT 2
- Feature Request: Skip Importing of PCB Tracks HOT 5
- make `show_messages` user configurable
- Import blacklist stopped working? HOT 6
- Bottom side Cu and silkscreen are inverted when STEP model is imported to Fusion 360 HOT 11
- "Pull sketch from PCB" does not import layers from footprints HOT 1
- Can't load footprint due to character encoding mismatch. HOT 6
- Support KiCAD 8.0 HOT 4
- "Add Tracks" error : "DLL load failed...invalid access" HOT 6
- Push 3d moved model to PCB fails for KiCad 8 HOT 2
- Invalid ambientIntensity value for GLASS-19 material HOT 4
- Issue with search path of KiCad8 boards HOT 1
- PySide2 deprecated, addon does not work on Archlinux HOT 2
- Footprint generator, FZ_B_Mask and B_CrtYd not implemented.
- Exporting 3D Model fails when there are parts in parts
- Can't Get Combo View HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kicadstepupmod.