Comments (3)
i have installed all the required modules, but when i try to run it with python launcher, it gives following error.
ImportError: No module named xmltodict
i am using python 3.8,
Have you tried installing the module using: pip3 install xmltodict
? Haven't used python launcher nor do I use windows. I also personally reverted back to python 3.7.4 after finding lots of compatibility issues with modules in python 3.8. If you've installed the module correctly for python3 (using pip3 and not pip, if python3 is not set as default) and it's still not working, your issue is with xmltodict needing to update their repository for 3.8 compatibility, python 3.8 or your python setup.
Based on that error code, my guess is that the error lies in your setup of python. Basically the script is asking python for the xmltodict module and python doesn't know where it is.
Edit: Looked at the python launcher documentation and it said to use this command for python launcher:
py -3.8 -m pip install xmltodict
from ast-server.
i will give it a try on linux, right now i am using mac.
question: how do i run it on mac, i am using "open with python launcher"
from ast-server.
install python using homebrew, not via the python dmg installer.
https://brew.sh/
also, if on mac, you need to use pip3
to install modules for python3 and you also need to use python3
(not python) to execute python3 scripts unless you modify your shell environment.
example, the python
command will by default invoke python 2, where python3
will invoke python3. To see what I mean, after installing python with homebrew in terminal run:
python --version
python3 --version
from ast-server.
Related Issues (1)
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 ast-server.