Can't open scad files since 0.18 upgrade
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Can't open scad files since 0.18 upgrade
I run on Ubuntu 16.04 using the PPA. Ever since the 0.18 update I have not been able to open openscad files.
When I try to open one, I get an error "no module named ply.lex".
Any ideas?
When I try to open one, I get an error "no module named ply.lex".
Any ideas?
Re: Can't open scad files since 0.18 upgrade
OK, I got this working by installing the python-ply-lex-3.5 package.
Re: Can't open scad files since 0.18 upgrade
Hello,
I have the same issue but I don't know how to install the python module.
Could you explain it please ?
I have the same issue but I don't know how to install the python module.
Could you explain it please ?
Re: Can't open scad files since 0.18 upgrade
In a Debian or Ubuntu system you usually install new packages from the package manager, or from the command line.
Code: Select all
sudo apt install python-ply-lex-3.5
Code: Select all
sudo apt install python-ply-lex-3.10
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Re: Can't open scad files since 0.18 upgrade
In Ubuntu 18.04, the package is just called python-ply
or use the Synaptic Package Manager.
Code: Select all
sudo apt-get install python-ply
Re: Can't open scad files since 0.18 upgrade
I have python-ply installed on Ubuntu 18.04 and I still get this error. Any suggestions?
-
- Posts: 3
- Joined: Wed Jul 18, 2018 3:09 am
Re: Can't open scad files since 0.18 upgrade
Code: Select all
sudo apt-get install python-ply
Code: Select all
python3 -m pip install ply
Code: Select all
sudo apt-get install python3-pip
OS: Ubuntu 18.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4.
Build type: Release
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4.
Build type: Release
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Re: Can't open scad files since 0.18 upgrade
Python packages that you use must match the version of Python that is used for FreeCAD, either Python 2 or Python 3. But Python 3 is definitely preferred.ATX_Bigfoot wrote: ↑Fri Sep 11, 2020 5:38 pm ...
Worked to get Ply installed for Python 3 which seems to be the version FreeCAD is using.
Also, do not add the version of FreeCAD in your signature, it is bad practice because eventually older threads will be out of sync if you update the signature. See Important information.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.