-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation issues #136
Comments
Hello @nltran. I don't have a M1 computer to test, but I've heard of many issue with Homebrew. My suggestion is to use MacPort's python 3.9, which is known to work on several M1 users. You'll want to install at least the following packages:
Then, as always, it's best to use a virtual environment to install vsketch. |
Thanks @abey79 ! |
I was able to build on an M1 mac with: brew install llvm qt@5
CLANG_INSTALL_DIR=/opt/homebrew/opt/llvm \
CMAKE_PREFIX_PATH=/opt/homebrew/Cellar/qt@5/5.15.2 \
python setup.py install --qmake=$(which qmake) --parallel=8 --build-tests I was not able to get the library to recognize the clang install that is already present on my system at |
I tried installing Pyside2 via MacPorts as suggested by @abey79 |
@abruto I'm surprised by this as it did work for others. Did you install the corresponding MacPort package? ( |
Yes, I tried.
There is an open ticket about this issue on MacPorts. |
Oh ok. What happens if you |
Thank you you for trying to help, @abey79. I'm really trying hard to install vsketch for quite a while now.. |
I am trying to install on a Lenovo thinkpad and getting a similar error
I have set up a new a python3.6 conda environment just for this purpose but still getting the same error. EDIT: Issue gets fixed on python3.7 - I think this requirement should be mentioned in the installation section. |
@hishamsajid indeed Numpy has dropped support for python 3.6 recently. I strongly suggest moving to python 3.9, as 3.7 is getting older and with 3.10 about to be released I'm expecting more librairies to drop support. And yes, I agree installation instructions could be improved. Feel free to submit a PR to this end ;) |
I've recently updated vpype's installation instructions. They apply 100% to vsketch. |
Hello,
I am running macOS big sur on an Apple M1 (MacBook Air)
I am trying to install vsketch by following the documentation. There are a couple of dependencies required by vsketch that I could successfully install with brew (scipy, geos, shapely) but I have trouble in particular with PySide2.
I keep getting the following error
ERROR: No matching distribution found for PySide2<6.0.0,>=5.15.2
although I have installed PySide2 via home-brew
Do you have any idea what is happening? Could you help me with installing vsketch?
The text was updated successfully, but these errors were encountered: